ci: merge gate — Biome, Vitest, expanded E2E/visual, Husky hooks - #10
Conversation
Adopt Biome 2 for lint/format, remove apps/web ESLint config, and apply formatter across the monorepo. Lint scripts fail on warnings via --error-on-warnings. Know-Code-Verified: ae969e00cd2b7bbbd629d7b9a8a0337228c546cb0d52dc0cdfd24f8080c3ac1f
Split GitHub Actions into quality, build, unit, db, e2e, and visual jobs with Playwright artifact uploads. Add ci:* scripts, affected-path helpers, build log guard, and mobile-first Playwright project ordering. Know-Code-Verified: ae969e00cd2b7bbbd629d7b9a8a0337228c546cb0d52dc0cdfd24f8080c3ac1f
Introduce root Vitest workspace, migrate playback and schema tests from Playwright, and extract chat-mentions and vote-math for isolated unit coverage. Know-Code-Verified: ae969e00cd2b7bbbd629d7b9a8a0337228c546cb0d52dc0cdfd24f8080c3ac1f
Add mobile, chat, smoke, and democratic-promote specs; shared room helpers; data-testids for queue and nav; force-dynamic admin layout; and Linux visual snapshots. Know-Code-Verified: ae969e00cd2b7bbbd629d7b9a8a0337228c546cb0d52dc0cdfd24f8080c3ac1f
Wire pre-commit to ci:pre-commit and pre-push to ci:pre-push. Document optional know-code overlay on pre-push only (range workflow); local *.local files stay gitignored. Know-Code-Verified: ae969e00cd2b7bbbd629d7b9a8a0337228c546cb0d52dc0cdfd24f8080c3ac1f
Add CONTRIBUTING.md with ci:local contract, hook tiers, artifact debugging, and know-code opt-in (teach/quiz after full range, gate on pre-push only). Know-Code-Verified: ae969e00cd2b7bbbd629d7b9a8a0337228c546cb0d52dc0cdfd24f8080c3ac1f
Know-Code-Verified: 32a2d60f8c929d71dee795f0f3608dd76c3e57d319753e6b44c2134b0003d8a6
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummaryMedium Risk Overview Replaces ESLint with Biome at the repo root and in Testing changes: Vitest workspace and Small product/testability tweaks: chat uses shared mention helpers and Reviewed by Cursor Bugbot for commit cb6398f. Bugbot is set up for automated code reviews on this repo. Configure here. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 3 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit d7a37c3. Configure here.
Know-Code-Verified: 7a23a0ef3ed18b45b3c39f2aaa26f54bfc62588ec44fcc86c78b3caf6f81a10b

Summary
biome.json, format + lint across the monorepo).@smokesuite and shared room helpers.ci:pre-commit, fastci:pre-push(quality/build/unit/db only — E2E/visual run in CI), pluspnpm ci:localfor full parity.ci:*scripts, testing layers, hooks, and optional know-code workflow in README / CONTRIBUTING / AGENTS.Test plan
pnpm ci:localpasses locallypnpm ci:pre-commiton a small change (~30–90s)pnpm ci:pre-pushcompletes without Playwright (~1–5 min)