docs(agents): require check:changed before every push (#37281)

* docs(agents): require check:changed before every push, ban --no-verify

* docs(agents): drop maxWorkers from the push rule
This commit is contained in:
Neil
2026-11-01 18:46:15 -08:00
committed by GitHub
parent 1df33f7b96
commit bf0f819a31
+3 -3
View File
@@ -4,10 +4,10 @@
- **Test**: `pnpm test [path/to/file.test.ts] --maxWorkers=2`; incremental: `pnpm test:changed [path] --maxWorkers=2` ([details](.github/CONTRIBUTING.md#targeting-local-tests)). Separate rendered UI E2E checks need explicit, reproducible viewport/state.
- **Lint/format**: Basic: `pnpm exec oxlint <files>`; full lint gate: `pnpm lint`; formatting: `pnpm exec oxfmt --check <files>` (fix: `--write`). Applicable gates include `pnpm check:code-quality:changed <base>` and `pnpm check:flaky-test-pattern-ratchet`.
Optional: `pnpm check:changed --maxWorkers=2`; if selection fans out excessively, use scoped checks and report limits. Use the PR base (default `origin/main`; `ORCA_CODE_QUALITY_BASE=<ref>` for stacks). `--base=HEAD` and dirty-only checks provide incremental evidence only.
> [!IMPORTANT]
> Always lint changed files before making/pushing-to PRs (so CI never fails on it)
> Run `pnpm check:changed` after your last edit/rebase, right before every push. Never `--no-verify`.
If selection fans out excessively, use scoped checks and report limits. Use the PR base (default `origin/main`; `ORCA_CODE_QUALITY_BASE=<ref>` for stacks). `--base=HEAD` and dirty-only checks provide incremental evidence only.
# Don't Poll the CI