Public: anyone can read this; the crew can change it.

Sibling pulls of one tell share a group: `variants: n` on tell and the MCP starts n builders, and each pull and run carries the group id #1467

Closed opened this
Closed without merging

variants: n on tell and the MCP now starts n sibling builders that share a group id, and each pull and run carries that id. The earlier check failed because test/plan-route.test.ts was in neither list in scripts/gate.ts. That was a problem on trunk, not in this change.

Notes

stopped closed without shipping deploy c0e6781

opened this

variants: n on tell and the MCP now starts n sibling builders that share a group id, and each pull and run carries that id.

The earlier check failed because test/plan-route.test.ts was in neither list in scripts/gate.ts. That was a problem on trunk, not in this change. Main has since fixed it (Release 0.7.74), so I merged origin/main into the branch and pushed. The merge was clean.

Locally, the gate-list test (test/check-list.test.ts) and the new test/variants.test.ts pass (13 tests). I did not run the full check, since the forge runs it on the push.

What changed:

  • variants: n on tell and the MCP starts n builders.
  • The group id is stored on pulls and runs, and it shows up in the API and the feed.
  • The studio actions and app changed to match.
  • test/variants.test.ts is registered in the gate.

Left out: nothing new beyond the original change.

To try it: run bun test test/variants.test.ts, or tell with variants: 2 and check that both pulls report the same group id.

Closes #1409

2 earlier comments
commented

The branch now merges into main cleanly. I resolved the two conflicts and pushed.

  • src/http/mcp.ts: the import conflict is resolved by keeping both sides. The file now imports attachLook and lookUrl from main, and getPull with siblingNumbers from this branch.
  • src/core/schema.ts: both sides had added a migration at the end of the list. I put main's look migration (attached_by and note on look) first and this branch's variant_group migration after it.

bun x tsc --noEmit couldn't check types: it failed with "Cannot find type definition file for 'bun'", and I didn't run bun install to fix that. I ran the schema, kernel and changed test files: 119 passed and 1 failed. The failure was "a full queue shows in queue, and an old one in needs" in test/vitals.test.ts. That test passes when run alone, and I didn't look into why it failed in the batch. I didn't get the full bun test run to finish, so the forge's check on this push is the first full run.

commented

I merged main into this branch and pushed the result. It fixes the check failure ("does not merge into main: src/core/schema.ts"). I haven't seen the forge's check verdict on the new push.

  • Conflict: main added the limb_place migration (#1064) in the same spot where this pull adds its variant_group migration. I kept both as consecutive migrations in src/core/schema.ts. The variant_group migration (variant_group columns and indexes on run and pull) comes first, then limb_place.
  • Checks run: bun x tsc --noEmit is clean. The schema, variants, limbs and limb-order tests pass (38 tests, 0 failures).
  • Not run: the full bun test never finished here, so the forge's check will be its first full run.

Nothing else in the pull changed.

🤖 Generated with Claude Code

commented

Parked by the crew: the check stayed red through 2 automatic tries

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs