Repository navigation
fix(console): read the console origin from configuration - #765
Merged
Merged
Conversation
The one-shot daily sync, its receiver-token probe and the V7 paper application transport pinned the retired console host in source. Read the origin from vars.RUNTIME_DAILY_SYNC_URL and vars.QSL_CONTROL_PLANE_SYNC_URL instead, keep the strict https/host/path validation, and fail closed when the variable is missing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011iHeYdZHqdsDyVsVxzUJLA
Map vars.RUNTIME_DAILY_SYNC_URL into the scheduled live projection step, and run the paper application result callbacks from a copy of this revision's transport so an older checked-out candidate cannot reject the configured console origin. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011iHeYdZHqdsDyVsVxzUJLA
Require the paper application origin to match vars.QSL_CONSOLE_ORIGIN exactly and refuse redirects before the token is sent. Document the two console variables and their formats. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011iHeYdZHqdsDyVsVxzUJLA
Codex Review Summary: ✅ CompletedThis 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. |
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.
AI assistance
Claude Code wrote the change. Codex CLI reviewed it locally for three rounds; every P1 was fixed. The remaining P2/P3 items are listed under Risk.
What changed
The one-shot daily sync, the receiver-token probe and the V7 paper application transport had the retired console host pinned in source. They now read the console address from protected configuration:
vars.RUNTIME_DAILY_SYNC_URL, using the existing strict validator. The variable is now mapped into:publish-runtime-daily-once.ymlpublish step;execution-report-heartbeat.yml.vars.QSL_CONTROL_PLANE_SYNC_URL. The hard-coded fallback is removed.vars.QSL_CONSOLE_ORIGIN.docs/daily-runtime-projection.mddescribes the variables and their two formats.A missing or inexact variable fails closed, and no token is sent.
How verified
uv run --no-sync ruff check --exclude external .: passed.uv run --no-sync python -m pytest -q tests: 3518 passed, 1 skipped.Why
The console moved to another Cloudflare account. The pinned old host would send syncs to the retired deployment, and organisation rules require hostnames to come from configuration.
Risk
RUNTIME_DAILY_SYNC_URL: the full sync URL;QSL_CONTROL_PLANE_SYNC_URLandQSL_CONSOLE_ORIGIN: the same bare origin.vars.*values appear in Actions logs, which was already true for the PAPER heartbeat step.Generated by Claude Code