Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The active branch and path of the cms are no longer stored in the api, so the columns are dropped as well. GET /cms/settings stays: it loads and refreshes the github token. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
PUT /cms/settingswith its controller (update) and model method (CmsSettings.updateModel). The/cmspermission now only allowsGET.active_branchandactive_pathfromcms_settings(migration20261112185629_remove_cms_settings_active_location). Only the removed endpoint wrote them.engines.nodefrom24.16.x || 24.18.x || 24.21.xto^24.16.0. Yarn refused to run with the devcontainer's Node 24.22.1. The range stays on Node 24, so Dokku won't pick a newer major version on deploy.GET /cms/settingsstays: the teaching-dev cms (CmsStore.loadSettings) uses it to load and refresh the GitHub token.Related: GBSL-Informatik/teaching-dev#360, where the cms keeps its active branch and path in the client.
Validation
tsc --noEmitpasses, Prettier is clean.prisma migrate diffand applied in the devcontainer withprisma migrate deploy.prisma migrate statusreports the schema as up to date, and\d cms_settingsno longer lists the two columns.yarn prisma migrate statusnow runs in the devcontainer (Node 24.22.1).Deploy note
The migration drops data (the stored active branch and path). It runs on release through
npx prisma migrate deployin theProcfile.🤖 Generated with Claude Code