Skip to content

Hide internal backend errors from API responses - #1753

Draft
groupthinking with Copilot wants to merge 2 commits into
mainfrom
copilot/re-cut-orphaned-prs
Draft

Hide internal backend errors from API responses#1753
groupthinking with Copilot wants to merge 2 commits into
mainfrom
copilot/re-cut-orphaned-prs

Conversation

Copilot AI commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Outcome

API routes no longer expose backend hostnames, proxy details, stack traces, or raw provider errors to clients. Detailed failures remain server-side for diagnostics.

Scope

  • Included:
    • Sanitized agent, event extraction, training, and video search error responses.
    • Removed raw upload/trigger exception details.
    • Added agent-route regression coverage.
  • Explicitly excluded:
    • Internal logging behavior and success responses.
    • Unrelated API routes.

Risk

  • Risk level: low
  • Failure mode: Clients receive stable generic errors instead of diagnostic exception text.
  • Rollback: Revert the current commit.

Verification

Current head: e3e8a32

  • Focused tests
  • Required CI
  • Review threads resolved

Production evidence

Not applicable; this change affects response sanitization and has no deployment-specific behavior.

Agent handoff

  • One canonical issue is linked
  • No competing PR implements the same issue
  • Acceptance criteria are satisfied
  • Required checks pass on the current head
  • Human decision is requested only for product, security, irreversible infrastructure, or production approval

@vercel

vercel Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
v0-uvai Ready Ready Preview, v0 Sep 8, 2026 11:13pm UTC

Co-authored-by: groupthinking <154503486+groupthinking@users.noreply.github.com>
Copilot AI changed the title [WIP] Re-cut work orphaned by the secret-purge force-push Hide internal backend errors from API responses Sep 8, 2026
Copilot AI requested a review from groupthinking September 8, 2026 23:15
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.

Re-cut work orphaned by the secret-purge force-push (26 PRs)

2 participants