Repository navigation
fix(firstrade): repoint console host pins to quantstrategylab host - #553
Conversation
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ff7a2dfce1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 368d5845b4
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
|
@codex review |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
🛡️ Codex Security Review · Automatically triggeredSecurity review completed. No security issues were found in this pull request. Reviewed commit: Only the user who started this review can view the report in Codex. ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
AI assistance
Claude Sonnet 4.5 via Claude Code (writer session authored the change; the coordinator verified the diff, ran the test suites, and opened this PR after the writer session hit its limit).
What changed
Repointed the hard-coded console host pins from
qsl-strategy-switch-console.pigbibi-e06.workers.devtoqsl-strategy-switch-console.quantstrategylab.workers.dev(path/api/account-facts/syncunchanged):src/firstrade_platform/application/account_facts_publisher.py:17—_APPROVED_SYNC_URL, and:80netloc checkscripts/account_facts_config_sync.py:17—APPROVED_SYNC_URLscripts/inspect_account_data_readiness.py:24—ACCOUNT_FACTS_DESTINATION.github/workflows/ft-adopt-facts-revision.yml:105— expected URL in the revision check?next=otherquery) keep rejecting for those reasons and now use the new host too.scripts/publish_runtime_daily.py:17imports_APPROVED_SYNC_URL as _FACTS_URL, so the daily origin check is fixed by the same repoint — no separate pin there. No guard, workflow logic, variable, or token changed. No remainingpigbibi-e06reference in the repo.How verified
uv run --no-sync python -m pytest -q— 1856 passed, 1 skipped, 118 subtests passed.uv run --no-sync ruff check --exclude external .— all checks passed.git diff --check— clean.Why
The 2026-11-24 observation found the 2026-11-21 repoint (PR #547) NOT confirmed: the console moved a second time to the quantstrategylab host and the repo variables followed, but the code pins still said
-e06, so the exact-match guards failed closed — account-facts publish rejected asdestination_not_approvedand the daily projection failed as{"status":"unavailable"}(the origin check raises before the preflight POST). Repointing the pins makes code and variables agree.Risk
Low. String-constant change only; the publish destination is the only behaviour affected, and it now matches the already-live repo variables. Guards, live-order gates, and tokens are untouched.