Repository navigation
The fast preflight runs the tests a change reaches, within a cap - #850
Merged
Merged
Conversation
- The fast run executed only the test files a branch added or changed, so a change to source alone reached CI having run no test locally. It now lists every test file the change reaches through vitest's import graph (vitest list --changed) and runs them when there are at most 60; above that (a change to a module most files import reaches hundreds, which is the whole suite and CI's job) it runs the branch's own and says so. - The dashboard's checks also run when src/ changes: its tests import the server's modules. - Lint and the type checks keep their work between runs on a developer's machine (eslint --cache, tsc --incremental, both under node_modules/.cache); CI starts fresh, so nothing changes there. - The refusal on uncommitted changes no longer suggests a stash, which in a repository with several worktrees is shared by all of them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Iris gate — 1 of 2 tripped
|
| Trace | Verdict | Basis | Rules, classes or missing inputs | Evidence |
|---|---|---|---|---|
94c308f70012232e2ad405ae5169e777 |
failed | detector_veto + risk_over_loss |
no_pii, pii_leak, credential_leak | no_pii: AWS Access Key (output 45–65) |
| Verdict basis | Traces |
|---|---|
detector_veto |
2 |
clean |
1 |
Unjudged questions: task_completed (3), tool_use_correct (3) — a trace that did not carry what a rule needs.
tests/fixtures/ci-gate/traces.ndjson · 3 evaluated · dataset release-gate: 2 in the gate · exit 1 · what the bases mean
Iris gate — 1 stored, nothing tripped
|
| Verdict basis | Traces |
|---|---|
clean |
1 |
Unjudged questions: task_completed (1), tool_use_correct (1) — a trace that did not carry what a rule needs.
tests/fixtures/ci-gate/clean.ndjson · 1 evaluated · exit 0 · what the bases mean
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
vitest list --changed), when there are at most 60. Above that, a change to a module most files import reaches hundreds, which is the whole suite and CI's job: it runs the branch's own and says sodashboard/changedsrc/changes, since the dashboard's tests import the server's moduleseslint --cacheandtsc --incremental, both kept undernode_modules/.cache. CI starts fresh, so nothing changes thereMeasured on this branch, which touches
package.json, so every test counts as reached: the fast preflight's steps took 56–61 s, against 71–114 s on earlier branches. Listing the reached tests adds about 25 s. On the change that fenced stored text, the listing reached 105 test files; on the Dependabot change, none.Tests
tests/preflight-mirrors-ci.test.ts: the reached files run when there are few, the branch's own when there are more than the cap (with the sentence saying so), the folders with their own CI jobs are left out, and the dashboard's checks followsrc/changes but the website's do not.npm run preflightpassed on this commit, twice.🤖 Generated with Claude Code