fix(agent): a job whose builders are of two protocols says so, not the builder's usage error #168

Merged
HumanBean merged 1 commit from HumanBean/Beanstalk:fix/builder-protocols-apart into main 2026-11-29 09:09:47 +00:00
Owner

Summary

Since #167 the agent's own builder calls follow longshot-builder's protocol, but main's packs tool (dev.py packs) calls its own builder's command line with the other side's builder for the pull request's pack. A job whose two builders have different protocols (a pull request from before Longshot #2762 against main after it, or a manual run across it such as nightly-895 against nightly-908) therefore still failed with the builder's usage error (longshot-builder: unknown argument "--out", 9 tries in the last day).

The job now says why and what to do (rebase the pull request on main, or compare two commits on one side of #2762), right after the builders are chosen, before any build.

Testing

Not run on this PC. Checks added in agent/tests/agent_core/BuilderChecks.cs (CrossesProtocols, ParseProtocol). The farm verifies it after the nightly: a manual run across #2762 gives the new message.

Co-Authored-By: Claude Sonnet 5.5 [email protected]

🤖 Generated with Claude Code

## Summary Since #167 the agent's own builder calls follow longshot-builder's protocol, but main's packs tool (`dev.py packs`) calls *its own* builder's command line with the other side's builder for the pull request's pack. A job whose two builders have different protocols (a pull request from before Longshot #2762 against main after it, or a manual run across it such as nightly-895 against nightly-908) therefore still failed with the builder's usage error (`longshot-builder: unknown argument "--out"`, 9 tries in the last day). The job now says why and what to do (rebase the pull request on main, or compare two commits on one side of #2762), right after the builders are chosen, before any build. ## Testing Not run on this PC. Checks added in `agent/tests/agent_core/BuilderChecks.cs` (`CrossesProtocols`, `ParseProtocol`). The farm verifies it after the nightly: a manual run across #2762 gives the new message. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix(agent): a job whose builders are of two protocols says so, not the builder's usage error
Some checks failed
CI / Conventional Commit title (pull_request) Successful in 5s
CI / Workflow lint (actionlint) (pull_request) Successful in 5s
CI / Coordinator tests (pull_request) Failing after 1m45s
CI / Agent build and checks (pull_request) Successful in 2m21s
CI / Coordinator image (pull_request) Successful in 14s
e611f226ad
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Beanstalk!168
No description provided.