Skip to content

Keep the read API out of the filtered-listing rate rule - #223

Closed
HarryCordewener wants to merge 1 commit into
mainfrom
claude/project-thread-apsbkk
Closed

HarryCordewener wants to merge 1 commit into
mainfrom
claude/project-thread-apsbkk

Conversation

@HarryCordewener

Copy link
Copy Markdown
Member

🤖 Generated with Claude Code

https://claude.ai/code/session_01Rqqt7SRFvG48gttX6RQhfE

What

The incident rate rule for filtered /games listings matches /{locale}/games with a [a-z]{2,3} locale, so api counts as a locale and /api/games?codebase=… is throttled with it. This leaves /api/ out of that router.

  • deploy/traefik/incident-limits.yml: the router rule adds !PathPrefix(`/api/`).
  • ApiGuide.razor: drops the sentence about the API listing answering about two requests a second.
  • docs/deploy.md: says the rule leaves out /api/ and why.

Why

Every filtered API request returns 429 at the moment, including the docs site's games page (Docs #302), which reads /api/games?codebase=SharpMUSH&include=details from Netlify.

Deploy

Traefik's dynamic files are not updated by Watchtower. After merging, pull the file on the host; Traefik reloads it without a restart.


Generated by Claude Code

The rule's locale prefix [a-z]{2,3} matched "api", so every filtered
/api/games request shared the /games pages' per-address and site-wide
caps and was refused with 429 whenever filtered pages were throttled.
The router now leaves /api/ out, as deploy.md describes it, and the API
guide drops the rate it had published from that rule.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Rqqt7SRFvG48gttX6RQhfE
@coderabbitai

coderabbitai Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

2 participants