test: update edge-cases test to use pending slices for SUMMARY check
Closed slices (complete/done/skipped) are now excluded from findMissingSummaries per #3620. Update the test to use pending status so the missing-SUMMARY block still fires. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
83822c51b3
commit
5b72365567
1 changed files with 4 additions and 2 deletions
|
|
@ -920,8 +920,10 @@ describe("completion and verification failures", () => {
|
|||
base = createFullFixture();
|
||||
openDatabase(join(base, ".gsd", "gsd.db"));
|
||||
insertMilestone({ id: "M001", title: "Active", status: "active" });
|
||||
insertSlice({ id: "S01", milestoneId: "M001", title: "First", status: "complete" });
|
||||
insertSlice({ id: "S02", milestoneId: "M001", title: "Second", status: "complete" });
|
||||
// Use "pending" status — closed slices (complete/done/skipped) are
|
||||
// excluded from SUMMARY checks per #3620.
|
||||
insertSlice({ id: "S01", milestoneId: "M001", title: "First", status: "pending" });
|
||||
insertSlice({ id: "S02", milestoneId: "M001", title: "Second", status: "pending" });
|
||||
// No S01-SUMMARY.md or S02-SUMMARY.md on disk
|
||||
|
||||
const ctx = buildDispatchCtx(base, "M001", {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue