Repository navigation
fix(aggregator): clear the last Typecheck errors on main (#4848) - #5029
Conversation
Only three of the 27 errors listed on #4848 still reproduce on current main; intervening fixes landed the rest. - test/overview.test.ts: add the rfa facet to the HealthView fixture (required since #1203) so the fixture matches the type. - test/quota-current.test.ts: optional-chain sanitized in the two measuredAt gate assertions; parseQuotaCurrent's sanitized block is optional by type. bunx tsc --noEmit is clean; bun test is 1365 pass / 0 fail.
Codex Review SummaryThis 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. |
|
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 19 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. CodeRabbit Verify
|
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
What
Only 3 of the 27 errors listed on #4848 still reproduce on current main (
1e8838fd3); intervening PRs landed the rest. This clears those three so thepm-aggregator testsworkflow's Typecheck step (bunx tsc --noEmit) goes green.test/overview.test.tsHealthViewfixture missingrfarfafacet (required since #1203) to the hand-built fixturetest/quota-current.test.ts:909parsed.sanitizedpossibly undefinedsanitizedtest/quota-current.test.ts:927parsed.sanitizedpossibly undefinedsanitizedFixes are at source (fixtures / guards).
tsconfigis untouched and no file is excluded.Verification (on the laptop, worktree
~/git/fleet/7170, branch merged up toorigin/main)bunx tsc --noEmitinpm-stack/aggregator— clean (exit 0)bun test test/overview.test.ts test/quota-current.test.ts— 55 pass / 0 failbun test(full aggregator suite) — 1365 pass / 0 fail across 98 filesAcceptance
bunx tsc --noEmitclean without weakening tsconfig or excluding filespm-aggregator testscompletes with conclusion success (both steps green) — verified by CI on this PR and the post-merge main runCloses #4848
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.