Skip to content

OpenConceptLab/ocl_online#451 | URL registry toggle on for staging - #952

Merged
paynejd merged 1 commit into
masterfrom
feat/451-registry-toggle-staging
Oct 22, 2026
Merged

paynejd merged 1 commit into
masterfrom
feat/451-registry-toggle-staging

Conversation

@paynejd

@paynejd paynejd commented Oct 22, 2026

Copy link
Copy Markdown
Member

Part of OpenConceptLab/ocl_online#451.

What

URL_REGISTRY_IN_RESOLVE_REFERENCE_TOGGLE is turned on for staging in core/fixtures/toggles.json. Production's value is now written out as false, 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, as MAPPER_WAITLIST_TOGGLE is.

Effect

  • Staging: reference evaluation and $resolveReference use the URL registry. Staging's global registry holds the entries seeded for the ticket's measurement.
  • Dev and QA: unchanged (on).
  • Production: unchanged (off).
  • Tests: none read the staging column. They run as dev.

Rollback

For staging, set "staging": false here and deploy. For an immediate switch-off until the next deploy, set the toggle row's staging column to false.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Kx1XgoDYmUVYJ22HvVNeL2

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
@paynejd

paynejd commented Oct 22, 2026

Copy link
Copy Markdown
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":[]}

@paynejd

paynejd commented Oct 22, 2026

Copy link
Copy Markdown
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.

@paynejd
paynejd requested a review from snyaggarwal October 22, 2026 13:33
@paynejd
paynejd merged commit 1c7bbc7 into master Oct 22, 2026
3 checks passed
@paynejd
paynejd deleted the feat/451-registry-toggle-staging branch October 22, 2026 21:22
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.

2 participants