test: name the move-codex-session rollback test for its trigger and outcome #135
Loading…
Reference in a new issue
No description provided.
Delete branch "test/move-codex-session-rollback-test-name"
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?
Follow-up to #132 from its review (finding).
Renames the rollback test from "rolls back every destination database when a step after the queue copy fails" to "rolls back copied rows when index publication fails". The old name promised coverage of every destination database, which the test's hand-written assertions would have to keep true each time the script gains a database. Setup and assertions are unchanged.
move-codex-sessionrollback test for its trigger and outcomemove-codex-sessionshould handle Codex 0.160.1 and large native homes #132Review
01M4H3Z011KMV9X91RB8GEDBNA— headf4cf20e273e7d893668f32c22bd414146094eda6Review — j4k-oss/agent-skills @
5e81dbd147Scope: diff against base tree
40154724b696Status: dispatched — coverage complete (2/2 slots terminal)
Facts: current review-wide projection
Computed under:
Findings (1)
medium — Index-publication rollback test leaves copied tables unchecked
01M4H41HT6VPDJWAQEGK3SWH9Hskills/move-codex-session/scripts/move-codex-session.test.ts(snippet)01M4H4269NK1939KFWDQPQZMAQ· valid: The exact-grounded assertion establishes only that destination threads are empty. The reviewer supplies a concrete additional trace: the fixture contains a copied thread_spawn_edges row, index publication fails after copying, rollback removes destination rows, and the failure test never checks that edge. Omitting edge cleanup would therefore leave this existing rollback test green despite stale copied data. The described success test checks copying, and the separate attachments/realtime rollback test does not cover edge cleanup; neither refutes this gap. This meets the ineffective-test standard without an executed mutation. Retain medium severity. The smallest supported repair is a post-failure assertion that the fixture edge is removed while destination-owned rows survive; the evidence does not justify requiring exhaustive checks of every other listed table. Narrowing the title alone would not restore the missing rollback protection.Other claims
Coverage
Coverage pass: 01M4H3ZJX2HJ3020AV4R55BX8E
Accounting: complete
Slot health: healthy
move-codex-sessiontable in the index-publication rollback test #137The summary's finding (claim
01M4H41HT6VPDJWAQEGK3SWH9H) is valid for this test: with the destination rollback'sthread_spawn_edgesorthread_dynamic_toolsdelete removed, it still passes. The suite was not blind to it, since "moves a complete session tree and fails closed on unsafe state" fails both mutants through its retry. The assertions predate this PR, which only renames the test. Tracked in #137, which checks every table the fixture moves and fails both mutants.d3baeebc1ef4cf20e273