feat: establish verification baseline — test/typecheck/CI gate (#62)#70
Conversation
- Add vitest.config.ts scoping tests to src/**/*.test.ts - Add typecheck, test, check scripts to package.json - Fix all TypeScript errors (chat.ts null checks, exactOptionalPropertyTypes, missing job types, store handler types) - Convert hand-rolled test files to vitest (job-state, composeFailure) - Fix 3 sanitize test failures (min-length regex match, undefined error handling) - Gate CI: check job with biome+typecheck+test+build before Docker publish on push, also runs on PRs - Fix AGENTS.md: Astro v5 → v6, add verification commands table - Align queue job type allowlists across status.ts and jobs-stream.ts
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
More reviews will be available in 59 minutes and 56 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits. 🚦 How do rate limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, the refill rate gradually slows as usage increases. The highest same-day bursts are limited more strictly. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (14)
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. Comment |
Summary
Closes #62. Establishes a verification baseline so every change is sound before it reaches
mainor publishes a Docker image.What changed
vitest.config.ts— scopes tests tosrc/**/*.test.tswith@/*aliaspackage.json) —typecheck,test,check(biome → typecheck → test → build)chat.ts,exactOptionalPropertyTypesfixes, missing job types, store handler payload typingerrorToSanitizedMessage(undefined)now returns"undefined"job-state.test.tsandcomposeFailure.test.tsnow usedescribe/it/expectcheckjob runs on PRs and push tomain; Docker publish only proceeds on push after check passesproject.descriptionSyncandproject.identityGeneratenow present in bothstatus.tsandjobs-stream.tsVerification