Skip to content

fix(api): remove dead error documentation links - #106

Merged
iamjr15 merged 1 commit into
mainfrom
fix/remove-dead-error-docs
Jul 31, 2026
Merged

fix(api): remove dead error documentation links#106
iamjr15 merged 1 commit into
mainfrom
fix/remove-dead-error-docs

Conversation

@iamjr15

@iamjr15 iamjr15 commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Remove the nonexistent docs.trycheatcode.com URL from every structured API error.
  • Remove doc_url from the strict shared error-response schema and APIError options.
  • Correct preview-proxy routing documentation so it lists only active hostname reservations.

Decision

The API contract drops the field completely instead of retaining an optional compatibility property. A documentation URL can be introduced later only with a real, deployed documentation surface.

Verification notes

  • pnpm lint
  • pnpm typecheck
  • pnpm turbo build --force
  • pnpm deadcode
  • pnpm architecture:check
  • pnpm turbo skills:build

The complete Docker Compose stack started successfully. Direct Chrome QA requested a preview route without a token and confirmed the real 401 Worker response contained code, message, retriable, and request_id with no doc_url. Browser console and Worker logs showed only the expected authentication failure.

Remove the unused documentation URL from API errors and their strict schema.
Update preview routing docs so they describe only active host reservations.
@iamjr15
iamjr15 merged commit 143f861 into main Jul 31, 2026
4 checks passed
@iamjr15
iamjr15 deleted the fix/remove-dead-error-docs branch July 31, 2026 16:00
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.

1 participant