Skip to content

docs(api): TRA-748 F9 — align Errors page OPTIONS prose with server-to-server intent#162

Merged
mikestankavich merged 1 commit into
mainfrom
worktree-tra-748-f9-errors-options-prose
May 16, 2026
Merged

docs(api): TRA-748 F9 — align Errors page OPTIONS prose with server-to-server intent#162
mikestankavich merged 1 commit into
mainfrom
worktree-tra-748-f9-errors-options-prose

Conversation

@mikestankavich
Copy link
Copy Markdown
Contributor

Summary

  • BB45 F9 from TRA-748. The /docs/api/errors § HTTP method coverage paragraph claimed OPTIONS is "reserved for CORS preflight" — aspirational prose that contradicts live behavior and the canonical HTTP method coverage page.
  • Live behavior: OPTIONS returns 405 with Allow: GET, HEAD, POST and no Access-Control-Allow-* headers, even with a full CORS preflight (per the Authentication → Server-to-server design framing).
  • Single-clause prose softening: replace "OPTIONS is reserved for CORS preflight" with "OPTIONS is not honored — it returns 405 like any other unsupported verb (the API is server-to-server only, no CORS)". No new link added — the same paragraph already links to the canonical HTTP method coverage page.

Scope: docs only. The companion F1 platform fix (service error template URL + regression test) ships separately in trakrf/platform.

Test plan

  • pnpm typecheck clean
  • pnpm build succeeds (Docusaurus production build)
  • Prettier — docs/api/errors.md not in the warning set (pre-existing spec-file warnings are unrelated)
  • Preview deploy: scan /docs/api/errors § HTTP method coverage for the updated clause and confirm it reads consistently with /docs/api/http-method-coverage § OPTIONS and /docs/api/authentication § Server-to-server design.

🤖 Generated with Claude Code

…o-server intent

The Errors page line "OPTIONS is reserved for CORS preflight" implied
OPTIONS is honored for CORS, contradicting both live behavior (405 with
no Access-Control-Allow-* headers) and the canonical http-method-coverage
prose. Replace with framing that matches the authoritative page:
OPTIONS returns 405 like any other unsupported verb; the API is
server-to-server only, no CORS.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

🚀 Preview Deployment Update

✅ This PR has been successfully merged into the preview branch.

The preview environment will update shortly at: https://docs.preview.trakrf.id

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 16, 2026

Deploying docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 29ccea3
Status: ✅  Deploy successful!
Preview URL: https://b36335ff.docs-4n7.pages.dev
Branch Preview URL: https://preview.docs-4n7.pages.dev

View logs

@mikestankavich mikestankavich merged commit 6543a21 into main May 16, 2026
2 checks passed
@mikestankavich mikestankavich deleted the worktree-tra-748-f9-errors-options-prose branch May 16, 2026 16:54
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