Skip to content

refactor(ci): the timing-history read becomes the action #69 added - #70

Merged
sotashimozono merged 1 commit into
mainfrom
use-read-history-action
Aug 4, 2026
Merged

sotashimozono merged 1 commit into
mainfrom
use-read-history-action

Conversation

@sotashimozono

Copy link
Copy Markdown
Member

The second half of #69, which could not be in it.

#69 had to do two things at once and could only merge one form of the step:

  • the pre-Put the timing-history read in the states a fresh consumer is in #68 inline block went back, unbreaking every consumer on merge;
  • actions/read-history/ was added, because uses: …@main resolves against main and the
    action has to be there before a workflow can name it. Measured, with both halves in one PR:
    Can't find 'action.yml' … for action 'QAtlasHub/TestShards.jl/actions/read-history@main',
    before any step ran.

The action is on main now, so the duplicate goes. What is left is one copy of the read, in a
file read-history.test.sh runs unchanged, reachable from every caller because an action's own
files are fetched with it — into the runner's action directory, not into the consumer's workspace
(which is why this is an action and not a second actions/checkout of this repository: that would
put src/*.jl inside the consumer's coverage sweep).

The verification this repository cannot do by itself

TestShards is its own caller, so a green run here does not exercise the consumer path — that is
the exact shape of #54 and of #69. So the check is deliberate: ParaLinearAlgebra.jl #426 is
re-run against this immediately after the merge
, and its "Shard labels" job either finds the
action or does not.

#69 restored the pre-#68 inline block to unbreak every consumer, and added
`actions/read-history` in the same PR so that a workflow could name it — `uses: …@main`
resolves against main, so the action had to be there first (measured: with both halves in one
PR the run died at `Can't find 'action.yml' … @main` before any step executed).

The action is on main now, so the duplicate goes. What is left is one copy of the read, in a
file that `read-history.test.sh` runs unchanged, reachable from every caller because an
action's own files are fetched with it.

This repository cannot verify the consumer half of that — it is its own caller, which is the
whole shape of #54 and #69 — so the check is deliberate rather than implied: a downstream PR
(ParaLinearAlgebra.jl #426) is re-run against this immediately after the merge.
@github-actions github-actions Bot added the chore label Aug 4, 2026
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

📚 Docs preview: https://codes.sota-shimozono.com/TestShards.jl/previews/PR70/

(updates on each push to this PR)

@codecov

codecov Bot commented Aug 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@sotashimozono
sotashimozono merged commit 085d1ad into main Aug 4, 2026
30 checks passed
@sotashimozono
sotashimozono deleted the use-read-history-action branch August 4, 2026 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant