Skip to content

fix(ci): recognize approved gates after GitHub rewrites details_url - #7272

Merged
zhangzujian merged 1 commit into
kubeovn:masterfrom
zhangzujian:fix/e2e-approved-executor-visibility
Aug 20, 2026
Merged

fix(ci): recognize approved gates after GitHub rewrites details_url#7272
zhangzujian merged 1 commit into
kubeovn:masterfrom
zhangzujian:fix/e2e-approved-executor-visibility

Conversation

@zhangzujian

Copy link
Copy Markdown
Member

What this PR does / why we need it

/test e2e core on #7260 recorded a durable approval, then the reducer
timed out waiting for:

details_url == https://github.com/kubeovn/kube-ovn/pull/7260?request=...&approval=...

The live check run is:

details_url: https://github.com/kubeovn/kube-ovn/runs/96297378780
conclusion: action_required
summary: The latest authorized x86 E2E approval is waiting for its trusted executor.

GitHub Actions rewrites details_url to the check's /runs/<id> URL, so
the reducer never dispatched the isolated executor. Match the reservation
by external_id, action_required, and the waiting-executor summary.

Which issue(s) this PR fixes

Follow-up to #7267 / #7268 / #7270. Seen on
https://github.com/kubeovn/kube-ovn/actions/runs/32326793300

The reducer waited for x86-e2e / required-gate with a custom pull-request
details_url. GitHub Actions overwrites that field to /runs/<id>, so
approved /test e2e never dispatched an executor. Match the durable
reservation by external_id, action_required, and summary instead.

Signed-off-by: Zujian Zhang <zhangzujian.7@gmail.com>
@zhangzujian
zhangzujian requested a review from oilbeater as a code owner August 20, 2026 03:58
@dosubot dosubot Bot added size:S This PR changes 10-29 lines, ignoring generated files. ci github_actions Pull requests that update GitHub Actions code labels Aug 20, 2026
@zhangzujian
zhangzujian merged commit c4c5e57 into kubeovn:master Aug 20, 2026
35 checks passed
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 32330134020

Warning

Build has drifted: This PR's base is out of sync with its target branch, so coverage data may include unrelated changes.
Quick fix: rebase this PR. Learn more →

Coverage decreased (-0.004%) to 32.744%

Details

  • Coverage decreased (-0.004%) from the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • 2 coverage regressions across 1 file.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

2 previously-covered lines in 1 file lost coverage.

File Lines Losing Coverage Coverage
pkg/ovs/ovn-nb-logical_router_route.go 2 75.73%

Coverage Stats

Coverage Status
Relevant Lines: 64588
Covered Lines: 21149
Line Coverage: 32.74%
Coverage Strength: 0.38 hits per line

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci github_actions Pull requests that update GitHub Actions code size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants