Skip to content

Conversation

@cyyever
Copy link
Contributor

@cyyever cyyever commented Nov 5, 2025

Summary

The usage of customised optional type has been replaced by std::optional.

@pytorch-bot
Copy link

pytorch-bot bot commented Nov 5, 2025

🔗 Helpful Links

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

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

❌ 12 New Failures, 5 Unrelated Failures

As of commit 3ce95c8 with merge base 3f4f500 (image):

NEW FAILURES - The following jobs have failed:

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

BROKEN TRUNK - The following jobs failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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

@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 Nov 5, 2025
@cyyever
Copy link
Contributor Author

cyyever commented Nov 5, 2025

@pytorchbot label "release notes: none"

@pytorch-bot pytorch-bot bot added the release notes: none Do not include this in the release notes label Nov 5, 2025
@JacobSzwejbka
Copy link
Contributor

JacobSzwejbka commented Nov 5, 2025

Hmm ET exposed optional as a public type, so to avoid being bc breaking you probably need to leave the header and alias the std::optional to the et namespaces

edit: Ah the header already was doing that. Ok then probably just leave it. Its probably safer

@cyyever cyyever changed the title Remove runtime/core/portable_type/optional.h [BC Breaking] Remove runtime/core/portable_type/optional.h Nov 5, 2025
@cyyever
Copy link
Contributor Author

cyyever commented Nov 5, 2025

This is BC breaking, so it is up to the community to decide when to apply.

@lucylq
Copy link
Contributor

lucylq commented Nov 6, 2025

Importing to internal as well to make sure we're not breaking any internal tests

@meta-codesync
Copy link

meta-codesync bot commented Nov 6, 2025

@lucylq has imported this pull request. If you are a Meta employee, you can view this in D86442644.

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