Skip to content

ops: add FT AFS align workflow for sole broker account rotation - #398

Merged
Pigbibi merged 2 commits into
mainfrom
ops/firstrade-afs-align-broker-account
Oct 9, 2026
Merged

Pigbibi merged 2 commits into
mainfrom
ops/firstrade-afs-align-broker-account

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Why

Need an autonomous path to discover the sole Firstrade broker account ending 5979, patch RUNTIME_TARGET_JSON.account_selector, and emit QRS rotation JSON for binding identity alignment.

What

Adds ft-afs-align-broker-account.yml:

  • Reads serving RUNTIME_TARGET_JSON + source binding id
  • Discovers sole account from GCS accounts/*/funds/latest.json (suffix check 5979)
  • Updates FT RUNTIME_TARGET_JSON secret
  • Uploads 1-day firstrade-afs-rotation artifact (no full account in logs)

No strategy change. Pigbibi.

Discover the sole Firstrade broker account from GCS funds snapshots,
patch RUNTIME_TARGET_JSON.account_selector, and emit a one-day rotation
artifact for QRS Firstrade source-binding rotation. Masks account ids.
@Pigbibi
Pigbibi enabled auto-merge (squash) October 9, 2026 08:32
GITHUB_TOKEN cannot update repository secrets. Discover sole broker
account and upload rotation + patched RUNTIME_TARGET for operator apply.
@Pigbibi
Pigbibi merged commit cfb2a93 into main Oct 9, 2026
1 of 2 checks passed
@Pigbibi
Pigbibi deleted the ops/firstrade-afs-align-broker-account branch October 9, 2026 08:34
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.

1 participant