## Summary
- Re-enable `lint` as the Linux writer of the shared `build` rust-cache
entry on `main` (revert the save-side of #9298)
- Picks up pre-existing prettier drift in two docs files flagged by the
pre-commit hook
## Why
After #9297 (release-plz save-if: false) and #9298 (lint save-if:
false), no Ubuntu job remained that saved the shared `build` cache. The
other jobs with `shared-key: build` that still save (`unit` on macOS,
`windows-unit`) use different per-OS cache entries, so the Linux `build`
entry had no writer at all. It would stay stuck at whatever was saved
before #9298 and eventually be evicted (7-day LRU / 10GB cap) with
nothing to refresh it — which is why the most recent `release-plz` run
didn't restore a fresh cache.
`lint` is a good writer choice: it runs the most thorough build (`cargo
clippy --all-features --all-targets` plus `cargo
deny`/`msrv`/`machete`), producing the most complete `target/` for
downstream restorers.
## Test plan
- [ ] Next `main` push: verify lint job saves the `build` cache and
subsequent PRs restore it
*This PR was generated by an AI coding assistant.*
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Low Risk**
> Low risk: only adjusts CI cache save conditions and tweaks markdown
formatting in docs, with no production code or runtime behavior changes.
>
> **Overview**
> Re-enables saving the shared `rust-cache` `build` entry from the
Ubuntu `lint` job by changing `save-if` to only write on
`refs/heads/main`, ensuring Linux builds keep the cache refreshed.
>
> Also fixes markdown admonition formatting in two docs pages
(`backend-plugin-development.md`, `url-replacements.md`) to match the
expected warning callout style.
>
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
acfdeaf. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Summary
release-plzrestoring the shared Rustbuildcacherelease-plzfrom writing that cache back to GitHub ActionsWhy
release-plzrefresh the oversized shared Linux Rust cache onmainTesting
This PR was generated by an AI coding assistant.
Note
Low Risk
Workflow-only change that tweaks GitHub Actions caching behavior; low functional risk aside from potentially affecting build speed/cache freshness.
Overview
The
release-plzGitHub Actions workflow now configuresSwatinem/rust-cachewithsave-if: false, so it will restore the sharedbuildcache but won’t save/update that cache after the run.Reviewed by Cursor Bugbot for commit b841ab2. Bugbot is set up for automated code reviews on this repo. Configure here.