fix(agent): longshot-builder's protocol 2 command line, old nightlies' kept #167
No reviewers
Labels
No labels
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Beanstalk!167
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/Beanstalk:fix/builder-cli-v2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Depends on Longshot #2762 (builder command line v2).
What
#2762 moves longshot-builder's stages under
dev, takes the places from the environment (LONGSHOT_CACHEand others), dropsupdate/self-update/steam-shortcut, and hasinforeport"protocol": 2. The farm tests both old nightlies and new commits, so the agent now asks each builder its protocol and picks the command line:agent/Core/BuilderArgs.cs: the one place with both command lines (Info,ParseProtocol,Check,DevBuild). Protocol is read frominfo --output json. Noinfo, noprotocolfield, or a failed run all count as protocol 1.Workspace.BuilderProtocolAsync(WorkspaceBuilder.cs): runsinfoin the sandbox (read-only, no GPU), once for each builder file, and caches the answer.CheckBuilderDumpAsync: on protocol 2 it runscheck --game ... --output jsonwithLONGSHOT_CACHEin the environment; on protocol 1 it keeps--cache.TimedBuilderBuildAsync: on protocol 2 it runsdev build ...(same flags, whichdev buildstill takes); on protocol 1 it runsbuild ....I grepped the rest of the repo (agent, coordinator, scripts, deploy, docs) and found no other longshot-builder calls. The base and pack builds go through Longshot's
dev.py packsandscripts/longshot_builder.py(build,game-rust), and #2762 leaves both unchanged.Not run
dotnet buildof agent/Core and agent/tests/agent_core passed. Nothing else ran:BuilderCheckstimed-build check should still pass because its fake builder gives no protocol, so it gets protocol 1 and the old command line. I haven't confirmed this.🤖 Generated with Claude Code
WIP: fix(agent): longshot-builder's protocol 2 command line, old nightlies' keptto fix(agent): longshot-builder's protocol 2 command line, old nightlies' kept