feat: TDD infrastructure Waves 1-3 - #1
Merged
Merged
Conversation
- Add .github/workflows/ci.yml with actionlint validation, typecheck, lint, and test jobs - Configure for both main and develop branches - Add sonar-project.properties for SonarCloud analysis - Set up coverage reporting and file exclusions
cli: add tempfile dev-dep torrential: add tokio-test dev-dep desktop: no change needed (tempfile already in deps)
Server: vitest, @nuxt/test-utils, @vue/test-utils, msw, @playwright/test, @vitest/coverage-v8, happy-dom Rust: tempfile (cli), tokio-test (torrential) Part of TDD Wave 1. Co-Authored-By: Sisyphus <sisyphus@opencode.ai>
Formatting-only changes across cli, torrential, libraries/native_model, desktop/src-tauri workspace. No logic changes. Part of TDD Wave 1. Co-Authored-By: Sisyphus <sisyphus@opencode.ai>
Exclude node_modules, .nuxt, .output, dist, .data, pnpm-lock.yaml from prettier formatting. Part of TDD Wave 1. Co-Authored-By: Sisyphus <sisyphus@opencode.ai>
- Add server/vitest.config.ts with @nuxt/test-utils - Add server/test/setup.ts with msw lifecycle - Add vitest.workspace.ts at repo root - Add test, test:watch, coverage scripts to server/package.json Part of TDD Wave 2. Co-Authored-By: Sisyphus <sisyphus@opencode.ai>
- Add server/playwright.config.ts with baseURL, retries, webServer - Add server/test/e2e/.gitkeep placeholder directory - Add test:e2e script to server/package.json Part of TDD Wave 2. Co-Authored-By: Sisyphus <sisyphus@opencode.ai>
- Add server/test/mocks/oidc.ts with configurable OIDC handlers - Add server/test/mocks/jwt.ts with test JWT signing/verification - Add server/test/mocks/metadata.ts with IGDB, Steam, Giantbomb mocks - Add server/test/mocks/index.ts with setupTestMocks/teardownTestMocks lifecycle Part of TDD Wave 2. Co-Authored-By: Sisyphus <sisyphus@opencode.ai>
- Add format:check step before lint - Separate format:check from lint:eslint for clarity Part of TDD Wave 2. Co-Authored-By: Sisyphus <sisyphus@opencode.ai>
- Close issues inactive for 90 days - 14-day warning before closure - Exempt priority/p0 and priority/p1 labels Part of TDD Wave 2. Co-Authored-By: Sisyphus <sisyphus@opencode.ai>
- Create GET /api/v1/health endpoint returning { status, timestamp }
- Add smoke test verifying 200 response and shape
- Uses @nuxt/test-utils/e2e for integration testing
Part of TDD Wave 3.
Co-Authored-By: Sisyphus <sisyphus@opencode.ai>
- Config tests: new, exists, get, get_active, serde roundtrip - DepotManifest tests: new, append, overwrite, serde roundtrip, variants - Uses tempfile for test isolation Note: Tests require libarchive system library to compile. Part of TDD Wave 3. Co-Authored-By: Sisyphus <sisyphus@opencode.ai>
- Provider: v8 - Reporters: text, lcov - Reports directory: ./coverage - Include: server/**/*.ts - Exclude: test files and directories Part of TDD Wave 3. Co-Authored-By: Sisyphus <sisyphus@opencode.ai>
- Install husky and lint-staged
- Configure pre-commit hook to run lint-staged
- Lint-staged config: eslint --fix + prettier --write on *.{ts,vue}
- Prettier --write on *.json
Part of TDD Wave 3.
Co-Authored-By: Sisyphus <sisyphus@opencode.ai>
This was referenced Jul 27, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements TDD infrastructure for drop repository across 3 waves:
Wave 1: Test Infrastructure
Wave 2: Configuration
Wave 3: Tests & Hooks
Known Issues
Testing
pnpm --filter server test smoke/✓cargo test --workspace(requires libarchive)