Skip to content

fix(coglet): improve "not ready" error message#2730

Merged
tempusfrangit merged 1 commit intomainfrom
fix/improve-not-ready-error
Feb 17, 2026
Merged

fix(coglet): improve "not ready" error message#2730
tempusfrangit merged 1 commit intomainfrom
fix/improve-not-ready-error

Conversation

@bfirsh
Copy link
Copy Markdown
Contributor

@bfirsh bfirsh commented Feb 16, 2026

Summary

  • Replaced the vague "Predictor not ready" error with an actionable message: "Setup has not finished yet. Wait until it has finished, or GET /health-check for status."
  • Deduplicated the message string so it's defined once on PredictionError::NotReady and referenced via .to_string() in route handlers

Test plan

  • cargo check -p coglet passes
  • Existing unit tests pass (mise run test:rust)

🤖 Generated with Claude Code

@bfirsh bfirsh requested a review from a team as a code owner February 16, 2026 22:41
@bfirsh bfirsh force-pushed the fix/improve-not-ready-error branch from f736e8b to 09ecdce Compare February 16, 2026 22:54
Copy link
Copy Markdown
Contributor

@tempusfrangit tempusfrangit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice little cleanup. I appreciate the consolidation to the common message that already exists.

@tempusfrangit tempusfrangit merged commit 240c1e9 into main Feb 17, 2026
33 checks passed
@tempusfrangit tempusfrangit deleted the fix/improve-not-ready-error branch February 17, 2026 18:39
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