Skip to content

GET /disabled_exercise_types: switch off a broken exercise type - #937

Merged
mircealungu merged 1 commit into
masterfrom
wt/exercise-kill-switch
Nov 7, 2026
Merged

mircealungu merged 1 commit into
masterfrom
wt/exercise-kill-switch

Conversation

@mircealungu

Copy link
Copy Markdown
Member

Clients build their own exercise sessions, so a broken exercise type can't be taken out from the server today: the Match freeze stayed in the app from 1.3.13 until a fix could get through review.

This adds GET /disabled_exercise_types, which returns DISABLED_EXERCISE_TYPES from api.cfg (empty by default, so nothing changes on deploy):

DISABLED_EXERCISE_TYPES = ["Match_three_L1W_to_three_L2W"]

api.cfg is read at startup, so changing it takes a restart. The client half is in zeeguu/web, and older clients simply never call this.

🤖 Generated with Claude Code

The list comes from DISABLED_EXERCISE_TYPES in api.cfg, empty by default.
Clients build their own sessions, so this lets us take a broken type out
of them while the fix waits for app review.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown

ArchLens - No architecturally relevant changes to the existing views

@mircealungu
mircealungu merged commit 8bd1bad into master Nov 7, 2026
3 checks passed
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