Skip to content

fix: throw correct exception from Activity and Workflow contexts#687

Merged
xepozz merged 8 commits intomasterfrom
contextless-error
Feb 5, 2026
Merged

fix: throw correct exception from Activity and Workflow contexts#687
xepozz merged 8 commits intomasterfrom
contextless-error

Conversation

@xepozz
Copy link
Collaborator

@xepozz xepozz commented Dec 26, 2025

What was changed

Why?

Closes #624

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

@xepozz xepozz requested a review from wolfy-j as a code owner December 26, 2025 12:49
@vercel
Copy link

vercel bot commented Dec 26, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
php Ready Ready Preview, Comment Feb 5, 2026 6:47am

Request Review

use Temporal\Exception\OutOfContextException;
use Temporal\Workflow;

class WorkflowFacadeTest extends TestCase
Copy link
Collaborator

Choose a reason for hiding this comment

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

we did not have existing one?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It uses in different tests to test workflow, but there's no any to test Temporal\Workflow itself

@xepozz xepozz merged commit 10008d5 into master Feb 5, 2026
109 of 114 checks passed
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.

[Bug] Facade methods throw wrong exception

2 participants