Skip to content

Add /report-bug page for autorouting reports and fake-api support#2979

Closed
seveibar wants to merge 1 commit intomainfrom
codex/create-bug-report-page-for-autorouting
Closed

Add /report-bug page for autorouting reports and fake-api support#2979
seveibar wants to merge 1 commit intomainfrom
codex/create-bug-report-page-for-autorouting

Conversation

@seveibar
Copy link
Copy Markdown
Contributor

Motivation

  • Provide a UI at /report-bug so users can submit autorouting bug reports including full Circuit JSON uploads and a clear path for project bug reports.

Description

  • Add a new page src/pages/report-bug.tsx implementing a two-tab UI with an "Autorouting Bug Report" form that accepts Circuit JSON files, validates the file shape, and POSTs to /autorouting/bug_reports/create.
  • Wire the page into the app router by lazily importing and adding the /report-bug route in src/App.tsx.
  • Add a minimal fake API endpoint fake-snippets-api/routes/api/autorouting/bug_reports/create.ts that validates the request and returns a stubbed autorouting_bug_report response for development.
  • Add an integration test bun-tests/fake-snippets-api/routes/autorouting/bug_reports/create.test.ts to exercise the fake endpoint.

Testing

  • Ran TypeScript typecheck with bunx tsc --noEmit and it completed successfully.
  • Ran formatter with bun run format and applied formatting successfully.
  • Ran the fake API test suite with bun test fake-snippets-api which passed (tests executed; fake-api tests including the new autorouting/bug_reports/create test succeeded).

Codex Task

@github-actions
Copy link
Copy Markdown

This PR has been automatically marked as stale because it has had no recent activity. It will be closed if no further activity occurs.

@github-actions github-actions bot added the stale label Mar 15, 2026
@github-actions
Copy link
Copy Markdown

This PR was closed because it has been inactive for 1 day since being marked as stale.

@github-actions github-actions bot closed this Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant