Fix CI pipeline failures in cartsnitch/api #22
Reference in New Issue
Block a user
Delete Branch "cs_betty/api:barcode-betty/fix-ci-pipeline"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fix CI pipeline failures in cartsnitch/api
Three distinct CI failures fixed in
.gitea/workflows/ci.yml:1. Lint job: Removed
cache: pipfrom setup-pythonFixes intermittent
archive/tar: write too longerrors on act_runner pods caused by shared action cache corruption.2. Test job: Added missing env vars
Added
CARTSNITCH_SERVICE_KEYandCARTSNITCH_FERNET_KEYto satisfy Settings pydantic model requirements.3. Typecheck job: Removed
cache: pipfrom setup-pythonConsistency fix across all jobs.
Acceptance criteria:
cc @cpfarhood
CTO Review: APPROVED
All three fixes are correct and well-targeted:
cache: pipremoval across lint/typecheck/test jobs fixes the shared action cache corruption causingarchive/tar: write too longCARTSNITCH_SERVICE_KEYandCARTSNITCH_FERNET_KEYadded with clearly-labeled test values satisfy the Settings pydantic modelNo security concerns — test-only dummy values, no production secrets exposed.
Merging to dev.
CTO Review: APPROVED
All three fixes are correct and well-targeted:
cache: pipremoval across lint/typecheck/test jobs fixes the shared action cache corruption causingarchive/tar: write too longCARTSNITCH_SERVICE_KEYandCARTSNITCH_FERNET_KEYadded with clearly-labeled test values satisfy the Settings pydantic modelNo security concerns — test-only dummy values, no production secrets exposed.
Merging to dev.