You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3c5dc1b
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .agents/rules/ci.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -166,8 +166,12 @@ warning that host clippy `-D warnings` does not surface still fails CI.
166
166
CI always sets `CARGO_TERM_COLOR=always`, `CARGO_INCREMENTAL=0`, and
167
167
`RUSTFLAGS=-D warnings`. Compilation jobs also set `RUSTC_WRAPPER=sccache`;
168
168
`cargo-deny` clears it because metadata probes rustc without compiling and the
169
-
job deliberately skips sccache setup. `rust-cache` stores only Cargo registry/git
170
-
inputs (`cache-targets: false`); sccache owns compiler outputs. PRs read the
169
+
job deliberately skips sccache setup. The Linux `clippy`, `MSRV`, `rustdoc`, and
170
+
`tests (linux)` jobs keep Cargo's registry, git sources, and `target/` on a
171
+
per-job Namespace cache volume that only a push to master commits; each empties
172
+
`target/` once it passes `CACHED_TARGET_LIMIT_MB`, because Cargo never prunes it.
173
+
In the other jobs `rust-cache` stores only Cargo registry/git inputs
174
+
(`cache-targets: false`). sccache owns compiler outputs everywhere. PRs read the
171
175
default branch's sccache objects but do not write their isolated merge-ref cache.
172
176
173
177
The `fmt` job selects all workspace test jobs with the path filter in `ci.yml`. Source, fixture, test-resource, dependency, toolchain, and CI changes run those jobs; pure Markdown and unrelated design assets skip them. The workflow still reports each skipped job, so required checks do not remain pending. PRs use the full PR diff; pushes use the full pushed range. Local test commands always run, regardless of changed paths.
0 commit comments