Skip to content

Use Tuist manifest environment - #857

Merged
Kyle-Ye merged 1 commit into
mainfrom
codex/tuist-10703-manifest-environment
May 11, 2026
Merged

Use Tuist manifest environment#857
Kyle-Ye merged 1 commit into
mainfrom
codex/tuist-10703-manifest-environment

Conversation

@Kyle-Ye

@Kyle-Ye Kyle-Ye commented May 11, 2026

Copy link
Copy Markdown
Member

Summary

This updates OpenSwiftUI to use Tuist's new manifestEnvironment support from tuist/tuist#10705 instead of mirroring OpenSwiftUI environment variables with a TUIST_ prefix.

Tuist previously filtered manifest evaluation environments down to TUIST_*, CI, and a small allowlist. That meant tuist generate could not see the same OPENSWIFTUI_* values that SwiftPM and tuist install could see, so the project carried a local workaround: duplicated TUIST_OPENSWIFTUI_* values in mise.toml plus a Tuist_OpenSwiftUI env lookup domain in Package.swift.

Changes

  • Bump the pinned Tuist CLI from 4.192.0 to 4.193.0, the release that includes manifestEnvironment.
  • Configure Tuist.swift to forward OPENSWIFTUI_* into manifest evaluation.
  • Remove the duplicated TUIST_OPENSWIFTUI_* values from mise.toml.
  • Remove the Tuist_OpenSwiftUI compatibility domain from Package.swift.

Verification

Verified locally in the prepared worktree with local dependencies present:

MISE_TRUSTED_CONFIG_PATHS="$PWD/mise.toml" mise x -- tuist version
MISE_TRUSTED_CONFIG_PATHS="$PWD/mise.toml" mise x -- tuist install
MISE_TRUSTED_CONFIG_PATHS="$PWD/mise.toml" mise x -- tuist generate --no-open
git diff --check

tuist version reported 4.193.0. tuist install and tuist generate --no-open both succeeded. Generation still emits the existing static product side-effect warnings, but the project is generated successfully and the package manifest logs show the unprefixed OPENSWIFTUI_* values are visible without the old TUIST_ mirrors.

@augmentcode

augmentcode Bot commented May 11, 2026

Copy link
Copy Markdown
🤖 Augment PR Summary

Summary: Updates OpenSwiftUI to rely on Tuist’s new manifestEnvironment so Tuist manifest evaluation can see the same OPENSWIFTUI_ variables as other build flows.
Changes: Bumps Tuist to 4.193.0, forwards OPENSWIFTUI_
in Tuist.swift, and removes the legacy TUIST_OPENSWIFTUI_* mirrors / Tuist_OpenSwiftUI domain.

🤖 Was this summary useful? React with 👍 or 👎

@augmentcode augmentcode Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. No suggestions at this time.

Comment augment review to trigger a new review at any time.

@codecov

codecov Bot commented May 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 27.19%. Comparing base (09a7f40) to head (d24690a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #857      +/-   ##
==========================================
- Coverage   27.21%   27.19%   -0.02%     
==========================================
  Files         673      673              
  Lines       44165    44165              
==========================================
- Hits        12018    12011       -7     
- Misses      32147    32154       +7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Kyle-Ye
Kyle-Ye merged commit 47a432a into main May 11, 2026
7 of 9 checks passed
@Kyle-Ye
Kyle-Ye deleted the codex/tuist-10703-manifest-environment branch May 11, 2026 17:01
@Kyle-Ye Kyle-Ye added area: data-flow State, binding, environment, preference, observation, or property data flow. area: tooling Developer tooling, package manifests, Tuist, scripts, formatting, or release tooling. type: build Build system, packaging, toolchain, release, or compiler support. labels May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: data-flow State, binding, environment, preference, observation, or property data flow. area: tooling Developer tooling, package manifests, Tuist, scripts, formatting, or release tooling. type: build Build system, packaging, toolchain, release, or compiler support.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant