Skip to content

WIP: test#80493

Open
eggfoobar wants to merge 1 commit into
openshift:mainfrom
eggfoobar:wip-edge-notifier
Open

WIP: test#80493
eggfoobar wants to merge 1 commit into
openshift:mainfrom
eggfoobar:wip-edge-notifier

Conversation

@eggfoobar

@eggfoobar eggfoobar commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

This WIP change modifies the OpenShift edge-tooling gh-notifier CI step script to introduce a 5000-second (approximately 83-minute) sleep pause after publishing the PR dashboard HTML artifact to GCS.

Specifically, the change adds a sleep 5000 command immediately after copying ./gh-notifier/pr-dashboard.html to the artifact directory, which is used by Prow's Spyglass artifact viewer to display the edge-tooling PR summary.

Given the PR is marked as WIP, this appears to be a deliberate test modification—likely testing timeout behavior, artifact handling durability, or job duration constraints in the periodic job that runs this notifier step.

Signed-off-by: ehila <ehila@redhat.com>
@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 14, 2026
@eggfoobar

Copy link
Copy Markdown
Contributor Author

/pj-rehearse

@coderabbitai

coderabbitai Bot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

Walkthrough

A single line in openshift-edge-tooling-gh-notifier-commands.sh is changed to insert a sleep 5000 pause immediately after copying ./gh-notifier/pr-dashboard.html to ${ARTIFACT_DIR}/edge-tooling-pr-summary.html.

Changes

gh-notifier script sleep delay

Layer / File(s) Summary
Add sleep 5000 after artifact copy
ci-operator/step-registry/openshift/edge-tooling/gh-notifier/openshift-edge-tooling-gh-notifier-commands.sh
Line 69 is changed to call sleep 5000, introducing a 5000-second pause in the script after the PR dashboard HTML artifact is copied.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 14 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'WIP: test' is vague and generic. It does not clearly describe the actual change (adding a 5-second pause in a shell script for OpenShift edge tooling notifications). Replace with a descriptive title that reflects the actual change, such as 'Add sleep pause to gh-notifier script' or 'WIP: Debug edge-tooling-gh-notifier timing issue'.
✅ Passed checks (14 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.
Stable And Deterministic Test Names ✅ Passed Custom check targets Ginkgo test names, but PR modifies only a bash CI script with no test definitions or Ginkgo patterns.
Test Structure And Quality ✅ Passed This custom check evaluates Ginkgo test code quality, but the PR modifies a shell script (.sh file) with no Ginkgo test patterns. The check is not applicable to this PR.
Microshift Test Compatibility ✅ Passed PR modifies only a CI infrastructure shell script, not Ginkgo e2e tests. The custom check for MicroShift compatibility is not applicable.
Single Node Openshift (Sno) Test Compatibility ✅ Passed PR modifies a bash CI script, not Ginkgo e2e tests. SNO test compatibility check only applies to new Ginkgo e2e tests, which are absent here.
Topology-Aware Scheduling Compatibility ✅ Passed PR modifies only a CI shell script (adding sleep 5000), not deployment manifests, operator code, or controllers with scheduling constraints. Topology-aware scheduling check is not applicable to thi...
Ote Binary Stdout Contract ✅ Passed This check does not apply: the PR modifies a bash shell script for a CI utility (gh-notifier), not an OTE test binary requiring JSON stdout contract compliance.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed PR does not add any new Ginkgo e2e tests. Only a shell script CI operator file is modified with a sleep command addition.
No-Weak-Crypto ✅ Passed Pull request only adds a sleep statement to a shell script; no weak crypto, custom crypto implementations, or insecure secret comparisons are introduced.
Container-Privileges ✅ Passed The container-privileges check is not applicable to this PR. The PR modifies only a bash script and the associated K8s manifests contain no privileged settings, hostPID, hostNetwork, hostIPC, SYS_A...
No-Sensitive-Data-In-Logs ✅ Passed The PR adds only a sleep 5000 statement which performs no logging. The script properly protects sensitive data (tokens, webhooks) by using set +x and never echoing credentials to logs.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

@openshift-ci

openshift-ci Bot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: eggfoobar

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 14, 2026
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

@eggfoobar: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel.

@openshift-ci openshift-ci Bot requested review from fracappa and vanhalenar June 14, 2026 05:40
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

[REHEARSALNOTIFIER]
@eggfoobar: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
periodic-ci-openshift-eng-edge-tooling-main-pr-notifier N/A periodic Registry content changed

Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals.

Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse list to get an up-to-date list of affected jobs
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In
`@ci-operator/step-registry/openshift/edge-tooling/gh-notifier/openshift-edge-tooling-gh-notifier-commands.sh`:
- Line 69: The hard-coded sleep 5000 command in the
openshift-edge-tooling-gh-notifier-commands.sh script is unnecessarily blocking
execution for approximately 83 minutes after work is completed, which wastes CI
capacity and delays job completion. Remove the sleep 5000 line entirely from the
script to allow the step to complete immediately after its functional work is
done, eliminating this runtime behavior regression.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: bae1b2dd-9bd1-4004-abb0-72b884a56bcd

📥 Commits

Reviewing files that changed from the base of the PR and between 9b83f98 and 5b5978e.

📒 Files selected for processing (1)
  • ci-operator/step-registry/openshift/edge-tooling/gh-notifier/openshift-edge-tooling-gh-notifier-commands.sh

cp -f "./gh-notifier/pr-dashboard.html" "${ARTIFACT_DIR}/edge-tooling-pr-summary.html"
echo "Copied ./gh-notifier/pr-dashboard.html to ${ARTIFACT_DIR}/edge-tooling-pr-summary.html (Spyglass + GCS)."

sleep 5000

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Remove the hard-coded 5000s idle delay on the job path.

Line 69 blocks the step for ~83 minutes after work is done, which unnecessarily ties up CI capacity and delays periodic job completion for pr-notifier. This is a runtime behavior regression without functional benefit.

Suggested fix
- sleep 5000
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
sleep 5000
# (context before line 69)
# (no sleep statement - line 69 is removed)
# (any context after line 69 continues normally)
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@ci-operator/step-registry/openshift/edge-tooling/gh-notifier/openshift-edge-tooling-gh-notifier-commands.sh`
at line 69, The hard-coded sleep 5000 command in the
openshift-edge-tooling-gh-notifier-commands.sh script is unnecessarily blocking
execution for approximately 83 minutes after work is completed, which wastes CI
capacity and delays job completion. Remove the sleep 5000 line entirely from the
script to allow the step to complete immediately after its functional work is
done, eliminating this runtime behavior regression.

@openshift-ci

openshift-ci Bot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

@eggfoobar: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/rehearse/periodic-ci-openshift-eng-edge-tooling-main-pr-notifier 5b5978e link unknown /pj-rehearse periodic-ci-openshift-eng-edge-tooling-main-pr-notifier

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

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

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant