Repository navigation
OpenConceptLab/ocl_online#451 | URL registry toggle on for staging - #952
Merged
Merged
Conversation
URL_REGISTRY_IN_RESOLVE_REFERENCE_TOGGLE was on for dev and qa only. Every container start reloads core/fixtures/toggles.json (pre_startup.sh -> load_fixtures), so a database flip on staging is reset at the next deploy or restart. Staging now runs with the registry on; production stays off, now stated in the fixture. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Kx1XgoDYmUVYJ22HvVNeL2
Member
Author
|
Codex review, pass 1 (codex-cli 0.163.0, commit c1d40ea) Verdict: clean, no findings. findings.json{"reviewer":"codex-cli 0.163.0","perspective":"defects","mode":"full","commit":"c1d40ea8","verdict":"clean","prior":[],"findings":[]} |
Member
Author
|
Simplification review (fresh Claude subagent, commit c1d40ea): clean, nothing to cut. The review loop is done: Codex pass 1 clean, simplification clean, nothing open. |
snyaggarwal
approved these changes
Oct 23, 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.
Part of OpenConceptLab/ocl_online#451.
What
URL_REGISTRY_IN_RESOLVE_REFERENCE_TOGGLEis turned on for staging incore/fixtures/toggles.json. Production's value is now written out asfalse, which is what it already resolves to.Why
Every container start reloads
core/fixtures/toggles.json(pre_startup.sh→manage.py load_fixtures). Each fixture row replaces the stored toggle, and an environment the row doesn't name falls back to the model default (False). So a toggle turned on for staging in the database goes off again at the next deploy or API restart. That happened on Oct 22: it was turned on at 10:23Z, and the 10:30Z staging deploy turned it off. The fixture is how other toggles are set per environment, asMAPPER_WAITLIST_TOGGLEis.Effect
$resolveReferenceuse the URL registry. Staging's global registry holds the entries seeded for the ticket's measurement.dev.Rollback
For staging, set
"staging": falsehere and deploy. For an immediate switch-off until the next deploy, set the toggle row'sstagingcolumn to false.🤖 Generated with Claude Code
https://claude.ai/code/session_01Kx1XgoDYmUVYJ22HvVNeL2