Skip to content

fix(core): say why discovery failed - #415

Merged
jyecusch merged 1 commit into
mainfrom
jye/discovery-failures
Oct 15, 2026
Merged

jyecusch merged 1 commit into
mainfrom
jye/discovery-failures

Conversation

@jyecusch

Copy link
Copy Markdown
Member

Discovery failures were one ModelDiscoveryFailed with vague text like "Provider returned 404" or "Connection failed". Each failure is now its own DomainError class with a message that says what to fix, and remote.ts joins the error-handling allowlist.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
sugabots-website a639153 Oct 15 2026, 06:25 AM

Split ModelDiscoveryFailed into one DomainError class per failure, each
with a message that says what to fix, and add remote.ts to the
error-handling allowlist.
@jyecusch
jyecusch force-pushed the jye/discovery-failures branch from 23a98f4 to a639153 Compare October 15, 2026 06:24
@jyecusch
jyecusch merged commit 8fb1526 into main Oct 15, 2026
7 checks passed
@jyecusch
jyecusch deleted the jye/discovery-failures branch October 15, 2026 07:37
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.

1 participant