Skip to content

release: ClickHouse clients on ch.sorobanscan.com - #724

Merged
stkrolikiewicz merged 8 commits into
masterfrom
release/0665-clickhouse-name
Nov 6, 2026
Merged

stkrolikiewicz merged 8 commits into
masterfrom
release/0665-clickhouse-name

Conversation

@stkrolikiewicz

Copy link
Copy Markdown
Collaborator

Range: production-2026.11.05-6-ApiGateway..release/0665-clickhouse-name (a1fae52a). Ships Compute and Ingestion only, from a laptop, so the ClickHouse client switch of task 0665 lands as one change. Then stellar-prices-api redeploys to follow /platform/production/ch-domain.

What ships

#723: production on ch.sorobanscan.com

  • Compute: CH_DOMAIN on ApiFunction, ProcessorFunction, EnrichmentWorkerFunction, and the Platform-ch-domain parameter. No Lambda code changes.
  • Ingestion: LiveTaskDef replaced (Galexie's CH_DOMAIN). The service runs at min 0 / max 100 %, so the live task stops before the new one starts: a few minutes without exports while captive core catches up, then Galexie resumes from its last ledger.
  • provisionChDns: false: HetznerDnsStack is no longer synthesized. The deployed stack and the old name's record stay until Step 4.

Also on the branch, nothing to deploy

Checks before

  • Caddy answers both names with mTLS (/ping Ok., dev_shared); without a client certificate the handshake is refused.
  • Testnet has run on the new name since 13:13 UTC, with 0 errors.
  • cdk diff of Compute and Ingestion from a1fae52a: the changes above, plus CDKMetadata on Network and LedgerBucket.

The portal followed on 2026-11-06 with stellar-prices-api 0340's switch, which met the last two criteria. The task becomes a directory: its state log, plan, decisions and issues move to notes/. The umbrella 0659 records 0664 and 0340's state.
CH_DOMAIN_ALIASES (Ansible ch_domain_aliases) adds optional names to
Caddy's site address, empty by default. Caddy substitutes {$VAR} before
parsing, so an empty value leaves the one address. It lets both
ch.sorobanscan.com and ch.sorobanscan.rumblefish.dev answer while the
clients move. Also moves 0665 to active.
feat(lore-0665): let Caddy serve extra ClickHouse names
Caddy serves both ClickHouse names since 2026-11-06, so testnet's
Lambdas can move first. Also records Steps 1 and 2 in 0665 and what the
production switch needs: provisionChDns false, and Prices after it.
feat(lore-0665): point testnet at ch.sorobanscan.com
Testnet runs on the new ClickHouse name since 2026-11-06 13:13 UTC.
provisionChDns goes false with it: the new name is outside the Route 53
zone HetznerDnsStack writes to. That stack stays deployed and keeps the
old record until Step 4.
feat(lore-0665): point production at ch.sorobanscan.com
@stkrolikiewicz
stkrolikiewicz merged commit 5566864 into master Nov 6, 2026
9 checks passed
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