Skip to content

fix(ci): add Go to PATH in warm-caches manylinux container#369

Merged
DorianZheng merged 1 commit intomainfrom
fix/warm-cache-go-path
Mar 12, 2026
Merged

fix(ci): add Go to PATH in warm-caches manylinux container#369
DorianZheng merged 1 commit intomainfrom
fix/warm-cache-go-path

Conversation

@DorianZheng
Copy link
Copy Markdown
Member

Summary

  • Fix Warm Caches CI workflow failing in the manylinux Docker container with go: No such file or directory
  • setup_go() installs Go to /usr/local/go/bin and exports PATH inside a subshell (bash setup-manylinux.sh), but that export is lost when the subshell exits — the subsequent make runtime cargo build can't find go
  • Pre-add /usr/local/go/bin to PATH in the container script so it's available when cargo's build scripts run

Test plan

  • Verify Warm Caches workflow passes on this PR's push to main
  • Confirm manylinux container step successfully compiles libgvproxy-sys with Go

setup_go() installs Go to /usr/local/go/bin and exports PATH in a
subshell (bash setup-manylinux.sh), but that export is lost when the
subshell exits. The subsequent `make runtime` target runs cargo build,
whose libgvproxy-sys build script cannot find `go`.

Pre-add /usr/local/go/bin to PATH in the container script so it is
available when cargo's build scripts run.
@DorianZheng DorianZheng merged commit 210e57b into main Mar 12, 2026
@DorianZheng DorianZheng deleted the fix/warm-cache-go-path branch March 12, 2026 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant