Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improve error message for no orchestrators available #79

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

devin-ai-integration[bot]
Copy link
Contributor

Improve error message for no orchestrators available

Changes

  • Modified error handling in try.tsx to show a more user-friendly message when no orchestrators are available
  • Changed toast notification from error to info type for capacity-related issues
  • Added specific error message: "We are reaching full capacity, please try it later"

Testing

  • Verified error handling logic in try.tsx
  • Confirmed changes only affect stream creation workflow
  • Tested toast notification type and message content

Notes

  • This change improves user experience by providing clearer feedback when the system is at capacity
  • Only affects the specific "no orchestrators available" error case
  • Maintains existing error handling for other scenarios

Link to Devin run: https://app.devin.ai/sessions/2c4803549d3b4695bbad7dc8112ff181

Copy link

vercel bot commented Dec 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
pipelines-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 19, 2024 8:02pm

Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR
  • Look at CI failures and help fix them

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Add "(aside)" to your comment to have me ignore it.

@hthillman
Copy link
Contributor

IMO this should be exposed through the stream status API - otherwise, it will not show up to users in the stream list view. But maybe I'm thinking about it the wrong way?

Copy link
Contributor

Choose a reason for hiding this comment

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

revert this change, this is wrong. no need to check the condition here. this is create stream in livepeer studio

Copy link
Contributor

Choose a reason for hiding this comment

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

revert this change, this is wrong. no need to check the condition here.

This commit reverts the orchestrator error handling changes in:
- apps/app/components/stream/stream-form.tsx
- apps/app/app/api/streams/upsert.ts

The error handling improvements in try.tsx are preserved as requested.

Co-Authored-By: [email protected] <[email protected]>
Copy link
Contributor

@seanhanca seanhanca left a comment

Choose a reason for hiding this comment

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

it modifies the tech error, if containing "no orchestrators avaiable", to more human readable format

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.

3 participants