ci: disable kaniko registry cache push #59
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/disable-kaniko-cache-push"
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?
Why
The v2.1.8+rs.1 retry build hung for 75+ minutes on
Pushing image to code.rly.best/gofix/portal-tunnel-rs-cache-arm64:<hash>. The kaniko process consumed only 0:49 of CPU during that window, had a single open socket, and made no network progress. Forgejo's task log gets wiped on cancel so we cannot tell whether the registry rejected the layer or kaniko's HTTP client deadlocked. Either way the cache push step is the bottleneck.Builds were not consistently hitting the cache between runs anyway — the only successes were the 5m17s cold-cache run and a 1m11s warm-cache run, both well within what a no-cache build can do. Removing
--cache=truelets the build complete in the time the actual work needs (cargo build inside QEMU emulation), without the cache-write deadlock.This unblocks the v2.1.8+rs.1 release. Reintroducing a working cache (different builder, or different cache backend) is follow-up.
Validation
cargo fmt --check,cargo test --locked,cargo clippy --locked --all-targets -- -D warningsall cleanFollow-up
After merge: re-cut
v2.1.8+rs.1(currently in draft) — same SHA, just retry the tag push so CI runs without the cache flag.