Skip to content

fix: resolve rig default_formula before falling back to mol-polecat-work#2703

Open
rileywhite wants to merge 1 commit intosteveyegge:mainfrom
rileywhite:polecat/furiosa/gt-boc@mmo4qnau
Open

fix: resolve rig default_formula before falling back to mol-polecat-work#2703
rileywhite wants to merge 1 commit intosteveyegge:mainfrom
rileywhite:polecat/furiosa/gt-boc@mmo4qnau

Conversation

@rileywhite
Copy link

Summary

  • resolveFormula in sling_schedule.go now checks rig's workflow.default_formula setting before hardcoding mol-polecat-work
  • All call sites updated to pass townRoot and rigName parameters
  • Fixes gt-boc: rigs with default_formula: "shiny-enterprise" configured now get their formula respected

Test plan

  • go build ./... passes
  • Verify gt sling without --formula uses rig's default_formula when configured
  • Verify fallback to mol-polecat-work when no rig setting exists

🤖 Generated with Claude Code

resolveFormula() now checks the rig's workflow.default_formula setting from
settings/config.json before hardcoding mol-polecat-work. This lets rigs
configure their own default formula (e.g., shiny-enterprise) and have it
actually take effect when gt sling dispatches work.

Closes: gt-boc

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions github-actions bot added the status/needs-triage Inbox — we haven't looked at it yet label Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status/needs-triage Inbox — we haven't looked at it yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant