Skip to content

Conversation

GregoryComer
Copy link
Member

@GregoryComer GregoryComer commented Aug 8, 2025

Update the Windows preset build job to accurately report failure. Previously, it was silently failing.

I've updated the script to explicitly check the last exit code. I'm not entirely sure why ErrorActionPreference=Stop isn't doing this. I played around with the escaping a bit and also added PSNativeCommandUseErrorActionPreference = True, but haven't gotten it to fail on exit code. It might be possible to make this work, but I'm just adding an explicit check for now.

[ghstack-poisoned]
[ghstack-poisoned]
Copy link

pytorch-bot bot commented Aug 8, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/13247

Note: Links to docs will display an error until the docs builds have been completed.

❌ 4 New Failures

As of commit e0a7a1d with merge base ffb47e3 (image):

NEW FAILURES - The following jobs have failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

GregoryComer added a commit that referenced this pull request Aug 8, 2025
ghstack-source-id: 5ec12b2
ghstack-comment-id: 3169485065
Pull-Request: #13247
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 8, 2025
[ghstack-poisoned]
GregoryComer added a commit that referenced this pull request Aug 8, 2025
ghstack-source-id: 342cdf8
ghstack-comment-id: 3169485065
Pull-Request: #13247
[ghstack-poisoned]
GregoryComer added a commit that referenced this pull request Aug 8, 2025
ghstack-source-id: c16c822
ghstack-comment-id: 3169485065
Pull-Request: #13247
[ghstack-poisoned]
GregoryComer added a commit that referenced this pull request Aug 8, 2025
ghstack-source-id: 8e73876
ghstack-comment-id: 3169485065
Pull-Request: #13247
[ghstack-poisoned]
GregoryComer added a commit that referenced this pull request Aug 8, 2025
ghstack-source-id: 8d72955
ghstack-comment-id: 3169485065
Pull-Request: #13247
@GregoryComer GregoryComer marked this pull request as ready for review August 9, 2025 00:03
@GregoryComer
Copy link
Member Author

Note that the Windows CI failure is expected, given the current state of the job.

@GregoryComer
Copy link
Member Author

Tracking issue: #12962.

Base automatically changed from gh/GregoryComer/110/head to main August 11, 2025 20:18
[ghstack-poisoned]
@GregoryComer GregoryComer added the release notes: none Do not include this in the release notes label Aug 14, 2025
GregoryComer and others added 3 commits August 14, 2025 11:19
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
@GregoryComer GregoryComer merged commit 3ab2c2f into main Aug 25, 2025
100 of 104 checks passed
@GregoryComer GregoryComer deleted the gh/GregoryComer/111/head branch August 25, 2025 22:52
agrima1304 pushed a commit to agrima1304/executorch that referenced this pull request Aug 26, 2025
Update the Windows preset build job to accurately report failure.
Previously, it was silently failing.

I've updated the script to explicitly check the last exit code. I'm not
entirely sure why ErrorActionPreference=Stop isn't doing this. I played
around with the escaping a bit and also added
PSNativeCommandUseErrorActionPreference = True, but haven't gotten it to
fail on exit code. It might be possible to make this work, but I'm just
adding an explicit check for now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. release notes: none Do not include this in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants