Repository navigation
fix(security): preserve accepted bulk scans on v1.7 - #1248
Conversation
|
Deployment failed for project drydock-website with the following error: |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
Included review availability: Your plan provides up to 2 included reviews per hour; 1 remains after this review. 📝 WalkthroughWalkthrough
Suggested labels: Priority: ➖ Normal Change: Bug fix Merge Risk: ⚪ Minimal · up to The bulk scan behavior preserves accepted asynchronous work after a normal request completion while retaining cancellation for incomplete disconnects. No current merge-blocking risk is identified. 🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
📝 Generate docstrings
🧪 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
@greptileai Review exact head |
|
biggest-littlest
left a comment
There was a problem hiding this comment.
Verified the reviewed 1.7 backport and passing required checks. Completed requests keep accepted scans running; incomplete requests retain cancellation.
Forward-port of #1247 to dev/v1.7. Keep this behind the 1.6 merge.
Normal Node request completion emits
closewithreq.complete=true. Treating every close as cancellation stopped an accepted six-container scan after its first four scans. Abort queued work only when the closed request is incomplete.This preserves v1.7's 200-ID limit, deduplication, scan concurrency and current persistence behavior. The docs distinguish accepted asynchronous work from an incomplete request; no authentication, authorization or scanning policy changes.
Verification:
{}: six accepted, only four scanned.This does not fix the separate UI progress-event correlation race or publish a release.
🔧 Changed
scanAllnow cancels queued scans only when the request closes before completion.202.{}POST requests.🐛 Fixed
Concerns: