ci(e2e): split ok-to-test label trigger into caller workflows - #5502
Conversation
Non-ok-to-test labels no longer start E2E/Functional suite runs. ok-to-test is handled by thin callers via workflow_call. Labeled events never cancel an in-progress suite (auth only, not a retest). Signed-off-by: Barak Korren <bkorren@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
PR Summary by QodoCI: split ok-to-test label handling into caller workflows for E2E/Functional
AI Description
Diagram
High-Level Assessment
Files changed (5)
|
|
🤖 Finished Review · ✅ Success · Started 6:02 AM UTC · Completed 6:14 AM UTC |
Site previewPreview: https://b2ffea93-site.fullsend-ai.workers.dev Commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Code Review by Qodo
1.
|
ReviewFindingsMedium
Low
Previous runReviewFindingsMedium
Low
Labels: PR modifies CI workflow files for e2e and functional test triggers |
Signed-off-by: Barak Korren <bkorren@redhat.com>
Reusable workflows cannot elevate GITHUB_TOKEN beyond the caller's ceiling. Grant contents/pull-requests/id-token on the thin callers. Signed-off-by: Barak Korren <bkorren@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
|
🤖 Finished Review · ✅ Success · Started 10:04 AM UTC · Completed 10:18 AM UTC |
|
🤖 Finished Retro · ✅ Success · Started 10:24 AM UTC · Completed 10:35 AM UTC |
Retro: PR #5502 — ci(e2e): split ok-to-test label trigger into caller workflowsWorkflow shape: Human-authored CI PR → 2 review agent runs → human approval → merge. No code/fix/triage agents involved. Timeline
Review quality analysisWhat the review agent missed: The This is a recurring pattern. This is at least the 3rd instance in 16 days:
Existing open issues that address this gap:
No new proposals filed for the permissions gap — the existing issues comprehensively cover this improvement area. This retro provides same-day corroborating evidence that these issues remain high-priority. What the review agent got right:
Cost and efficiency
Agents repoDiscovered from run logs: |
Summary
labeled/ok-to-testhandling out of the main E2E and Functional Tests workflows into thin caller workflows thatworkflow_callthe suitesok-to-testlabels (e.g.ready-for-review) no longer create skipped checks under E2E Tests / Functional TestsFollow-up to #5457 / #5455 residual skip noise (seen on #5499). Related: #5479 (label-filter sync mostly superseded).
Changes
.github/workflows/e2e.yml/functional-tests.yml— addworkflow_call, droplabeledfrom triggers, simplify gateif:,cancel-in-progress: falsewhenaction == labeled.github/workflows/e2e-ok-to-test.yml/functional-ok-to-test.yml— thinlabeledcallers (if: label == ok-to-test)docs/guides/dev/e2e-testing.md— document the split trigger modelTest plan
make lint(pre-commit / actionlint) on staged filesready-for-review: E2E Tests runs from open; E2E ok-to-test shows skippedrun; opened run not cancelledok-to-testwhile e2e is running: opened run keeps going (not cancelled)ok-to-test: suite starts via the thin callerrun / e2echeck name on the fork/ok-to-testpath (update ruleset only if needed)Made with Cursor