Skip to content

ROX-34722: Switch to periodic konflux retest - #3908

Open
kurlov wants to merge 1 commit into
masterfrom
akurlov/ROX-34722-switch-to-periodic-konflux-retest
Open

ROX-34722: Switch to periodic konflux retest#3908
kurlov wants to merge 1 commit into
masterfrom
akurlov/ROX-34722-switch-to-periodic-konflux-retest

Conversation

@kurlov

@kurlov kurlov commented Sep 1, 2026

Copy link
Copy Markdown
Member

Description

Updates the Konflux retest process to run periodically, with the goal of optimizing GitHub Actions invocations.

Checklist

  • Investigated and inspected CI test results
  • Updated documentation accordingly

Automated testing

  • Added unit tests
  • Added integration tests
  • Added regression tests

If any of these don't apply, please comment below.

Testing Performed

test: https://github.com/stackrox/test-konflux-repo/pull/5

@kurlov
kurlov requested a review from a team as a code owner September 1, 2026 13:07
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

/retest collector-on-push

@coderabbitai

coderabbitai Bot commented Sep 1, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Central YAML (base), Organization UI (inherited)

Review profile: CHILL

Plan: Team

Run ID: ea48a376-a074-41c9-85cf-10b722eb6334

📥 Commits

Reviewing files that changed from the base of the PR and between 9c3e526 and 8e4071d.

📒 Files selected for processing (1)
  • .github/workflows/konflux-auto-retest.yml

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Summary by CodeRabbit

  • New Features
    • Added scheduled automatic retesting at regular intervals.
    • Added support for manually triggering a retest.
    • Updated retest handling to use the /konflux-retest command.
  • Bug Fixes
    • Improved detection and retrying of failed builds.

Walkthrough

The Konflux auto-retest workflow now runs every ten minutes at scheduled offsets and supports manual dispatch. It calls a periodic reusable workflow with read permissions and uses /konflux-retest instead of a check-name suffix.

Changes

Konflux retest automation

Layer / File(s) Summary
Schedule and reusable workflow wiring
.github/workflows/konflux-auto-retest.yml
The workflow replaces event-driven triggers with a cron schedule and workflow_dispatch. It updates the reusable workflow reference, adds read permissions, renames the job to retest, and passes retest_command: '/konflux-retest'.

Estimated code review effort: 2 (Simple) | ~10 minutes

Merge Risk: ⚪ Minimal · up to 8e407

This PR changes the periodic Konflux retest workflow in a localized CI configuration update. No actionable merge-blocking risk remains beyond normal checks and review.

Suggested reviewers: erthalion

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: switching the Konflux retest process to a periodic schedule.
Description check ✅ Passed The description explains the change and its goal, includes the required sections, and identifies the test pull request. The unchecked checklist items are acceptable because the change is limited to wo…
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description explains the change and its goal, includes the required sections, and identifies the test pull request. The unchecked checklist items are acceptable because the change is limited to workflow configuration.

Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch akurlov/ROX-34722-switch-to-periodic-konflux-retest

Comment @coderabbitai help to get the list of available commands.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 27.43%. Comparing base (9c3e526) to head (8e4071d).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3908   +/-   ##
=======================================
  Coverage   27.43%   27.43%           
=======================================
  Files          94       94           
  Lines        5406     5406           
  Branches     2535     2535           
=======================================
  Hits         1483     1483           
  Misses       3198     3198           
  Partials      725      725           
Flag Coverage Δ
collector-unit-tests 27.43% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

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.

2 participants