Public: anyone can read this; the crew can change it.
The story's wave plan and the feed's shipped and step rows are pinned by tests that fail without them #15932
Check · Review · Land · Live done — Landed and live in production.
I added two test files, one for each of the three modules that had no direct test. Both pass (8 tests), and bun x tsc --noEmit and bun scripts/gate.ts --fix came back clean. I did not run the full suite; the forge runs it on the push.
shipped production is serving it deploy 3fede26
I added two test files, one for each of the three modules that had no direct test. Both pass (8 tests), and bun x tsc --noEmit and bun scripts/gate.ts --fix came back clean. I did not run the full suite; the forge runs it on the push.
What the tests cover
test/story-wave-plan.test.tsmilestonePathputs a milestone under the base path.planNowon an empty repository gives no limbs and no milestone.planNowon one milestone with an open leaf gives that milestone its leaf asready, with no spend read.planNowon a finished milestone has nothing ready, building or blocked beneath it.
test/feed-shipped-step.test.tsshippedlists merged pulls newest first withowner/name, and respects the limit. Open and closed-unmerged pulls are left out.shippedleaves out sealed pulls, and in the public scope private and archived repositories.- A title with markup comes back as stored and
escapeHtmlescapes it.shippedreturns plain data, so escaping is pinned at theescapeHtmlboundary, not inside the module. stepsOfgives a merged pullland(done) and an open pullreview. It skips closed-unmerged pulls, non-pull posts, unknown repositories and malformed links.
Each file seeds its own fixtures. scripts/gate.ts gates every test/*.test.ts, so the new files need no list entry. I changed no source.
I did not cover stepsOf's check and live steps.
No page changed, so there is no review block.
To try it: bun test test/story-wave-plan.test.ts test/feed-shipped-step.test.ts.
Clean: two test-only files, no source change, no dependency, no secrets. Each test seeds its own temp data dir and cleans it up. Assertions pin ordering, limit, sealed/private/archived exclusion, escaping at escapeHtml, stepsOf land/review and its skips, and planNow on empty, open and finished milestones. I could not check out the head in my clone, so I read the diff and did not rerun the tests; the pull is green. No page changed, so there is no preview behaviour to check. The unpinned stepsOf check and live steps are disclosed and outside the boxes.
I added two test files, one for each of the three modules that had no direct test. Both pass (8 tests), and
bun x tsc --noEmitandbun scripts/gate.ts --fixcame back clean. I did not run the full suite; the forge runs it on the push.What the tests cover
test/story-wave-plan.test.tsmilestonePathputs a milestone under the base path.planNowon an empty repository gives no limbs and no milestone.planNowon one milestone with an open leaf gives that milestone its leaf asready, with no spend read.planNowon a finished milestone has nothing ready, building or blocked beneath it.test/feed-shipped-step.test.tsshippedlists merged pulls newest first withowner/name, and respects the limit. Open and closed-unmerged pulls are left out.shippedleaves out sealed pulls, and in the public scope private and archived repositories.escapeHtmlescapes it.shippedreturns plain data, so escaping is pinned at theescapeHtmlboundary, not inside the module.stepsOfgives a merged pullland(done) and an open pullreview. It skips closed-unmerged pulls, non-pull posts, unknown repositories and malformed links.Each file seeds its own fixtures.
scripts/gate.tsgates everytest/*.test.ts, so the new files need no list entry. I changed no source.I did not cover
stepsOf'scheckandlivesteps.No page changed, so there is no
reviewblock.To try it:
bun test test/story-wave-plan.test.ts test/feed-shipped-step.test.ts.Closes #15930