Skip to content

test(think): submissions' class-ledger tests are class-only, with public successors through real resets (harness score B) - #3502

Closed
mattzcarey wants to merge 4 commits into
mainfrom
slim/parity-subs-main
Closed

mattzcarey wants to merge 4 commits into
mainfrom
slim/parity-subs-main

Conversation

@mattzcarey

Copy link
Copy Markdown
Member

Twenty-five tests in submissions.test.ts that pin the class's own submission ledger become class-only rows in harness-class-only.json: 15 with a public successor that runs on both configs, 10 mechanics-only. New successors go through a real reset or a live turn: a submission re-run when a reset came before its messages were stored, a cancel while it starts, a reused id never settled with the deleted submission's result, a recovered reply that fails ending the submission in error with the model's text, and a continuation a reset cut off after a tool answer repeating neither the tool nor its end.

These tests seed rows in the class's shape (insertSubmissionForTest) and run its recovery callbacks or start-up reconciliation by hand, which the harness-backed Think doesn't have. Each row says which private seam its test reaches; a mechanics-only row asserts nothing an app sees (the class's stream-segment stamps, schedule rows, incident keys). Left unmarked on purpose: the racy stop-in-retry-backoff row, two released-row shapes (H11's upgrade tests), and the four 'interrupted continuation into the leaf' rows, where a real reset on the class stores a second assistant message.

For each row the old test passes on the class and fails on the harness, and its successor passes on both (submissions.test.ts, chat-recovery-public.test.ts, both configs). Tests only, no changeset. Built on turn-task's harness score B-9 and nightly's successors.

…cs-only, five with successors); two list/delete successors made with real submissions
…: a continuation a reset cut off after a tool answer repeats neither the tool nor its end; both rows class-only
…n rows; two overflow-segment rows mechanics-only
@mattzcarey

Copy link
Copy Markdown
Member Author

Replaced by #3503, which carries these tests within its harness-score units (integrated and tested together).

@mattzcarey mattzcarey closed this Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant