Skip to content

fix(fly.mainnet.toml): comment out stale STELLAR_RPC_URL#33

Merged
AquiGorka merged 2 commits into
mainfrom
chore/phase-4-fly-toml-cleanup
May 13, 2026
Merged

fix(fly.mainnet.toml): comment out stale STELLAR_RPC_URL#33
AquiGorka merged 2 commits into
mainfrom
chore/phase-4-fly-toml-cleanup

Conversation

@AquiGorka
Copy link
Copy Markdown
Contributor

Summary

  • fly.mainnet.toml had STELLAR_RPC_URL = 'https://soroban-testnet.stellar.org' in [env] — testnet URL on the mainnet TOML. Fly secret of the same name (Quasar Pro URL with embedded auth token) overrides this at runtime, so the stale literal was functionally a no-op but a footgun for anyone reading the TOML to understand deployed config.
  • Replaced with the same # X — set via Fly secrets per environment convention used for SERVICE_DOMAIN / SERVICE_AUTH_SECRET / OTEL_EXPORTER_OTLP_*.
  • No runtime change: flyctl ssh ... printenv STELLAR_RPC_URL on moonlight-mainnet-pay still returns the Fly-secret value (Quasar Pro URL).

Mirrors council-platform#39. Phase 4 of build-env-registry-4. Cleanup-candidate #6 in pm-theahaco/env-vars.md.

Test plan

  • deno fmt --check, deno lint, deno check src/main.ts — local, all clean
  • PR CI green
  • Post-merge: deploy-mainnet workflow succeeds
  • Post-merge follow-up (out-of-band, not in this PR): flyctl secrets unset CHALLENGE_TTL MODE OTEL_DENO OTEL_EXPORTER_OTLP_PROTOCOL OTEL_SERVICE_NAME SESSION_TTL --app moonlight-mainnet-pay so TOML [env] becomes the sole source for these 6 non-sensitive values. Runtime printenv verified post-unset.

AquiGorka added 2 commits May 13, 2026 13:26
STELLAR_RPC_URL on mainnet-pay is set via Fly secret (Quasar Pro URL with
embedded auth token). The literal 'https://soroban-testnet.stellar.org' in
fly.mainnet.toml's [env] was stale — pointing at testnet RPC on the mainnet
config. Fly secrets override fly.toml [env] at runtime, so the misleading
value was a no-op functionally, but a footgun for anyone reading the TOML
to understand deployed config.

Replaced with the same convention used for SERVICE_DOMAIN / SERVICE_AUTH_SECRET
/ OTEL_EXPORTER_OTLP_*. No runtime change.

Mirrors council-platform#39 fix; cleanup-candidate #6 in pm-theahaco/env-vars.md.
@AquiGorka AquiGorka merged commit 2fbb457 into main May 13, 2026
7 checks passed
@AquiGorka AquiGorka deleted the chore/phase-4-fly-toml-cleanup branch May 13, 2026 18:23
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