Skip to content

SCHED-2007: select E2E builds by commit SHA - #2957

Merged
ChessProfessor merged 1 commit into
soperator-release-4.0from
chessprofessor/SCHED-2007/select-e2e-build-by-head-sha-4.0
Sep 10, 2026
Merged

ChessProfessor merged 1 commit into
soperator-release-4.0from
chessprofessor/SCHED-2007/select-e2e-build-by-head-sha-4.0

Conversation

@ChessProfessor

Copy link
Copy Markdown
Collaborator

Problem

GitHub’s branch-filtered workflow-runs API can return a stale but successful response, causing E2E to select an outdated build with incompatible CRDs or artifacts. This caused another SCHED-2007 reproduction in run https://github.com/nebius/soperator/actions/runs/34243545823.

The behavior matches the GitHub Actions API issue described in this discussion.

Solution

Search the latest 15 first-parent commits and query one_job.yml runs by exact commit SHA. Retry an empty exact- SHA response up to three attempts, skip running or unsuccessful builds without waiting, and select the first successful build with a non-expired version artifact.

Testing

Release Notes

@ChessProfessor
ChessProfessor merged commit 9f6db0f into soperator-release-4.0 Sep 10, 2026
26 of 34 checks passed
@ChessProfessor
ChessProfessor deleted the chessprofessor/SCHED-2007/select-e2e-build-by-head-sha-4.0 branch September 10, 2026 08:39

This branch was previously deployed

1 inactive deployment
e2e — cabbbd9f Deployed Sep 9, 2026 by ChessProfessor via e2e-test (MDC_B200) #8715
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants