Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: required-version respawning of orchestrion causes build failures #522

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RomainMuller
Copy link
Contributor

The automatic version check incurring a re-spawn of orchestrion with the go.mod version cannot happen in all situations, and this results in inconsistent build IDs being generated when manually specifying -toolexec (instead of using orchestrion go ...).

Since we cannot always do the version check, we cannot re-spawn in all situations. For now, we decided to no longer re-spawn but instead produce specific error messages when the running version is not the one required by go.mod, instructing users what to do to fix that.

Fixes #507

The automatic version check incurring a re-spawn of orchestrion with the
`go.mod` version cannot happen in all situations, and this results in
inconsistent build IDs being generated when manually specifying
`-toolexec` (instead of using `orchestrion go ...`).

Since we cannot always do the version check, we cannot re-spawn in all
situations. For now, we decided to no longer re-spawn but instead
produce specific error messages when the running version is not the one
required by `go.mod`, instructing users what to do to fix that.

Fixes #507
@RomainMuller RomainMuller requested a review from a team as a code owner January 31, 2025 11:16
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.

[BUG] builds fail with sending never-build-twice request: mismatched build ID for ...
1 participant