Skip to content

ci: enforce lint and formatting, add warn-only layering guard#732

Merged
thymikee merged 1 commit into
mainfrom
claude/ci-lint-format-gates
Jun 10, 2026
Merged

ci: enforce lint and formatting, add warn-only layering guard#732
thymikee merged 1 commit into
mainfrom
claude/ci-lint-format-gates

Conversation

@thymikee

Copy link
Copy Markdown
Member

Summary

The repo has oxlint --deny-warnings and oxfmt configured, but no CI workflow ran either — a drive-by PR could land lint warnings or format drift that every later contributor inherits. This adds:

Touched files: 2 (ci.yml, package.json).

Validation

pnpm lint and pnpm format:check both pass on the current tree (818 / 791 files, 0 issues), so the new job is green from day one. The guard's rg pattern was verified locally to match exactly the known cross-layer imports and nothing in tests.

Part of #722.

https://claude.ai/code/session_01LXZXzxi55sZ11DSyqWyBA2


Generated by Claude Code

Add a Lint & Format job (oxlint --deny-warnings + new format:check script) and
a warn-only guard that flags imports of src/commands/* from src/daemon and
src/platforms; the guard flips to a hard failure once shared contracts move
out of the commands layer.

https://claude.ai/code/session_01LXZXzxi55sZ11DSyqWyBA2
@github-actions

github-actions Bot commented Jun 10, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-06-10 08:36 UTC

@github-actions

Copy link
Copy Markdown

Size Report

Metric Base Current Diff
JS raw 1.2 MB 1.2 MB 0 B
JS gzip 381.5 kB 381.5 kB 0 B
npm tarball 492.9 kB 492.9 kB +15 B
npm unpacked 1.7 MB 1.7 MB +241 B

Startup median (7 runs, lower is better):

Scenario Base Current Diff
CLI --version 25.2 ms 25.3 ms +0.1 ms
CLI --help 39.0 ms 39.3 ms +0.3 ms

Top changed chunks: no changes in the largest emitted chunks.

@thymikee thymikee merged commit 6455775 into main Jun 10, 2026
21 checks passed
@thymikee thymikee deleted the claude/ci-lint-format-gates branch June 10, 2026 08:36
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.

2 participants