Skip to content

Resolve bundle parents by artifact name and filter trunk runs in code - #2987

Merged
joeharris76 merged 1 commit into
developfrom
fix/site-inputs-parent-artifact
Oct 16, 2026
Merged

joeharris76 merged 1 commit into
developfrom
fix/site-inputs-parent-artifact

Conversation

@joeharris76

Copy link
Copy Markdown
Collaborator

Parent bundles are named after the workflow run head SHA, which differs from the run head SHA, so recovery lookups by run head falsely report missing parents. Resolve parents by artifact name with distinct expired and missing states, stop the automatic scan at the first bundled ancestor, and enforce the develop branch and success conclusion on trunk runs in code instead of relying on list filters. The dispatch input now documents the 90-day artifact retention limit.

@joeharris76
joeharris76 force-pushed the fix/site-inputs-parent-artifact branch from c1cbdaa to 20c5b00 Compare October 16, 2026 03:36
… producing run

The bundle artifact is named after the core commit it was built from, which
is not always the head commit of the workflow run that uploaded it. Looking
parents up by run head therefore reported "missing" for the bundle that
production was actually deployed from, and every develop Site Inputs run
failed.

Resolve the parent by artifact name across the repository instead, then
check the run that produced each artifact in code: it must belong to this
repository, run site-inputs.yml on develop, and have succeeded. A bundle
from any other run is ignored, so widening the lookup does not widen what
is trusted.

Dispatch builds also now accept only trunk.yml push runs that ran on
develop and succeeded when recording the certifying run.
@joeharris76
joeharris76 marked this pull request as ready for review October 16, 2026 14:03
@joeharris76
joeharris76 force-pushed the fix/site-inputs-parent-artifact branch from 20c5b00 to 2d671f1 Compare October 16, 2026 14:03
@joeharris76
joeharris76 enabled auto-merge (squash) October 16, 2026 14:07
@joeharris76
joeharris76 merged commit 7ae0fad into develop Oct 16, 2026
70 checks passed
@joeharris76
joeharris76 deleted the fix/site-inputs-parent-artifact branch October 16, 2026 14:31

This branch was previously deployed

1 inactive deployment
oracle — 2d671f1c Deployed Oct 16, 2026 by joeharris76 via post #836
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