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.
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:
Implement changes
Test and commit
Run the test suite. Document the allowlist mechanism in the PR.
Example commit message
Guidelines
Closes #<id>), and describe what you changed and how you verified it.