fix(ci): remove restore-keys from cache to always use latest lockfile - #15
Conversation
📝 WalkthroughWalkthroughThe PR updates the CI workflow cache steps: it removes Sequence Diagram(s)sequenceDiagram
participant Actions as GitHub Actions
participant Cache as Actions Cache
participant Job as CI Job
Note over Actions,Job #F0F8FF: CI workflow starts
Actions->>Cache: request cache(key: "venv-v2-<env>-<hash>")
alt cache hit
Cache-->>Actions: return cache archive
Actions->>Job: restore dependencies from cache
else cache miss
Cache-->>Actions: no fallback (no restore-keys)
Actions->>Job: install dependencies (resolve from lockfile)
end
Job->>Actions: run job steps (lint/test/mypy)
Job->>Cache: save cache(key: "venv-v2-<env>-<hash>")
Note over Actions,Cache #F0FFF0: hash uses hashFiles('poetry.lock')
Pre-merge checks❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: ASSERTIVE Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (13)
🔇 Additional comments (4)
Warning Tools execution failed with the following error: Failed to run tools: 14 UNAVAILABLE: read ECONNRESET Comment |
|
📦 Python package built successfully!
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #15 +/- ##
=======================================
Coverage 76.60% 76.60%
=======================================
Files 99 99
Lines 5476 5476
Branches 748 748
=======================================
Hits 4195 4195
Misses 1281 1281 ☔ View full report in Codecov by Sentry. |
|
🚀 Review App Deployment Started
|
Summary by CodeRabbit