MapColonies / MapColonies/config

Integration: Strict Environment Supremacy Validation

Open
#129 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### Description
Establish the "Strict Environment Supremacy" integration test suite. This slice explicitly tests the full top-level RolloutStateMachine to guarantee that runtime hot-reloads correctly respect the existing configuration merge hierarchy (Local -> Remote -> Env). Construct a specific integration scenario: Configure a local setting (bla = a), an initial remote setting (bla = b), and an environment variable (bla = c). Trigger a hot-reload with a new remote configuration (bla = d). Verify that the final merged configuration delivered to the application still strictly resolves bla = c.

### Acceptance criteria
- [ ] A top-level integration test is implemented simulating the Local -> Remote -> Env hierarchy.

- [ ] Hot-reloading a remote value that conflicts with a local environment variable correctly discards the remote value in favor of the environment variable.

### Blocked by
Issue #125

User stories covered: 7

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

This issue targets the top-level RolloutStateMachine; first resolve or review blocked issue #125, then locate the existing integration-test entry point. Add the Local → Remote → Env scenario, trigger the remote hot-reload, and verify that the delivered configuration keeps bla = c.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.