Skip to content

fix(internal-explorer): log shadow candidate fetch failures - #89

Closed
jowparks wants to merge 1 commit into
mainfrom
fix/log-shadow-candidate-failures
Closed

fix(internal-explorer): log shadow candidate fetch failures#89
jowparks wants to merge 1 commit into
mainfrom
fix/log-shadow-candidate-failures

Conversation

@jowparks

Copy link
Copy Markdown

fetchShadowCandidatesBatch returned an empty map for every failure — unreachable host, TLS error, non-2xx, timeout, malformed payload — with no logging, so a misconfigured shadow-metrics URL was indistinguishable from a block that genuinely has no shadow candidates. It now goes through fetchShadowMetrics for typed errors, logs them, and keeps the underlying fetch error as the cause.

fetchShadowCandidatesBatch returned an empty map for every failure mode --
unreachable host, TLS error, non-2xx, timeout, malformed payload -- without
logging, so a misconfigured shadow-metrics URL was indistinguishable from a
block that genuinely has no shadow candidates. Route it through
fetchShadowMetrics for typed errors, log them, and preserve the underlying
fetch error as the cause.

Co-authored-by: OpenCode <opencode-noreply@coinbase.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@cb-heimdall

Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@vercel

vercel Bot commented Aug 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
omni-ui Ready Ready Preview Aug 25, 2026 5:06pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants