Skip to content

Add automated parity validation between testnet and mainnet configuration #1175

Description

@Emmyt24

Description

Add a check that compares testnet and mainnet configuration shape (same keys/feature flags set) so environments do not silently drift apart.

Requirements and context

Handle network failures gracefully with retries/backoff where appropriate, avoid leaking credentials, and add integration tests using mocked external services. Update configuration docs and keep coverage at target.

Suggested execution

Create a feature branch using the convention:

feat/integration-env-parity-check

Implement changes

  • Compare the set of configuration keys/flags across environments.
  • Flag keys present in one environment but missing in the other.
  • Allow an explicit allowlist for intentional differences.
  • Add tests for in-parity and drifted configurations.

Test and commit

Run the test suite. Document the allowlist mechanism in the PR.

Example commit message

feat(integration): add testnet/mainnet config parity check

Guidelines

  • Follow the existing code style, linting rules, and module conventions already present in the repository.
  • Keep the change focused and reviewable; avoid unrelated refactors in the same PR.
  • Write clear, descriptive commit messages using the Conventional Commits format.
  • Ensure all CI checks pass (build, lint, type-check, tests, coverage) before requesting review.
  • Open a pull request against the default branch, link this issue (Closes #<id>), and describe what you changed and how you verified it.
  • Be responsive to review feedback and keep the PR scope aligned with this issue.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programenhancementNew feature or requestintegrationIntegration / external services

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions