Delivery
CI/CD pipeline, testing, quality gates, architecture enforcement, and dependency management.
The Delivery domain covers everything between writing code and running it in production: the CI/CD pipeline, quality gates, testing strategy, architecture enforcement, and dependency management.
Topics
Pipeline
CI workflow structure, job definitions, triggers, timeouts, artifacts, concurrency, and local CI parity.
Quality Gates
Linting (ESLint), formatting (Prettier), type checking (TypeScript strict), SDK boundary enforcement, and pre-commit hooks (Husky + lint-staged).
Testing
Vitest configuration, test patterns, the trovella-test-audit CLI tool, mutation testing, and CI integration.
Dependency Management
Catalog pattern, Renovate automation, adding dependencies, and version strategy.
Architecture Enforcement
Multi-layer enforcement system that catches architectural violations at editor-time, pre-commit, and CI -- ESLint boundaries, dependency-cruiser, Knip dead code, and jscpd duplication.
Key Infrastructure
| Component | Role |
|---|---|
| GitHub Actions | CI/CD platform -- runs quality checks, builds images, deploys |
| Vitest | Test runner with V8 coverage across all packages |
trovella-test-audit | Custom CLI for coverage aggregation, source mapping, and mutation testing |
| Husky + lint-staged | Pre-commit hooks for auto-formatting staged files |
| Turborepo | Monorepo build orchestration with --affected filtering |
| Renovate | Automated dependency updates on weekends |
| Docker Buildx | Multi-stage image builds with GitHub Actions cache |
Cross-Domain References
- Infrastructure -- Deployment -- what happens after CI passes: SCP, SSH, container restart
- Infrastructure -- Secrets -- how CI accesses GCP secrets via Workload Identity Federation
- Infrastructure -- Cloud Resources -- WIF provider, Artifact Registry, IAP tunnels
- Data & Storage -- Migrations -- database migration workflow including CI deployment