Skip to content

Consolidate mise configuration at repository root#944

Merged
Kyle-Ye merged 1 commit into
mainfrom
optimize/tuist
Jul 19, 2026
Merged

Consolidate mise configuration at repository root#944
Kyle-Ye merged 1 commit into
mainfrom
optimize/tuist

Conversation

@Kyle-Ye

@Kyle-Ye Kyle-Ye commented Jul 19, 2026

Copy link
Copy Markdown
Member

Summary

  • move the Compute mise environment configuration from Example/ to the repository root
  • remove the duplicated default mise configuration from Example/
  • update the Example setup instructions and script to use the root configurations
  • update the UI test workflow path filter for root-level mise changes

Why

The root and Example default configurations duplicated the same Tuist version and AttributeGraph environment. Keeping the default and Compute configurations together at the repository root provides one source of truth while still allowing commands run from Example/ to inherit the appropriate mise environment.

Impact

The recommended Example/setup.sh workflow remains unchanged for users. Both default AttributeGraph generation and --compute generation now resolve their mise configuration from the repository root.

Validation

  • bash -n Example/setup.sh
  • git diff --check
  • verified default mode resolves Tuist 4.193.0 with AttributeGraph enabled
  • verified Compute mode resolves Tuist 4.193.0 with the existing Compute environment overrides

@Kyle-Ye
Kyle-Ye marked this pull request as ready for review July 19, 2026 13:02
@github-actions github-actions Bot added area: example Example apps, previews, sample projects, screenshots, or demo assets. area: tooling Developer tooling, package manifests, Tuist, scripts, formatting, or release tooling. type: maintenance Refactor, cleanup, dependency bump, NFC, or internal maintenance. labels Jul 19, 2026
@augmentcode

augmentcode Bot commented Jul 19, 2026

Copy link
Copy Markdown
🤖 Augment PR Summary

Summary: Moves the Compute mise environment config to the repository root and removes the duplicated Example-level default mise config.
Changes: Updates the Example setup script/docs and the UI test workflow path filter so Example/ commands inherit the root mise configuration as the single source of truth.

🤖 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. 1 suggestion posted.

Fix All in Augment

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

Comment thread Example/README.md

```shell
mise trust mise.compute.toml
mise trust ../mise.compute.toml

@augmentcode augmentcode Bot Jul 19, 2026

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The manual Compute instructions only mise trust ../mise.compute.toml, but mise --env compute … will typically still load the base ../mise.toml as well. If someone follows just this section, they may still hit an untrusted-config prompt for mise.toml.

Severity: low

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎, or 🚀 if it prevented an incident/outage.

@codecov

codecov Bot commented Jul 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 26.35%. Comparing base (deaf7fa) to head (6ccbb5e).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #944      +/-   ##
==========================================
- Coverage   26.35%   26.35%   -0.01%     
==========================================
  Files         723      723              
  Lines       51232    51232              
==========================================
- Hits        13504    13500       -4     
- Misses      37728    37732       +4     

☔ View full report in Codecov by Harness.
📢 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 5e0bc15 into main Jul 19, 2026
9 checks passed
@Kyle-Ye
Kyle-Ye deleted the optimize/tuist branch July 19, 2026 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: example Example apps, previews, sample projects, screenshots, or demo assets. area: tooling Developer tooling, package manifests, Tuist, scripts, formatting, or release tooling. type: maintenance Refactor, cleanup, dependency bump, NFC, or internal maintenance.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant