Skip to content

Commit a3a9276

Browse files
committed
docs(repo): add fast validation entrypoint
1 parent 9759ec1 commit a3a9276

3 files changed

Lines changed: 16 additions & 10 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,10 @@ Issues and pull requests are welcome. See [CONTRIBUTING.md](CONTRIBUTING.md).
6363

6464
### Development Checks
6565

66+
- `pnpm run validate:fast`
6667
- `pnpm run guard:migration`
68+
- `pnpm run typecheck:fast`
69+
- `pnpm run lint:lines:guard`
6770
- `pnpm typecheck`
6871
- `pnpm lint`
6972
- `pnpm test`

docs/plans/2026-04-15-repo-quality-ratchet-plan.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Goals
44

55
- Keep developer feedback fast (`typecheck:fast`, non-blocking line-budget report).
6+
- Expose a single fast local gate via `pnpm run validate:fast`.
67
- Ratchet repository quality without blocking unrelated delivery.
78
- Convert current hotspots into incremental, reviewable tasks.
89

@@ -12,6 +13,7 @@ Current mode:
1213

1314
- CI runs `pnpm run lint:lines:guard` (`>300` warn, `>500` fail).
1415
- Local fail-fast remains available via `pnpm run lint:lines`.
16+
- Local fast-path now lives at `pnpm run validate:fast`.
1517

1618
Phase 1 (short-term):
1719

@@ -31,11 +33,11 @@ Phase 3 (strict):
3133

3234
Hotspots from latest report:
3335

34-
- `packages/playground/src/components/PostmanRequestView.vue` (851)
35-
- `packages/playground/src/components/ui/UiCodeEditor.vue` (469)
36-
- `packages/playground/src/hooks/usePlaygroundRoutes.ts` (406)
37-
- `packages/playground/src/components/PostmanRequestPanel.vue` (404)
38-
- `packages/playground/src/App.vue` (383)
36+
- None. `pnpm run lint:lines:guard` is currently clean.
37+
38+
Next ratchet candidate:
39+
40+
- Switch CI from guard mode to strict `pnpm run lint:lines` after one more maintenance cycle without regressions.
3941

4042
## Track B: Coverage Hotspots
4143

@@ -53,8 +55,8 @@ Execution rule:
5355

5456
## Suggested Issue Breakdown
5557

56-
1. Split `PostmanRequestView.vue` into request/response pane subcomponents.
57-
2. Extract editor adapter logic from `UiCodeEditor.vue` into composables.
58-
3. Add webpack plugin branch tests for unsupported/edge config paths.
59-
4. Add diagnostics formatting tests for warning/error grouping.
60-
5. Add playground search tests for fuzzy/empty/large-tree scenarios.
58+
1. Switch CI line budget from `guard` to strict mode after the next stable pass.
59+
2. Add webpack plugin branch tests for unsupported/edge config paths.
60+
3. Add diagnostics formatting tests for warning/error grouping.
61+
4. Add playground search tests for fuzzy/empty/large-tree scenarios.
62+
5. Add regression tests for extracted playground shell/workspace helpers.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
"audit:fix": "pnpm audit --fix",
3939
"typecheck": "pnpm run typecheck:root && turbo run typecheck",
4040
"format": "eslint . --fix",
41+
"validate:fast": "pnpm run guard:migration && pnpm run typecheck:fast && pnpm run lint:lines:guard",
4142
"validate": "pnpm run guard:migration && pnpm run typecheck && pnpm run lint && pnpm run test",
4243
"test:e2e": "pnpm run test:e2e:root && pnpm run test:e2e:apps",
4344
"test:e2e:root": "playwright test",

0 commit comments

Comments
 (0)