Issue 868
Deploy and merge gates: run the full check set, and make the dependency audit actually run
Back to our planOpen
citech-debtpriority: high
Summary
A change can reach production without the browser tests, the knowledge check or the agent-context check having passed, and the dependency audit job can report success without having audited anything.
Details
Found in an outside review and confirmed in the repo:
- The deploy waits only for Type-check & Build, Prettier, ESLint and Dependency Audit (
.github/scripts/require-checks.sh). The merge ruleset adds PR Policy, Knowledge sync and Agent context, but not the end-to-end tests, which the workflow says become required once stable. They need a decision on when, and the deploy should wait for the same set the merge does. - The Dependency Audit job skips every step unless package files changed or it is the daily schedule, and a skipped job counts as success. On a push to main with no dependency change it passes without auditing.
Acceptance criteria
- Not done: The audit step executes on every push to main and every PR (or the check fails when it was skipped on a push), and a failing audit blocks the deploy.
- Not done: The deploy preflight waits for the same required checks as the merge ruleset.
- Not done: End-to-end tests are required when a PR changes the UI, detected by a file check that ignores comment-only and whitespace-only edits; the false-positive rate on the last few dozen merged PRs is recorded here before the check becomes required (owner decision, 2026-11-07, see the comment).
- Not done:
AGENTS.mdand the process docs list the same set. - Not done: A test or dry run shows a skipped or failed required check stops the deploy.
Generated by Claude Code, opens in a new tab