Skip to content

chore: enforce Fleet code health gates - #33

Merged
sarthakagrawal927 merged 1 commit into
mainfrom
chore/code-health-baseline
Aug 12, 2026
Merged

chore: enforce Fleet code health gates#33
sarthakagrawal927 merged 1 commit into
mainfrom
chore/code-health-baseline

Conversation

@sarthakagrawal927

Copy link
Copy Markdown
Member

Summary

  • add the Fleet quality gate for formatting, lint, type safety, coverage, unused code, complexity, duplication, dependency cycles, and dependency advisories
  • run the gate in CI before build and documentation validation
  • replace blanket Knip exclusions with explicit workspace boundaries and remove unused exports
  • reduce production duplication from 3 clone groups / 35 lines to zero
  • reduce high dependency advisories from 35 to 4 accepted, tracked exceptions
  • ratchet current coverage and complexity debt so neither can regress

Measured baseline

  • complexity: 413 functions / 4,593 NLOC; 16 violations; max CCN 36; max length 294; max params 11
  • duplication: 0 exact clones / 0 duplicated lines
  • coverage: 36.75% lines, 35.69% branches, 31.36% functions, 35.45% statements
  • dependency audit: 0 critical, 4 accepted high, 0 unexpected high
  • unused code and dependency cycles: clean

Verification

  • pnpm quality
  • pnpm build
  • pnpm check:docs
  • 9 test files / 49 tests pass

Debt follow-up: #32

Closes #31

@sarthakagrawal927
sarthakagrawal927 merged commit 0a600a6 into main Aug 12, 2026
1 check passed
@sarthakagrawal927
sarthakagrawal927 deleted the chore/code-health-baseline branch August 14, 2026 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adopt Fleet code-health gates

1 participant