Skip to content

CI를 돌릴때 캐싱이 제대로 적용되지 않는 이슈 #348

@KimKyuHoi

Description

@KimKyuHoi

🪲 Bug report

Summary

  • Git Action내에서 CI를 돌릴때 처음 캐싱을 제대로 받아오지 못하는 이슈가 있습니다.
  • 최근 파일 정리차 쌓여있던 캐시를 삭제하였습니다.

Expected behavior

  • 현재 PR내에서 CI가 중복적으로 돌아갈때는 캐싱키를 인식하지만 처음 PR을 했을때 CI가 돌아갈때 캐싱키를 제대로 인식하지 못하고 있습니다.

lint-test (lint)Cache not found for keys: node-cache-Linux-x64-pnpm-dbe7a3b3f989d72ef0d3e100441114fb8e9f358ad7d0888130f728c309dcae6f
--
lint-test (test)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
lint-test (test)
Cache not found for keys: node-cache-Linux-x64-pnpm-dbe7a3b3f989d72ef0d3e100441114fb8e9f358ad7d0888130f728c309dcae6f
build
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
build
Cache not found for keys: node-cache-Linux-x64-pnpm-dbe7a3b3f989d72ef0d3e100441114fb8e9f358ad7d0888130f728c309dcae6f

Actual behavior

Steps to reproduce the problem

  • 맨처음 코드가 바뀌고 CI를 실행할때 이슈발생

Environment

  • Version: 2vCPU 7GB RAM 14GB SSD

Possible fix

  • turbo키를 sha를 제외해서 최신 키 가져옴
  • turbo 캐싱키를 저장할때 날짜를 지정함.

Metadata

Metadata

Assignees

Labels

♻️ Refactor코드 리팩토링마일스톤 내에는 해야하지만 스프린트내에 미뤄도 되는 것들🔧 Build쓸모없는 주석 제거 및 필요 없는 코드 제거🖥️ FE프론트엔드🚀 Deploy배포 관련 사항 및 이슈

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions