[DRAFT] OCPCRT-490 - Improve launch notification sequence for custom builds#628
[DRAFT] OCPCRT-490 - Improve launch notification sequence for custom builds#628thiagoalessio wants to merge 4 commits into
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: thiagoalessio The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
📝 WalkthroughWalkthroughChangesJob startup flow
Estimated code review effort: 3 (Moderate) | ~20 minutes Suggested reviewers: Sequence Diagram(s)sequenceDiagram
participant handleJobStartup
participant waitForJob
participant prowJobIsStillRunning
participant SyncLoop
handleJobStartup->>waitForJob: wait for cluster availability
waitForJob-->>handleJobStartup: cluster never became available
handleJobStartup->>prowJobIsStillRunning: query ProwJob status
prowJobIsStillRunning-->>handleJobStartup: ProwJob still running
handleJobStartup->>SyncLoop: defer completion handling
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
oh, all the checks are aborted when PR is marked as "draft" :( |
There was a problem hiding this comment.
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 `@pkg/manager/manager.go`:
- Around line 2476-2477: Update the cluster-availability branch in the job
monitoring flow to return immediately after logging that a still-running ProwJob
is being deferred to the sync loop. Ensure execution does not continue to
m.finishedJob(job) for this case, while preserving the existing behavior for
other branches.
🪄 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: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 69310bf2-aaf3-456a-8b2b-ad09b3e6c2cb
📒 Files selected for processing (2)
pkg/manager/manager.gopkg/manager/prow.go
When the cluster-availability timeout expires but the ProwJob is still running, return immediately instead of falling through to finishedJob(). This avoids clearing RequestedChannel and storing stale job state while the sync loop is expected to pick up the still-running job. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
@thiagoalessio: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
/hold
Summary by CodeRabbit
New Features
Bug Fixes