ci: energy-hardware fetches the run's own commit by its hash #669

Closed
dcharlot wants to merge 1 commit from ci/energy-hardware-fetch-by-sha into main

2026-11-06

Transaction Science
ci: energy-hardware fetches the run's own commit by its hash
Some checks failed
energy meters on real hardware / sink decode table · per-task energy and the GPU rail on macOS (pull_request) Failing after 6s
standards workspaces build + test / which workspaces this change touches (pull_request) Successful in 8s
standards workspaces build + test / macOS energy backends (pull_request) Has been skipped
repository checks / lockfiles, advisories, tests in CI, workflow hygiene, spec and section references, public text (pull_request) Successful in 4m47s
energy meters on real hardware / RAPL and NVML on jetson-hub (pull_request) Successful in 42s
energy meters on real hardware / sink decode table · RAPL on jetson-hub (NVML surveyed) (pull_request) Successful in 2m58s
The two linux-hw jobs fetched the branch a run was started for and failed when
it had moved, on the grounds that a newer run would test it. On main the push
that moves the branch rarely touches this workflow's paths, so no newer run
follows: the run after the merge of #650 and #651 waited behind the one
linux-hw runner, main moved on two minutes before it started, and both jobs
failed in five seconds having tested nothing. Fetching the commit by hash
tests exactly what the run was started for; the forge serves any reachable
commit that way, a pull request's head included.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 07:16:39 -05:00