-
Notifications
You must be signed in to change notification settings - Fork 0
fix(strix): queue scans org-wide instead of racing NVIDIA NIM into shared-key 429s #1325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -92,6 +92,16 @@ jobs: | |
|
|
||
| strix: | ||
| if: github.event_name != 'pull_request_target' || github.event.action != 'closed' | ||
| # Org-wide scan serialization: NVIDIA NIM's shared tenant key 429s when | ||
| # every member repo's PR scans fire in parallel, and the gate correctly | ||
| # fails closed on provider unavailability -- so unrelated PRs were failing | ||
| # with zero findings purely from org-self-inflicted rate limits. A single | ||
| # broad group with cancel-in-progress: false QUEUES scans instead of | ||
| # racing them into the provider. The workflow-level per-PR group above | ||
| # still cancels superseded runs of the same PR. | ||
| concurrency: | ||
| group: strix-org-wide-nim-scan | ||
| cancel-in-progress: false | ||
|
Comment on lines
+102
to
+104
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔴 Queued scans are canceled, not serialized With Was this helpful? React with 👍 or 👎 to provide feedback.
Comment on lines
+102
to
+104
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📝 Info: Existing concurrency contract tests unaffected The new job-level Was this helpful? React with 👍 or 👎 to provide feedback. |
||
| # Large repositories can require a legitimate full-hour review. The scanner | ||
| # gets a 90-minute process budget and a 95-minute total retry budget; the | ||
| # 100-minute step and 120-minute job leave deterministic time to preserve | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Static group cannot serialize scans across repositories
Concurrency groups are scoped to a single repository, and this required workflow runs in each member repo's own context. The identical
strix-org-wide-nim-scangroup in different repos never serializes, so cross-repo scans still race into the shared NVIDIA NIM key.Prompt for agents
Was this helpful? React with 👍 or 👎 to provide feedback.