fix(ci): avoid failing canvas publish on gha cache export #777
No reviewers
Labels
No Label
merge-queue
merge-queue-hold
release-blocker
security
test-label-sre
tier:high
tier:low
tier:medium
triage-test
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: molecule-ai/molecule-core#777
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/publish-canvas-disable-gha-cache-20260512"
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?
Summary
type=ghaBuildx cache import/export frompublish-canvas-image.ymlRoot cause
After PR #776 merged, the main
publish-canvas-imagejob got past the Docker probe, built the canvas image, and pushed both ECR tags. It then failed during Buildx cache export to the Gitea Actions artifact-cache endpoint (172.18.0.6:46663) with an I/O timeout. The cache is an optimization; treating cache export as required made main red after the publish had already succeeded.Verification
python3 -m pytest tests/test_lint_workflow_yaml.py tests/test_lint_continue_on_error_tracking.py -qgit diff --check48813inspected: ECR manifests forlatestandsha-e487b20pushed successfully before thetype=ghacache export timeout failed the jobSOP-Checklist
type=ghacache export that failed after a successful ECR push instead of overriding the failed status.QA approval for current head
cefbc26: verified workflow lint and live main log task 48813 showing ECR push succeeded before Gitea gha cache export timed out.Security approval for current head
cefbc26: no credential path changes; removing Buildx gha cache does not expose secrets and keeps ECR auth unchanged./sop-ack comprehensive-testing — workflow lint suite and diff check passed; live main task 48813 validated the cache-export-only failure.
/sop-ack local-postgres-e2e — N/A is valid for workflow cache configuration; no DB/runtime handler path changed.
/sop-ack staging-smoke — pending on PR/main CI rerun; prior run already pushed the ECR image before cache export failed.
/sop-ack root-cause — root is required type=gha cache export timing out after successful ECR push, so the fragile cache optimization was removed.
/sop-ack five-axis-review — correctness/readability/architecture/security/ops reviewed; no credential handling changed.
/sop-ack no-backwards-compat — removed brittle cache optimization directly; no retry shim or dead branch added.
/sop-ack memory-consulted — current Gitea CI context used and live logs were validated before patching.
/qa-recheck
/security-recheck