Skip to content

test(app): cover mobile build flavor mappings - #26446

Open
Git-on-my-level wants to merge 2 commits into
BasedHardware:mainfrom
Git-on-my-level:work/sca-4850-flavor-coverage
Open

Git-on-my-level wants to merge 2 commits into
BasedHardware:mainfrom
Git-on-my-level:work/sca-4850-flavor-coverage

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

What changed and why

Exercise the mobile build-flavor resolver directly in the Flutter unit suite. Cover the production, development, and Ray-Ban development mappings, case handling, and inputs with no recognized environment.

Omi tracking issue SCA-4850.

Product invariants affected

none

How it was verified

  • make preflight on M1.
  • flutter test --no-pub test/unit/flavors_test.dart test/unit/env_test.dart passed all 28 tests on M1.

Tests

app/test/unit/flavors_test.dart covers the resolver used by Environment.fromFlavor().

UI evidence

UI-Evidence: none -- Unit tests and environment parsing only.

View guided diff

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-26T22:27:05.073859Z 09dc644 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

This branch has not been deployed

No deployments
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