fix: normalize kernel output dirs from x86_64 to amd64#18
Conversation
The infra orchestrator's TargetArch() uses Go's runtime.GOARCH convention (amd64) but kernels were stored under x86_64/, causing gcsfuse stat misses and a ~15-40ms penalty per sandbox create on GCE nodes. Map x86_64 -> amd64 in build output so GCS paths match what the orchestrator looks up. Include a migration script for existing buckets.
PR SummaryLow Risk Overview Adds Reviewed by Cursor Bugbot for commit 63b1dd0. Bugbot is set up for automated code reviews on this repo. Configure here. |
e5d0541 to
63b1dd0
Compare
The infra orchestrator's TargetArch() uses Go's runtime.GOARCH convention (amd64) but kernels were stored under x86_64/, causing gcsfuse stat misses and a ~15-40ms penalty per sandbox create on GCE nodes.
Map x86_64 -> amd64 in build output so GCS paths match what the orchestrator looks up. Include a migration script for existing buckets.