CodeVetter · Repo Unpack · Contributor handoff
nestjs/nest
This brief is bounded to the inspected tracked sources at the pinned commit. Tests and CI were inspected, not executed, and no runtime or performance result is claimed. Start changes at the owning package and follow its public contract into a representative integration fixture. Preserve ESM import conventions, decorator metadata, adapter behavior, and existing test configuration; treat sample settings and coverage output cautiously.
- Read root scripts and the owning package manifest first: root version is 12.0.0, while inspected common/core manifests and Lerna use 12.1.2.
- Preserve .js relative import suffixes in TypeScript and the Node16 resolution/decorator settings.
- For startup edits, read NestFactory.initialize, DependenciesScanner.scan, InstanceLoader, and NestApplication.init before changing ordering.
- For adapter work, inspect the AbstractHttpAdapter contract and native stream behavior; the interface documents request and Node-server assumptions.
- For later authorized verification, npm test selects package unit specs directly from source; contributor documentation states these need neither a build nor Docker.
- Integration preparation builds framework packages into node_modules/@nestjs and starts Docker services; inspect that environment requirement before running integration commands.
- Tests and CI in this report were inspected only; configured commands and assertions are evidence of intended checks, not executed passing results.
- Do not use coverage scripts as failure gates without accounting for || true and central runtime exclusions.
- Use TestingModuleBuilder overrides and repository-token mocks to isolate application services; the SQL sample demonstrates this pattern.
- Keep compatibility handling in assignMetadata when editing parameter decorators; it explicitly supports callers using the pre-v12 positional signature.
- Route diagnostics must run before duplicate-rejecting adapter registration; specificity sorting also affects which route is reported as the winner.