Skip to content

Stabilize Insight worker context retention regression tests - #189

Merged
josiahking merged 1 commit into
2.xfrom
feature/11-9-4-insight-retention-regression
Dec 3, 2026
Merged

josiahking merged 1 commit into
2.xfrom
feature/11-9-4-insight-retention-regression

Conversation

@josiahking

Copy link
Copy Markdown
Owner

Make the Insight worker isolation tests independent of PHP's exception argument retention setting while preserving the original throwable contract.

The existing regression now uses a preconstructed exception. A new test verifies that releasing caller-owned failure references allows the execution context to be reclaimed, subsequent executions remain independent, and persisted diagnostics exclude synthetic exception details.

No production code or dependencies change.

Testing: both exception argument settings, Insight and Core regression tests, root PHPUnit, PHPStan, coding standards, and architecture/documentation policy checks.

@josiahking josiahking self-assigned this Dec 3, 2026
@josiahking
josiahking merged commit 185dc1d into 2.x Dec 3, 2026
9 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.

1 participant