-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
backendbugSomething isn't workingSomething isn't workingfrontend/uihelp wantedExtra attention is neededExtra attention is neededsecurity
Description
An in-app feature was implemented to prompt users to auto-report issues when an error occurs. If the user agrees, it uses their PAT token to open an issue on GitMesh GitHub Issues
with a prefilled bug: title and a description template, leaving the rest for the user to fill in manually.
However, the current implementation is inconsistent and doesn’t work properly in several cases.
Expected:
- When an error is caught, a prompt should appear asking the user if they want to report it.
- On confirmation, the system should create a new issue on the repo using the user’s PAT token.
- The issue should follow the defined bug template with:
- bug: prefixed title
- Pasted error stack or description in the body
- Proper issue template formatting
Actual:
- The issue is not reliably created.
- Sometimes the prompt doesn’t trigger or the GitHub API call fails silently.
- Description formatting is inconsistent.
Task:
- Fix and stabilize the auto issue reporting flow using the existing codebase — do not rebuild from scratch. Ensure:
- Robust error handling
- Consistent template formatting
- Proper authentication with the PAT token
- Works for different types of errors
Metadata
Metadata
Assignees
Labels
backendbugSomething isn't workingSomething isn't workingfrontend/uihelp wantedExtra attention is neededExtra attention is neededsecurity