Skip to content

feat(app-backend): key circuit breaker by URI path pattern#6383

Merged
fetchfern merged 3 commits into
mainfrom
fetch/circuit-breaker-key
Jun 16, 2026
Merged

feat(app-backend): key circuit breaker by URI path pattern#6383
fetchfern merged 3 commits into
mainfrom
fetch/circuit-breaker-key

Conversation

@fetchfern

@fetchfern fetchfern commented Jun 12, 2026

Copy link
Copy Markdown
Member
  • Changes fetch_* functions to accept an optional URI path pattern (/v2/version_file/:hash/update, /v3/version/:id, etc)
  • Uses the URI path pattern as a key for failure count tracking in FetchFence
  • Only block requests matching the path until block expiration
  • Tweak error message to include how long requests are blocked for in minutes

@modrinth-bot

modrinth-bot commented Jun 12, 2026

Copy link
Copy Markdown
Member

Note

This changelog has been baked. Any further edits will not be reflected.

Pull request changelog

App

Added

Changed

  • Improved error handling functionality when parts of the Modrinth API are unavailable.

Deprecated

Removed

Fixed

Security

Website

Added

Changed

Deprecated

Removed

Fixed

Security

Hosting

Added

Changed

Deprecated

Removed

Fixed

Security

@fetchfern fetchfern added this pull request to the merge queue Jun 16, 2026
Merged via the queue into main with commit 3aaa2ef Jun 16, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants