fix: @Beanstalk on a commit the planner held plans it again, the planner blocks only what nothing answers, and a switch's "" is unset #145

Merged
HumanBean merged 1 commit from HumanBean/Beanstalk:fix/held-replan into main 2026-11-23 21:13:07 +00:00
Owner

Summary

  • A plain @Beanstalk after "can't be tested as asked" was silently ignored (Longshot #2400 and #2369, today). The planner had held the round, so _again found no round to rerun and the planner's claim refused a round already planned. The farm reacted to the comment and did nothing else. It now plans the commit again with the same words, since the planner or the farm may have changed since (DLSS builds, #144). commands.held.
  • The planner held Longshot #2104 saying it couldn't compare several versions of the PR against main, or main against itself. Both work: a [matrix.pr_only] axis gives one cell per switch value, each against main, and every result already carries main's own spread. The block rule now says to block only when nothing the farm can run answers the main question, and otherwise to plan the rest and say what's left out in a note. It names those two cases as never a reason to block.
  • A switch value "" (a matrix axis's) now leaves the switch unset in the game's environment, so ["", "3980,40", "3980,2000"] runs the PR as it ships beside its switch values. Longshot already reads an empty switch as unset in most places; the agent no longer relies on that.

Docs: test-plan.md.

Tests

On Unraid: agent core 2535 checks passed (--strict); coordinator 637 passed, 1 skipped (test_a_plain_start_on_a_held_commit_plans_it_again, the prompt's new rules).

🤖 Generated with Claude Code

## Summary - **A plain `@Beanstalk` after "can't be tested as asked" was silently ignored** (Longshot #2400 and #2369, today). The planner had held the round, so `_again` found no round to rerun and the planner's claim refused a round already planned. The farm reacted to the comment and did nothing else. It now plans the commit again with the same words, since the planner or the farm may have changed since (DLSS builds, #144). `commands.held`. - **The planner held Longshot #2104** saying it couldn't compare several versions of the PR against main, or main against itself. Both work: a `[matrix.pr_only]` axis gives one cell per switch value, each against main, and every result already carries main's own spread. The block rule now says to block only when nothing the farm can run answers the main question, and otherwise to plan the rest and say what's left out in a note. It names those two cases as never a reason to block. - **A switch value `""`** (a matrix axis's) now leaves the switch unset in the game's environment, so `["", "3980,40", "3980,2000"]` runs the PR as it ships beside its switch values. Longshot already reads an empty switch as unset in most places; the agent no longer relies on that. Docs: test-plan.md. ## Tests On Unraid: agent core 2535 checks passed (`--strict`); coordinator 637 passed, 1 skipped (`test_a_plain_start_on_a_held_commit_plans_it_again`, the prompt's new rules). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix: @Beanstalk on a commit the planner held plans it again, the planner blocks only what nothing answers, and a switch's "" is unset
Some checks failed
CI / Conventional Commit title (pull_request) Successful in 4s
CI / Workflow lint (actionlint) (pull_request) Successful in 16s
CI / Coordinator image (pull_request) Successful in 18s
CI / Coordinator tests (pull_request) Failing after 1m35s
CI / Agent build and checks (pull_request) Successful in 1m36s
66c5efa7dc
- A plain @Beanstalk after "can't be tested as asked" did nothing and said nothing: the round
  counted as planned, so the claim failed (Longshot #2400, #2369). It now plans again with the
  same words.
- The planner held Longshot #2104 as if PR versions against main and main against itself were
  out of reach: it now blocks only when nothing it can run answers the main question, plans the
  rest with a note otherwise, and knows a [matrix.pr_only] axis with "" compares the PR as it is
  and with switch values, each against main, and that main's own spread is in every result.
- A switch value "" leaves the switch unset in the game's environment.

Assisted-by: Claude Code
Co-Authored-By: Claude Opus 5.5 <[email protected]>
HumanBean changed title from WIP: fix: @Beanstalk on a commit the planner held plans it again, the planner blocks only what nothing answers, and a switch's "" is unset to fix: @Beanstalk on a commit the planner held plans it again, the planner blocks only what nothing answers, and a switch's "" is unset 2026-11-23 21:13:03 +00:00
HumanBean deleted branch fix/held-replan 2026-11-23 21:13:07 +00:00
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!145
No description provided.