Repository navigation
update_office_hours and update_sla save through the settings registry - #12
Merged
Merged
Conversation
…ttings registry Fails today: both tools write PUT /projects, update_sla reads GET /projects/current and sends the whole slaOptions object. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ttings registry Both tools now write PUT /settings, the path update_settings takes, instead of PUT /projects: update_office_hours sends flowConfig.openingTimes, timezone and alwaysOnline as single changes; update_sla sends slaOptions.enabled and slaOptions.defaultSla instead of the whole slaOptions object it read a moment earlier, so it no longer reverts slaOptions changes made between that read and its write. The stored deadline for the result is read through GET /settings. Inputs and results are unchanged; what the registry refuses or holds for a yes is an error. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
TobiasDuelli
marked this pull request as ready for review
November 25, 2026 12:28
LucaB01
approved these changes
Nov 25, 2026
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.
update_office_hoursandupdate_slanow save through the settings registry (PUT /settings), the pathupdate_settingsalready takes. They no longer usePUT /projects.update_office_hourssendsflowConfig.openingTimes,timezoneandalwaysOnlineas single changes.update_slasendsslaOptions.enabledandslaOptions.defaultSlainstead of the wholeslaOptionsobject it read a moment earlier. A change to otherslaOptionskeys made between that read and the write is no longer reverted.GET /settings.Behaviour difference
The registry applies the dashboard's permissions. A Manager who could change office hours or the SLA through this tool before is now refused, like in the dashboard.
Tests
The test commit comes first and failed before the change. Of the 17 compared cases, 14 are identical:
slaOptionschanges.Part of the project legacy-field clean-up (GleapSDK/Server, branch
feat-dc03-altlasten). This change works without it.🤖 Generated with Claude Code