Repository navigation
Tech-debt batch 24: module settings via their editor; storage settings need restart; Revert after save (#690 #691 #696) - #703
Merged
Conversation
…age settings need a restart; Revert after save (#690, #691, #696) - Generic settings writes (/api/settings/system/{key}, CRUD by id, Browse actions) to a system-scope `<package>.<field>` row skipped validation, the env-pin guard and the hot reload. They now return 422 pointing at the module editor; tenant/user rows stay writable, and managed keys keep their own clear route. Browse no longer suggests module keys. - file_storage builds its backend once at startup; the backend, filesystem root and S3 fields are now marked restart-required instead of silently splitting the web process from the CSP, workers and tenant purge. - Saving a defaulted field in the module form now shows Revert at once. Claude-Session: https://claude.ai/code/session_01M9neheZZEe3sVpDi2S3zT4
… rows stay deletable (#690) Review follow-up: the Inertia Browse create/update/delete routes let ModuleKeyError reach the app-wide JSON handler, breaking the page; they now redirect back with the message. The guard covers only fields a module still declares, so a leftover row for a removed field can be cleared. Claude-Session: https://claude.ai/code/session_01M9neheZZEe3sVpDi2S3zT4
…es Revert (#696) Found in QA: when no reload happened after the save, the post-revert reload returned props equal to the page's original ones, the [initial] effect did not fire, and the form kept the edited value and the Revert button. Revert now clears the local override flag and takes the field's value from the reload response itself. Claude-Session: https://claude.ai/code/session_01M9neheZZEe3sVpDi2S3zT4
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Deploying simple-module-python with
|
| Latest commit: |
7b81ed5
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://a89678ca.simple-module-python.pages.dev |
| Branch Preview URL: | https://tech-debt-b24-settings-stora.simple-module-python.pages.dev |
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.
Tech-debt batch 24 (from the 2026-10-28 scan).
Closes #690
Closes #691
Closes #696
What changed
<package>.<field>row, via/api/settings/system/{key}, CRUD by id, or Browse create/update/delete, skipped validation, the env-pin guard (Module settings: a DB-stored value overrides its SM_<MODULE>_* env var #486) and the hot reload. The value looked saved but did nothing until a restart.edit_viapointer to the module editor. The Inertia Browse routes show the same message as a form error.backend,fs_root_pathands3_*are markedrequires_restart, instead of hot-swapping a backend with in-flight multipart sessions. Before, a change silently split the web process from the CSP, the workers and the tenant purge. The health-check docstring no longer claims a live re-read.Verification
make lint✓ ·make test-js✓ ·make test-py✓ (6426 passed, 39 skipped)users.allow_signupin Browse is refused inline and the page stays intact;edit_via;CHANGELOG.md[Unreleased]conflict was resolved as the union of both sides.https://claude.ai/code/session_01M9neheZZEe3sVpDi2S3zT4