Skip to content

adding window test platform#665

Merged
lopezt-unity merged 3 commits intomasterfrom
wrench/update-for-windows-tests
Apr 17, 2026
Merged

adding window test platform#665
lopezt-unity merged 3 commits intomasterfrom
wrench/update-for-windows-tests

Conversation

@lopezt-unity
Copy link
Copy Markdown
Collaborator

Purpose of this PR

Updating CI

Links

Jira:

Comments to Reviewers

[List known issues, planned work, provide any extra context for your code.]

Copy link
Copy Markdown

@u-pr u-pr bot left a comment

Choose a reason for hiding this comment

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

May require changes

This review identified several critical issues in the Yamato configuration files, specifically the removal of the -a arm64 architecture flag for macOS validation jobs, which could lead to performance regression and incorrect validation. Additionally, potential YAML indentation errors and consistency issues with generated configuration were found in the trigger definitions.

🤖 Helpful? 👍/👎

Comment thread .yamato/wrench/validation-jobs.yml Outdated
- command: pip install semver requests --index-url https://artifactory-slo.bf.unity3d.com/artifactory/api/pypi/pypi/simple
- command: python PythonScripts/print_machine_info.py
- command: unity-downloader-cli -u 6000.0/staging -c editor -a arm64 --path .Editor --fast
- command: unity-downloader-cli -u 6000.0/staging -c editor --path .Editor --fast
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

high

⚠️ Verification: This finding may be speculative — The finding uses the hedging phrase "will likely cause" regarding the tool's behavior when the architecture flag is omitted.

The -a arm64 flag was removed from the unity-downloader-cli command for all macOS validation jobs. For Unity 6 (6000.x) and trunk versions, this will likely cause the downloader to fetch the Intel (x64) version of the Unity Editor instead of the native Apple Silicon (arm64) version. This regresses test performance by running under Rosetta and fails to validate the native arm64 editor which is the primary target for modern macOS. If these runners are Apple Silicon, you should retain the explicit architecture flag.

Suggested change
- command: unity-downloader-cli -u 6000.0/staging -c editor --path .Editor --fast
- command: unity-downloader-cli -u 6000.0/staging -c editor -a arm64 --path .Editor --fast

🤖 Helpful? 👍/👎

Comment thread .yamato/triggers.yml
name: Pull Request Trigger
dependencies:
- path: .yamato/wrench/validation-jobs.yml#validate_-_probuilder_-_6000_0_-_macos
- path: .yamato/wrench/validation-jobs.yml#validate_-_probuilder_-_6000_0_-_windows
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

high

⚠️ Verification: This finding may be speculative — The finding uses multiple hedging phrases such as "It appears", "seem to", and "will likely" when describing the indentation and its impact.

It appears there is an indentation mismatch for the newly added Windows dependencies. In YAML, all items in a list must be at the same indentation level. Comparing line 5 and 6, the new entries seem to have fewer leading spaces than the existing macOS entries. This will likely cause a parsing error in Yamato.

🤖 Helpful? 👍/👎

Comment thread .yamato/triggers.yml
name: Pull Request Trigger
dependencies:
- path: .yamato/wrench/validation-jobs.yml#validate_-_probuilder_-_6000_0_-_macos
- path: .yamato/wrench/validation-jobs.yml#validate_-_probuilder_-_6000_0_-_windows
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

⚠️ Verification: This finding may be speculative — The finding uses the hedging word "might" when speculating about the YAML file being overwritten and the job filter's behavior.

You are manually adding specific Windows jobs to the triggers.yml file, but you also updated the generator logic in Triggers.cs (line 25). If Triggers.cs is used to generate this YAML file, your manual changes might be overwritten. Additionally, the broad filter d.JobId.Contains("windows") in C# might include more jobs than the ones you manually listed here. Have you considered using the generation tool to update this file automatically?

🤖 Helpful? 👍/👎

Comment thread .yamato/wrench/validation-jobs.yml Outdated
- command: pip install semver requests --index-url https://artifactory-slo.bf.unity3d.com/artifactory/api/pypi/pypi/simple
- command: python PythonScripts/print_machine_info.py
- command: unity-downloader-cli -u trunk -c editor -a arm64 --path .Editor --fast
- command: unity-downloader-cli -u trunk -c editor --path .Editor --fast
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

high

⚠️ Verification: This finding may be speculative — The finding uses the hedging word "likely" to describe the necessity of restoring the architecture flag.

The removal of -a arm64 also affects the trunk validation job. This should likely be restored to ensure native testing on macOS.

Suggested change
- command: unity-downloader-cli -u trunk -c editor --path .Editor --fast
- command: unity-downloader-cli -u trunk -c editor -a arm64 --path .Editor --fast

🤖 Helpful? 👍/👎

@codecov-github-com
Copy link
Copy Markdown

codecov-github-com bot commented Apr 16, 2026

Codecov Report

All modified and coverable lines are covered by tests ✅

@@            Coverage Diff             @@
##           master     #665      +/-   ##
==========================================
+ Coverage   36.05%   36.98%   +0.92%     
==========================================
  Files         277      278       +1     
  Lines       34909    35018     +109     
==========================================
+ Hits        12588    12951     +363     
+ Misses      22321    22067     -254     
Flag Coverage Δ
probuilder_MacOS_6000.0 35.58% <ø> (+1.00%) ⬆️
probuilder_MacOS_6000.3 35.58% <ø> (+1.00%) ⬆️
probuilder_MacOS_6000.4 35.58% <ø> (+1.00%) ⬆️
probuilder_MacOS_6000.5 35.58% <ø> (+1.01%) ⬆️
probuilder_MacOS_6000.6 35.58% <ø> (?)
probuilder_Windows_6000.0 35.50% <ø> (+0.26%) ⬆️
probuilder_Windows_6000.3 35.50% <ø> (+0.26%) ⬆️
probuilder_Windows_6000.4 35.50% <ø> (+0.25%) ⬆️
probuilder_Windows_6000.5 35.50% <ø> (+0.26%) ⬆️
probuilder_Windows_6000.6 35.50% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 51 files with indirect coverage changes

ℹ️ Need help interpreting these results?

@thomas-tu
Copy link
Copy Markdown
Collaborator

Did you run "regenerate.sh"? @lopezt-unity

@lopezt-unity lopezt-unity merged commit bf3d10a into master Apr 17, 2026
18 checks passed
@lopezt-unity lopezt-unity deleted the wrench/update-for-windows-tests branch April 17, 2026 17:39
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.

2 participants