Skip to content

feat(testservice): support file-based flag overrides#413

Merged
kinyoklion merged 1 commit into
rlamb/overridesfrom
rlamb/sdk-2657/testservice-flag-overrides
Jul 7, 2026
Merged

feat(testservice): support file-based flag overrides#413
kinyoklion merged 1 commit into
rlamb/overridesfrom
rlamb/sdk-2657/testservice-flag-overrides

Conversation

@kinyoklion

Copy link
Copy Markdown
Member

Wires the contract-test service up to the flag-overrides feature so the new harness suite (launchdarkly/sdk-test-harness#374) can run against this SDK:

  • Advertises the flag-overrides capability.
  • Mirrors the harness's overrides config block in the test service's servicedef (file paths, duplicate-key handling, watch/poll mode, poll interval).
  • Maps it onto ldoverrides.FileSource() on the data system builder; requesting overrides without a data system configuration is an error, since overrides are an FDv2 feature.

Verified locally against the harness branch: the flag-overrides suite passes in both watch and poll modes, and the full harness run (4945 tests) is green.

Targets the rlamb/overrides integration branch, as it needs the ldoverrides package from #412.

SDK-2657

@kinyoklion kinyoklion merged commit 267384d into rlamb/overrides Jul 7, 2026
1 check passed
@kinyoklion kinyoklion deleted the rlamb/sdk-2657/testservice-flag-overrides branch July 7, 2026 22:31
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