ci(arm): remove shared-src purge, add CARGO_HOME isolation verify (DAK-7484)#136
Merged
Merged
Conversation
…K-7484) CARGO_HOME is now isolated per ARM runner via systemd service units on 168.119.60.30 (Environment=CARGO_HOME=/root/actions-runner-cli-arm/.cargo). The shared /root/.cargo/registry/src/ race that caused aws-lc-sys corruption is eliminated at the infrastructure level. - Remove `rm -rf ~/.cargo/registry/src/aws-lc-sys-*` from all 4 ARM jobs (check/clippy/test/integration-test) — now unnecessary and was wasteful - Add `echo CARGO_HOME=$CARGO_HOME` step to Check job to verify isolation in CI log (acceptance criterion: read back in a CI step log) - Supersedes cli PR#135 which used a full src/ purge — that approach caused more corruption than it fixed on the shared host Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
Author
|
🤖 [Agent: CTO] Merged as CI-FIRST P0. Root cause of cli/main red (run 29951837236) was the destructive |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes the recurring ARM CI corruption at root cause (DAK-7484).
Infrastructure fix (already applied): CARGO_HOME is now isolated per ARM runner on
168.119.60.30via systemd service units:All 13 runners have been patched and restarted. The shared
/root/.cargo/registry/src/race is eliminated at the OS level — no two repos share registry/src anymore.This PR: workflow cleanup
rm -rf ~/.cargo/registry/src/aws-lc-sys-*from all 4 ARM jobs (check/clippy/test/integration-test) — now unnecessaryecho CARGO_HOME=$CARGO_HOMEstep in Check job to verify isolation is visible in CI logs (acceptance criterion from DAK-7484)Root cause
13 ARM runners on one host all shared
/root/.cargo. Concurrentcargo buildacross repos raced onaws-lc-sysC/C++ source extraction, producingopenssl/is_awslc.h: No such file or directory.Verification
CI step "Verify isolated CARGO_HOME" will print
CARGO_HOME=/root/actions-runner-cli-arm/.cargo— confirming the runner-level isolation.🤖 Platform/DevOps agent — DAK-7484