Skip to content

fix(sentry): drop expected upstream-outage 503s from capture - #176

Merged
harlan-zw merged 2 commits into
mainfrom
fix/issue-175
Sep 8, 2026
Merged

harlan-zw merged 2 commits into
mainfrom
fix/issue-175

Conversation

@harlan-github-agent

Copy link
Copy Markdown
Contributor

🔗 Linked issue

Closes #175

❓ Type of change

  • 📖 Documentation
  • 🐞 Bug fix
  • 👌 Enhancement
  • ✨ New feature
  • 🧹 Chore
  • ⚠️ Breaking change

📚 Description

The weekly Sentry check-in opened this issue. When a skill's upstream is down, the registry handlers answer an intended 503 and record an operational wide event, but Nitro also forwards the thrown error to Sentry as unhandled. So a failure class that is already handled and observed lands a second time, and SKILLD-11 and SKILLD-1E keep growing on it. From the check-in that found it:

Error: Skill source is unavailable upstream, culprit GET /api/skills-raw/dimillian/skills/app-store-changelog

The server Sentry config now drops exceptions whose message ends in unavailable upstream, whether they arrive as the thrown error or as a serialized exception value. The gone-source 410 (Skill source is gone upstream) is a permanent verdict rather than an outage, so it still captures.

I matched the shared unavailable upstream suffix instead of the three exact messages, so a future handler reusing the phrasing gets the same drop. If that reads too broad, exact strings are the stricter choice.

🤖 AI disclosure: Harlan Agent Kit modified this description. My AI open-source policy.

@harlan-github-agent harlan-github-agent Bot added harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. harlan-agent-pending The automated Review is waiting on a gate for this head commit. and removed harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. labels Sep 7, 2026
@harlan-github-agent

harlan-github-agent Bot commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor Author

🤖 MERGED

Harlan Agent Kit posted this automated review. It is not Harlan's personal review or approval. AI open source policy. Last updated: 2026-09-08 05:33 UTC.

GitHub merged this pull request. No further automated Review will run.

@harlan-github-agent harlan-github-agent Bot added harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. harlan-agent-pending The automated Review is waiting on a gate for this head commit. harlan-agent-ready The automated Review passed every gate on this head commit. and removed harlan-agent-pending The automated Review is waiting on a gate for this head commit. harlan-agent-running An Agent holds a Task on this issue or pull request right now. harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. labels Sep 8, 2026
@harlan-zw
harlan-zw merged commit c318148 into main Sep 8, 2026
5 checks passed
@harlan-github-agent harlan-github-agent Bot removed the harlan-agent-ready The automated Review passed every gate on this head commit. label Sep 8, 2026
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.

Drop expected upstream-unavailable 503s from Sentry capture

1 participant