Skip to content

Fix golden-record odeint path after the src/odeint/ move#279

Merged
krystophny merged 1 commit into
mainfrom
fix/golden-record-odeint-path
May 29, 2026
Merged

Fix golden-record odeint path after the src/odeint/ move#279
krystophny merged 1 commit into
mainfrom
fix/golden-record-odeint-path

Conversation

@krystophny

Copy link
Copy Markdown
Member

The build_test_golden_record_odeint job on main was red. fetch_golden_record.sh
read src/odeint_allroutines.f90 from the latest tag, but odeint moved to
src/odeint/odeint_allroutines.f90 before v2026.04.13. The old top-level path is
gone from the tag, so git show "$LATEST_TAG:src/odeint_allroutines.f90" produced an
empty golden file and the regression comparison broke. This was the first main.yml
run since the move surfaced it.

One-line fix: read the post-move path. v2026.04.13 contains
src/odeint/odeint_allroutines.f90, and the module names still match the script's
seds, so the golden-record comparison keeps doing its job.

Split out of #278 so it can merge first and unbreak main independently of the
release-gate change.

Verification

Failing before, on main (golden file empty, comparison fails):

$ git show v2026.04.13:src/odeint_allroutines.f90
fatal: path 'src/odeint_allroutines.f90' does not exist in 'v2026.04.13'

Passing after (post-move path exists in the tag):

$ git show v2026.04.13:src/odeint/odeint_allroutines.f90 | head -1
!> High-Performance ODE Integration Module

The identical commit on #278 turned build_test_golden_record_odeint green
(full CI: build+test, Sphinx docs, dashboard, Pages deploy). CI on this branch
is running.

odeint moved to src/odeint/odeint_allroutines.f90 before v2026.04.13, but
fetch_golden_record.sh still read the old top-level path from the latest tag,
which broke build_test_golden_record_odeint on main (surfaced here as the first
main.yml run since the move). Read the current path instead.
@krystophny krystophny enabled auto-merge (squash) May 29, 2026 05:40
@krystophny krystophny merged commit 243873a into main May 29, 2026
3 checks passed
@krystophny krystophny deleted the fix/golden-record-odeint-path branch May 29, 2026 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant