fix(ci): remove maintainability baseline gate blocking releases

The maintainability gate (process.exit count + sync FS API count) was
a raw grep counter that provided no actionable signal for a CLI tool.
It blocked the v7.53.0 stable release because new features naturally
increased the counts beyond the baseline.

Removed:
- scripts/maintainability-baseline.js
- scripts/maintainability-check.js
- docs/metrics/maintainability-baseline.json
- All maintainability:* npm scripts
- Gate references from release, dev-release, and CI workflows

Quality gates retained: typecheck, eslint, prettier, full test suite.
This commit is contained in:
Tam Nhu Tran
2026-03-11 10:52:30 +07:00
parent 781856b327
commit e6ae052527
7 changed files with 4 additions and 491 deletions
+1 -1
View File
@@ -30,5 +30,5 @@ jobs:
- name: Build package
run: bun run build:all
- name: Validate (typecheck + lint + format + maintainability [warn on PR] + tests)
- name: Validate (typecheck + lint + format + tests)
run: bun run validate
+1 -4
View File
@@ -48,10 +48,7 @@ jobs:
- name: Build
run: bun run build:all
- name: Validate (typecheck + lint + format + maintainability [warn] + tests)
env:
# Dev channel should surface maintainability regressions without blocking every merge.
CCS_MAINTAINABILITY_MODE: warn
- name: Validate (typecheck + lint + format + tests)
run: bun run validate
- name: Release
+1 -1
View File
@@ -43,7 +43,7 @@ jobs:
- name: Build package
run: bun run build:all
- name: Validate (typecheck + lint + format + maintainability [strict] + tests)
- name: Validate (typecheck + lint + format + tests)
run: bun run validate
- name: Release