Skip to content

CI: Restore baseline images from the dvc-cache artifact in the Docs and DVC image diff workflows - #9306

Merged
Esteban82 merged 2 commits into
masterfrom
ci-docs-dvc-cache-first
Nov 18, 2026
Merged

Esteban82 merged 2 commits into
masterfrom
ci-docs-dvc-cache-first

Conversation

@Esteban82

Copy link
Copy Markdown
Member

Same as #9258 for the Docs and DVC image diff workflows: download the dvc-cache artifact first, so dvc pull only fetches what is missing. In the Docs workflow the baseline step drops from ~25 min to under 35 s per OS (run 44218556648). DVC image diff also gets actions: read, needed to download the artifact.

🤖 Generated with Claude Code (Opus 5.5)

Esteban82 and others added 2 commits November 17, 2026 21:52
…orkflow

Port #9258 from tests.yml. Each Docs job spent 23-43 min pulling ~1200
baseline images from DagsHub, and two recent master runs were cancelled
by the 45 min job timeout. Download the dvc-cache artifact first, then
let `dvc pull` fetch only what it lacks. `dvc pull` also re-verifies the
md5 of every cached object, which the old `dvc checkout --force`
fallback did not.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…diff

Same pattern as #9258. The first `dvc pull` from DagsHub took 28-71 min
in recent runs; the job now downloads the dvc-cache artifact (master's
baselines) and `dvc pull` only fetches the PR's new or changed images.
Add `actions: read`: the workflow declares explicit permissions, so the
token had no Actions access and the old artifact fallback could never
have downloaded anything.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Esteban82
Esteban82 requested review from a team, joa-quim and seisman November 18, 2026 02:11
@Esteban82 Esteban82 added the maintenance Boring but important stuff for the core devs label Nov 18, 2026
@Esteban82
Esteban82 merged commit d36e6f7 into master Nov 18, 2026
17 checks passed
@Esteban82
Esteban82 deleted the ci-docs-dvc-cache-first branch November 18, 2026 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Boring but important stuff for the core devs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants