Skip to content

Conversation

@hsharma35
Copy link
Contributor

Summary: Adds matcher support for Result and Error types, similar to absl::Status.

Differential Revision: D77409312

@pytorch-bot
Copy link

pytorch-bot bot commented Jun 26, 2025

🔗 Helpful Links

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

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

❌ 3 New Failures

As of commit ebbe105 with merge base f673a4b (image):

NEW FAILURES - The following jobs have failed:

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

@facebook-github-bot facebook-github-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 Jun 26, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77409312

hsharma35 added a commit to hsharma35/executorch that referenced this pull request Jun 27, 2025
Summary:

Adds matcher support for Result and Error types, similar to absl::Status.

Differential Revision: D77409312
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77409312

hsharma35 added a commit to hsharma35/executorch that referenced this pull request Jun 27, 2025
Summary:

Adds matcher support for Result and Error types, similar to absl::Status.

Differential Revision: D77409312
@hsharma35 hsharma35 added the release notes: none Do not include this in the release notes label Jun 27, 2025
hsharma35 added a commit to hsharma35/executorch that referenced this pull request Jun 27, 2025
Summary:

Adds matcher support for Result and Error types, similar to absl::Status.

Differential Revision: D77409312
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77409312

hsharma35 added a commit to hsharma35/executorch that referenced this pull request Jun 27, 2025
Summary:

Adds matcher support for Result and Error types, similar to absl::Status.

Differential Revision: D77409312
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77409312

@hsharma35 hsharma35 requested a review from kimishpatel June 27, 2025 22:25
hsharma35 added a commit to hsharma35/executorch that referenced this pull request Jun 28, 2025
Summary:

Adds matcher support for Result and Error types, similar to absl::Status.

Differential Revision: D77409312
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77409312

hsharma35 added a commit to hsharma35/executorch that referenced this pull request Jun 28, 2025
Summary:
Pull Request resolved: pytorch#12038

Adds matcher support for Result and Error types, similar to absl::Status.

Differential Revision: D77409312
hsharma35 added a commit to hsharma35/executorch that referenced this pull request Jun 30, 2025
Summary:

Adds matcher support for Result and Error types, similar to absl::Status.

Differential Revision: D77409312
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77409312

hsharma35 added a commit to hsharma35/executorch that referenced this pull request Jun 30, 2025
Summary:
Pull Request resolved: pytorch#12038

Adds matcher support for Result and Error types, similar to absl::Status.

Differential Revision: D77409312
namespace internal {
namespace {

constexpr const char* toString(const Error error) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you put this in Error? Would be easier for future changes to Error also change this API.

Copy link
Contributor

Choose a reason for hiding this comment

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

Also this can be templatized

Copy link
Contributor

@larryliu0820 larryliu0820 left a comment

Choose a reason for hiding this comment

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

Can you add a test for real code (not error_matchers_test.cpp) that uses these matchers?

hsharma35 added a commit to hsharma35/executorch that referenced this pull request Jun 30, 2025
Summary:

Adds matcher support for Result and Error types, similar to absl::Status.

Reviewed By: larryliu0820

Differential Revision: D77409312
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77409312

hsharma35 added a commit to hsharma35/executorch that referenced this pull request Jun 30, 2025
Summary:

Adds matcher support for Result and Error types, similar to absl::Status.

Reviewed By: larryliu0820

Differential Revision: D77409312
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77409312

hsharma35 added a commit to hsharma35/executorch that referenced this pull request Jun 30, 2025
Summary:
Pull Request resolved: pytorch#12038

Adds matcher support for Result and Error types, similar to absl::Status.

Reviewed By: larryliu0820

Differential Revision: D77409312
hsharma35 added a commit to hsharma35/executorch that referenced this pull request Jun 30, 2025
Summary:

Adds matcher support for Result and Error types, similar to absl::Status.

Reviewed By: larryliu0820

Differential Revision: D77409312
Summary:
Pull Request resolved: pytorch#12038

Adds matcher support for Result and Error types, similar to absl::Status.

Reviewed By: larryliu0820

Differential Revision: D77409312
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D77409312

@facebook-github-bot facebook-github-bot merged commit 75e4044 into pytorch:main Jul 1, 2025
93 of 98 checks passed
Tanish2101 pushed a commit to Tanish2101/executorch that referenced this pull request Jul 9, 2025
Differential Revision: D77409312

Pull Request resolved: pytorch#12038
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. fb-exported 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