Skip to content

Improve GitHub issue reporting with pre-filled error details in StreamError dialog #6882

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

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

Conversation

sestinj
Copy link
Contributor

@sestinj sestinj commented Jul 30, 2025

Summary by cubic

Improved the GitHub issue reporting flow in the StreamError dialog by pre-filling error details and environment info when users report a bug.

  • New Features
    • Added a button that opens a new GitHub issue with the error, model, and environment details pre-filled.
    • Updated URL handling to use a simplified "openUrl" message for external links.

@sestinj sestinj requested a review from a team as a code owner July 30, 2025 02:43
@sestinj sestinj requested review from Patrick-Erichsen and removed request for a team July 30, 2025 02:43
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Jul 30, 2025
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

cubic analysis

No issues found across 1 file. Review in cubic

Copy link
Collaborator

@Patrick-Erichsen Patrick-Erichsen left a comment

Choose a reason for hiding this comment

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

one nitpick

@github-project-automation github-project-automation bot moved this from Todo to In Progress in Issues and PRs Jul 30, 2025
@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Jul 30, 2025
Copy link
Collaborator

@Patrick-Erichsen Patrick-Erichsen left a comment

Choose a reason for hiding this comment

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

Let's also add an auto-release workflow for this 👍 the new errors package has a build and test command so should integrate fine with the new CI logic for building/testing all packages automatically.

* Standard error class for Continue application with enhanced metadata support
*/
export class ContinueError extends Error {
public readonly code?: string;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we add additional data from ideInfo here? I think with some of the centralized error logging we are doing with Sentry we could do this.

Copy link
Collaborator

Choose a reason for hiding this comment

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

After discussing, yes, wouldn't hurt to add a few more optional properties from ideInfo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XL This PR changes 500-999 lines, ignoring generated files.
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

2 participants