mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-08-29 04:32:06 -04:00
* chore(deps): add dependabot desktop/main entry + .codecov.yml desktop/main/ has its own pnpm-workspace.yaml and pnpm-lock.yaml, so the root npm entry at / does not cover it. All 30+ deps in the Nuxt 4 desktop app (tauri plugins, koa, etc.) were invisible to Dependabot. .codecov.yml added with: - project status OFF (1.17% baseline, target: auto would block every PR per AGENTS.md) - patch status informational at 50% (new code should be tested but not block) - server flag target 80% informational - PR comments disabled (solo dev, low signal at 32 tests) - ignore patterns for .nuxt/, prisma/client/, proto/, test/ Refs plan at .opencode/plans/hyperplan-dep-tdd-coverage.md PR2. * chore(ci): merge test+coverage jobs, MSW error, scope coverage to backend Three changes: 1. ci.yml: delete the separate coverage job (duplicate setup vs test job — 14 CI-min wasted per push). Add coverage step to test job so vitest run --coverage happens once. Codecov upload moves to test job. 2. server/test/mocks/index.ts: onUnhandledRequest: 'warn' → 'error'. Unmocked HTTP calls now fail the test instead of producing stderr noise. Forces explicit handler registration. Escape hatch: resetTestMocks([...unmockedHandlers]) for intentional bypass. 3. server/vitest.config.ts: include 'server/**/*.ts' → 'server/server/**/*.ts'. The 1.17% coverage baseline is inflated by ~3-5K LOC of frontend (pages/, components/, composables/) that is untestable outside Playwright E2E. New scope reflects only Nitro backend coverage. Refs plan at .opencode/plans/hyperplan-dep-tdd-coverage.md PR3. --------- Co-authored-by: bot <ci@local> |
||
|---|---|---|
| .. | ||
| ci.yml | ||
| cli-ci.yml | ||
| client-release.yml | ||
| codeql.yml | ||
| dependabot-auto-merge.yml | ||
| desktop-ci.yml | ||
| droplet-ci.yml | ||
| e2e.yml | ||
| editorconfig-ci.yml | ||
| osv-scanner.yml | ||
| pages.yml | ||
| server-ci.yml | ||
| server-release.yml | ||
| stale.yml | ||