Handle successful builds awaiting signing - #52
Conversation
|
Warning Review limit reached
Next review available in: 11 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe status page now identifies builds awaiting signing, reports explicit build states, and renders a ChangesStatus and runtime integration
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant StatusPage
participant PackageStatus
participant Koji
participant Frontend
StatusPage->>PackageStatus: await package status
PackageStatus->>Koji: query tags for completed build
Koji-->>PackageStatus: return build tags
PackageStatus-->>StatusPage: return SIGNING or other status
StatusPage->>Frontend: render status
Frontend-->>StatusPage: apply status-signing class
🚥 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 |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 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 `@elnbuildsync/status.py`:
- Around line 239-264: Update the build-status logic so COMPLETE builds are
checked for a “-signing-pending” tag via listTags before branching on
tagged_builds. Reuse the existing BuildStatus.SIGNING and “Build awaiting
signing” handling, ensuring first builds without a stable-tag entry are detected
instead of falling through to “Build is not tagged.”
In `@tests/local_test_daemon.sh`:
- Around line 374-377: Quote each complete volume specification in the Docker
argument list, including the mounts using SCRIPT_DIR and PROJ_DIR, so repository
paths containing spaces remain a single argument. Preserve the existing
container destinations and mount options.
🪄 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: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: f5830570-2c82-4421-b95b-dbe8f10ed863
📒 Files selected for processing (7)
Dockerfileelnbuildsync/kojihelpers/connection.pyelnbuildsync/status.pyelnbuildsync/templates/status.htmlrequirements.txtrun.shtests/local_test_daemon.sh
💤 Files with no reviewable changes (1)
- requirements.txt
ebfdd20 to
eb6a48b
Compare
6afe673 to
6bae3bd
Compare
Now that we wait for Bodhi updates to reach stable, there's a new stage in the process that we need to account for on the status page. If a build is tagged with *-signing-pending, we will assign it to the SIGNING status, rather than treating it as FAILED. Fixes: fedora-eln#50 Signed-off-by: Stephen Gallagher <sgallagh@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Handle successful builds awaiting signing
Now that we wait for Bodhi updates to reach stable, there's a new stage
in the process that we need to account for on the status page. If a
build is tagged with *-signing-pending, we will assign it to the SIGNING
status, rather than treating it as FAILED.
Fixes: #50
Signed-off-by: Stephen Gallagher sgallagh@redhat.com
Summary by CodeRabbit
New Features
Style
Bug Fixes