Skip to content

Allow forcing a run when only our indexing config changed - #29

Merged
Gabrielebattimelli merged 1 commit into
mainfrom
fix/force-reindex
Aug 26, 2026
Merged

Allow forcing a run when only our indexing config changed#29
Gabrielebattimelli merged 1 commit into
mainfrom
fix/force-reindex

Conversation

@Gabrielebattimelli

Copy link
Copy Markdown
Member

Why

The first run after widening MODULE_NAMES (#28) skipped everything and reported success in six minutes:

PhysLib unchanged at f6d7fe3 — nothing to do.

The skip check compares PhysLib's HEAD against LAST_PHYSLIB_SHA. That tracks PhysLib, and says nothing about whether our config changed — so widening the indexed namespaces left real work to do at an unchanged SHA, and the run declined to do it.

What

  • force input on workflow_dispatch — bypasses the SHA comparison. Use after widening MODULE_NAMES.
  • Key the lake build cache on the workflow file — which libraries were compiled is part of what that cache holds, so a Physlib-only build shouldn't be restored verbatim now that two more libraries are in scope. restore-keys still falls back to a same-SHA build, so this is a partial-reuse hint rather than a cold rebuild.

Widening MODULE_NAMES to PhyslibAlpha and QuantumInfo left work to do at an
unchanged PhysLib SHA, but the skip check only compares that SHA against
LAST_PHYSLIB_SHA. The first run after the change therefore skipped every step
and reported success in six minutes, having indexed nothing.

Add a force input to workflow_dispatch that bypasses the SHA comparison, and
key the lake build cache on the workflow file too -- which libraries were
compiled is part of what that cache holds, so a Physlib-only build should not
be restored verbatim once more libraries are in scope.
@Gabrielebattimelli
Gabrielebattimelli merged commit 79e516e into main Aug 26, 2026
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