.NET: Prevent telemetry serialization failures from failing workflows - #7612
Merged
Peter Ibekwe (peibekwe) merged 2 commits intoAug 11, 2026
Merged
Conversation
Peter Ibekwe (peibekwe)
temporarily deployed
to
github-app-auth
August 11, 2026 04:09 — with
GitHub Actions
Inactive
Peter Ibekwe (peibekwe)
temporarily deployed
to
github-app-auth
August 11, 2026 04:09 — with
GitHub Actions
Inactive
Peter Ibekwe (peibekwe)
temporarily deployed
to
github-app-auth
August 11, 2026 04:09 — with
GitHub Actions
Inactive
Peter Ibekwe (peibekwe)
temporarily deployed
to
integration
August 11, 2026 04:09 — with
GitHub Actions
Inactive
Peter Ibekwe (peibekwe)
temporarily deployed
to
integration
August 11, 2026 04:09 — with
GitHub Actions
Inactive
Contributor
There was a problem hiding this comment.
Pull request overview
Adds resilient workflow telemetry serialization so unsupported payloads fall back without disrupting execution.
Changes:
- Catches serialization failures and emits an
[Unserializable: ...]fallback. - Adds regression coverage for message delivery, executor telemetry, AOT-like failures, and custom exceptions.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
WorkflowTelemetryContext.cs |
Adds telemetry serialization fallback. |
ObservabilityTests.cs |
Tests fallback behavior and workflow continuity. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
Contributor
There was a problem hiding this comment.
Agent Framework Review — Iteration 1
Completed passes: 5 | Result: No high-severity findings
Scope: full PR (1 commit(s)): 7a45235d304e
Review passes
- Correctness (
gpt-5.6-sol) — No issues found in this pass. - Security Reliability (
claude-opus-4.8) — No issues found in this pass. - Test Coverage (
gpt-5.6-sol) — No issues found in this pass. - Failure Modes (
claude-opus-4.8) — No issues found in this pass. - Design Approach (
claude-opus-4.8) — No issues found in this pass.
Peter Ibekwe (peibekwe)
temporarily deployed
to
github-app-auth
August 11, 2026 04:39 — with
GitHub Actions
Inactive
Peter Ibekwe (peibekwe)
temporarily deployed
to
integration
August 11, 2026 04:39 — with
GitHub Actions
Inactive
Peter Ibekwe (peibekwe)
temporarily deployed
to
integration
August 11, 2026 04:39 — with
GitHub Actions
Inactive
Peter Ibekwe (peibekwe)
marked this pull request as ready for review
August 11, 2026 04:56
Peter Ibekwe (peibekwe)
temporarily deployed
to
github-app-auth
August 11, 2026 04:56 — with
GitHub Actions
Inactive
Contributor
There was a problem hiding this comment.
Agent Framework Review — Iteration 2
Completed passes: 5 | Result: No high-severity findings
Scope: 1 net-new commit(s): 1ca94adcb18d
Review passes
- Correctness (
gpt-5.6-sol) — No issues found in this pass. - Security Reliability (
claude-opus-4.8) — No issues found in this pass. - Test Coverage (
gpt-5.6-sol) — No issues found in this pass. - Failure Modes (
claude-opus-4.8) — No issues found in this pass. - Design Approach (
claude-opus-4.8) — No issues found in this pass.
Roger Barreto (rogerbarreto)
approved these changes
Aug 11, 2026
westey (westey-m)
approved these changes
Aug 11, 2026
This was referenced Aug 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description & Review Guide
Workflow telemetry now safely falls back to an
[Unserializable: ...]representation when sensitive payload serialization fails, without disrupting execution or altering the message stream. Adds regression coverage for unsupportedAIContent, executor telemetry, AOT, and arbitrary serialization exceptions.CodeInterpreterToolCallContentthat was mentioned in the issue is now supported by current MEAI serialization, but the underlying telemetry failure remained for unsupported or custom content types. This change safely falls back to[Unserializable: ...]without failing workflow execution or altering the message stream.Fixes #5066
Contribution Checklist
breaking changelabel (or add "[BREAKING]" to the title prefix, before or after any language prefix) — a workflow keeps the label and title prefix in sync automatically.