8000 Run exception mapping tests without the scenario compiler by kzu · Pull Request #286 · devlooped/stunts · GitHub
[go: up one dir, main page]

Skip to content

Run exception mapping tests without the scenario compiler - #286

Merged
kzu merged 2 commits into
mainfrom
exception-mapping-unit-tests
Oct 8, 2026
Merged

kzu merged 2 commits into
mainfrom
exception-mapping-unit-tests

Conversation

@kzu
@kzu kzu commented Oct 8, 2026 •
Copy link
Copy Markdown
Member

Summary

  • Move the exception-mapping coverage into ExceptionMappingBehaviorTests, which drives a BehaviorPipeline directly instead of compiling a scenario.
  • Check in the Native AOT program that a swallowed value comes from the generated DefaultValueProvider factories, including a caller-supplied provider.

Test plan

  • ExceptionMappingBehaviorTests (16 tests, pipeline only)
  • Native AOT publish of CompiledAot covers the swallowed struct, array, task, and supplied provider

The behavior is covered through the pipeline directly, and Native AOT checks that a swallowed value comes from the generated default factories.
@kzu
kzu enabled auto-merge (squash) October 8, 2026 02:16
@kzu kzu added enhancement New feature or request techdebt Technical debt and removed enhancement New feature or request labels Oct 8, 2026
Task.Delay can return a few milliseconds under the requested 50, so the fixed lower bound failed on CI.
@kzu
kzu merged commit b0326b8 into main Oct 8, 2026
@kzu
kzu deleted the exception-mapping-unit-tests branch October 8, 2026 02:33
@devlooped devlooped locked and limited conversation to collaborators Dec 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

techdebt Technical debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0