Skip to content

Cover exception callbacks on the TaskFlow context - #26

Merged
dombrovsky merged 1 commit into
mainfrom
fix/14-exception-callback-context
Aug 17, 2026
Merged

Cover exception callbacks on the TaskFlow context#26
dombrovsky merged 1 commit into
mainfrom
fix/14-exception-callback-context

Conversation

@dombrovsky

Copy link
Copy Markdown
Owner

Summary

  • cover asynchronous exception handling across all TaskFlow implementations
  • verify interleaved exception handlers retain registration order
  • verify interceptor error/finally callbacks run before completion handlers
  • verify operation annotations reach OnError callbacks

Why

OnError previously observed failures after the terminal scheduler had completed, so callbacks for DedicatedThreadTaskFlow ran without the flow synchronization context. PR #25 introduces completion middleware inside the terminal execution envelope; this stacked PR adds the focused public-behavior coverage needed for #14.

Impact

This PR is test-only and depends on #25. No production API or implementation changes are added here.

Validation

  • Release build succeeded with 0 warnings and 0 errors
  • TaskFlow tests: 249 passed on .NET 8 and 249 passed on .NET 10
  • dependency-injection tests: 15 passed on each target
  • Microsoft logging tests: 5 passed on each target

Closes #14

@dombrovsky
dombrovsky marked this pull request as ready for review August 17, 2026 01:30
Base automatically changed from feature/24-middleware-pipeline to main August 17, 2026 01:39
@dombrovsky
dombrovsky force-pushed the fix/14-exception-callback-context branch from 10c50df to 18a88dd Compare August 17, 2026 01:40
@dombrovsky
dombrovsky merged commit bc243f4 into main Aug 17, 2026
1 check passed
@dombrovsky
dombrovsky deleted the fix/14-exception-callback-context branch August 17, 2026 01:49
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.

Run exception decorator callbacks on the TaskFlow context

1 participant