Skip to content

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

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

ROX-34722: Switch to periodic konflux retest#3908
kurlov wants to merge 2 commits 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: b0ac9162-c751-4518-868e-a0fb3ad9d9b8

📥 Commits

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

📒 Files selected for processing (1)
  • .github/workflows/konflux-auto-retest.yml
🚧 Files skipped from review as they are similar to previous changes (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.


📝 Summary

Summary by CodeRabbit

  • New Features
    • Added scheduled automatic retesting at regular intervals.
    • Added support for manually triggering a retest.
    • Updated retest requests to use the /konflux-retest command.

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 9a797

The retest automation changes to periodic and manual workflow execution have no identified merge-blocking risk.

🚥 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 Konflux retesting to a periodic process.
Description check ✅ Passed The description includes the change summary, checklist, and testing section. It identifies the test pull request used for validation. The checklist items remain unchecked, but this is non-critical bec…
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.
✨ Finishing Touches
🧪 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

codecov-commenter commented Sep 1, 2026

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 (9a79789).
⚠️ Report is 6 commits behind head on master.
✅ 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