Skip to content

bug: Automatic issue reporting flow not working reliably #105

@RAWx18

Description

@RAWx18

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

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions