fix(queue): surface a finding when capture-unobtainable degrades the screenshot-table gate - #10157
fix(queue): surface a finding when capture-unobtainable degrades the screenshot-table gate#10157bitfathers94 wants to merge 1 commit into
Conversation
…screenshot-table gate maybeAddScreenshotTableAdvisoryFinding always early-returned once the configured action wasn't "advisory", so a close/block gate that JSONbored#9881 degraded to advisory enforcement never actually produced the advisory finding its own comments claimed it would. The degrade was silently swallowed: no close, no hold, and no visible notice for the maintainer either. Thread captureUnobtainable into the finding builder and only skip it when the action isn't advisory AND enforcement wasn't degraded. On a degraded gate, append the finding with the maintainer-facing remedy alongside the gate's own reason. Extract the headSha/visualCaptureUnobtainableSha conjunction into a shared helper so the enforcement and advisory call sites can't evaluate the same fact differently.
|
Caution 🛑 LoopOver review result - fixes requiredReview updated: 2026-07-31 10:40:55 UTC
Review summary Nits — 5 non-blocking
CI checks failing
Decision drivers
Context & advisory signals — never blocks the verdict
Linked issue satisfactionAddressed Review context
Contributor next steps
Signal definitions
🧪 Chat with LoopOverAsk LoopOver a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://loopover.ai/docs/loopover-commands 🧪 Experimental — new and may change. Decision record
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #10157 +/- ##
===========================================
- Coverage 92.21% 81.22% -10.99%
===========================================
Files 931 283 -648
Lines 114048 62218 -51830
Branches 27543 8242 -19301
===========================================
- Hits 105165 50535 -54630
- Misses 7584 11271 +3687
+ Partials 1299 412 -887
Flags with carried forward coverage won't be shown. Click here to find out more.
|
fix(queue): surface a finding when capture-unobtainable degrades the screenshot-table gate
maybeAddScreenshotTableAdvisoryFinding always early-returned once the configured
action wasn't "advisory", so a close/block gate that #9881 degraded to advisory
enforcement never actually produced the advisory finding its own comments claimed
it would. The degrade was silently swallowed: no close, no hold, and no visible
notice for the maintainer either.
Thread captureUnobtainable into the finding builder and only skip it when the
action isn't advisory AND enforcement wasn't degraded. On a degraded gate, append
the finding with the maintainer-facing remedy alongside the gate's own reason.
Extract the headSha/visualCaptureUnobtainableSha conjunction into a shared helper
so the enforcement and advisory call sites can't evaluate the same fact differently.
Closes #10060