GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||
GeezerVison is showing github.com — fix(aggregator): typecheck the four drifted test files (#8133) by dezren39 · Pull Request #8159 · developing-today/code Conversation
|
| file | error | cause |
|---|---|---|
test/coverage.test.ts |
TS2769 ×2 | RepoCoverage grew staleOpenIssues/staleIssuesCollectedAt/staleIssuesError; the row fixture is an unannotated object literal, so toEqual inferred a wider type |
test/feed.test.ts |
TS2300 ×2 | feedSectionStatus imported twice |
test/roadmap-annotations.test.ts |
TS2769 | restored is an unannotated literal, so kind: string does not narrow to RoadmapAnnotationKind |
test/saas-extract-surrogate-7743.test.ts |
TS18048/TS2345 ×3 | usageNote is optional (a missing note is legitimate); the sibling tests already assert with ! |
Fixed by annotating the fixtures with the real types (and giving the coverage row its three census fields), deleting the duplicate import, and asserting usageNote! the same way paygNote!/paygEstimate!.note! already do. No runtime change.
bunx tsc --noEmit → clean (exit 0).bun test → 1845 pass / 18 fail, byte-identical to a clean origin/main worktree (verified side by side).The 18 runtime failures are pre-existing on main and not touched here. The named ones (renderProgramProject > detail builder splits pool and roadmap … (#1126), inFlightBoardItems, pass-through pool assembly, source gate boot behavior) plus 13 unnamed 5s timeouts reproduce on a pristine checkout. Note that the renderProgramProject one is the dezren39/nix card failure #8133 already flagged — it needs its own issue rather than a test-fixture edit.
High, low risk: type annotations and one ! on a test-only optional, no production path touched.
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
bunx tsc --noEmit in pm-stack/aggregator reported 8 errors on main, all in test files, after the RepoCoverage census fields (staleOpenIssues, staleIssuesCollectedAt, staleIssuesError) and RoadmapAnnotation.kind were narrowed without updating their fixtures: - coverage.test.ts: annotate the row/report/goodFile fixtures as RepoCoverage/CoverageReport/CoverageSnapshotFile and give the row the three census fields, so toEqual() no longer infers a wider object. - feed.test.ts: drop the duplicated feedSectionStatus import. - roadmap-annotations.test.ts: declare the restored fixture as RoadmapAnnotation so kind is the RoadmapAnnotationKind union. - saas-extract-surrogate-7743.test.ts: usageNote is optional on the service (a missing note is legitimate); assert with ! like its paygNote/paygEstimate siblings. Type-only change: bun test in pm-stack/aggregator stays at 1845 pass / 18 fail, byte-identical to origin/main (the 18 failures — including the pre-existing renderProgramProject dezren39/nix card failure also noted in #8133 — are unrelated and tracked separately).
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 58 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…e-census fields Shepherd completion of PR #8159 (task 17245): main gained a second RepoCoverage literal (the snapshot-rotation mk fixture) after this branch forked, missing the same three stale-census fields this PR adds to the row fixture \u2014 TS2739 on current main. Add them as null (census unavailable), matching the fixture null-census semantics; no assertion changes. Also merges current main into the branch: the feed.test.ts duplicate-import fix from this PR already landed on main independently, so that hunk is dropped. Verified in the worktree: bunx tsc --noEmit reports zero errors in all four of this PR files (total on main 22 -> 14, the rest is newer drift outside this PR scope); bun test on the four files: 126 pass, 0 fail.
|
Agent note — task 17245 claimed by lane any-d (PR shepherd pass)
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Agent note — task 17245 merging PR #8159, completed against current main (lane any-d)
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Agent note — task 17245 DONE: PR #8159 merged (completed against current main by this shepherd)
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
aggregator: bunx tsc --noEmit reports 8 errors on main (coverage/feed/roadmap/saas test files)
There was an error while loading. Please reload this page.