Skip to content

Commit 8e0c9f4

Browse files
jcschaffclaude
andcommitted
docs(building): a green fast lane can mean nothing ran
The should-run gate reports CI-Test-group-Fast as pass when it skips, so a green check has two meanings. Record where to look to tell them apart, now that the gate writes its decision and its comparison base to the job summary. This commit is deliberately docs-only and deliberately last: with the bug in #2034 this branch would have skipped build, every Fast shard and Quarkus, and reported green. With the fix in the previous commit the lane runs, because the branch as a whole touches ci.yml. The PR is its own regression test. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01D71LBYmQNf5J94wPqr81Jx
1 parent bbfb1b3 commit 8e0c9f4

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

docs/BUILDING.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,26 @@ assuming it went missing.
157157

158158
See issue [#2038](https://github.com/virtualcell/vcell/issues/2038).
159159

160+
## A green fast lane can mean "nothing ran"
161+
162+
The `should-run` gate in `ci.yml` skips the fast lane when a change touched only
163+
documentation, and reports the aggregate `CI-Test-group-Fast` as **pass** when it does.
164+
That is intended, but it means a green check has two meanings: "the tests passed" and
165+
"there were no tests to run".
166+
167+
To tell them apart, open the `should-run` job. It writes its decision to the run summary:
168+
169+
```
170+
### CI lane: SKIPPED - nothing was compiled or tested
171+
Reason: only documentation changed (docs/MESSAGING.md)
172+
Base for the comparison: `a1b2c3d`
173+
```
174+
175+
It used to be worth checking this by hand, because the gate judged a whole new branch by
176+
its final commit — a branch ending in a docs commit skipped everything and looked green
177+
(issue #2034, fixed). The summary line exists so that class of thing is visible rather
178+
than inferred.
179+
160180
## Each git worktree is its own build environment
161181

162182
`git worktree` gives you an isolated checkout, and the build state is isolated with

0 commit comments

Comments
 (0)