Skip to content

fix(flags): load example configuration from .env - #1295

Draft
leoromanovsky wants to merge 1 commit into
developfrom
fix/flags-example-configuration
Draft

leoromanovsky wants to merge 1 commit into
developfrom
fix/flags-example-configuration

Conversation

@leoromanovsky

Copy link
Copy Markdown
Contributor

What and why?

The Flags Flutter example ignores the .env produced by melos generate_env. The setup script writes configuration to the wrong directory and stops at an unmatched loop terminator.

Move the example fixes from #1294 to develop so the release branch contains only release preparation changes.

How?

Load and bundle the Flags example's .env and repair the setup script's syntax and paths. Remove three example-only test files to follow the repository's rule against example-app tests.

Review checklist

  • This pull request has appropriate unit and / or integration tests
  • This pull request references a Github or JIRA issue

Existing SDK tests cover site mapping and unsupported sites. All 193 core Flags tests and 18 Flutter Flags tests passed.

Validation

Tested commit Validation Result
DataDog/dd-sdk-flutter@1c565319e95d81c375eabd4ad785736b6ac873c9 Manual runtime smoke: synthetic .env asset loading and missing-token screen; Flutter test runner 1 passed; configured-token intake and native-device execution not tested
DataDog/dd-sdk-flutter@1c565319e95d81c375eabd4ad785736b6ac873c9 Manual script checks: default/custom Flags settings, another working directory, and missing target 3 passed; no repository-root .env created

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