Repository navigation
Let the diagnostic rule and code fields added in 0.261.478 reach telemetry (0.261.480) - #1975
Merged
Paul Lizer (paullizer) merged 1 commit intoNov 22, 2026
Conversation
…metry (0.261.480) The telemetry boundary keeps a text value only for allow-listed keys, and the keys added in 0.261.478 (failure_rule, execution_rule, calculation_cause, error_code, limit_source, limit_status) were not on the list, so they were logged and dropped. The tabular plugin's operation named the worker closure instead of the plugin function, and a failed accessibility report logged its class name only. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Paul Lizer (paullizer)
merged commit Nov 22, 2026
cc5008f
into
microsoft:Development
14 checks passed
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.
Summary
Follow-up to #1973. Version 0.261.480.
0.261.478 added closed-code fields to several failure logs so a run would say which check stopped a step. In the next run those fields did not appear in telemetry.
failure_rule,execution_rule,calculation_cause,error_code,limit_sourceandlimit_statuswere not on the list, so they were recorded as lengths. They are now code keys: a value is kept only when it is a lower-case snake token.operationlogged the worker closure the functions run their file work in, not the function.Why the earlier tests missed it
They replaced
log_eventwith a recorder and asserted the dictionary passed in. The new test sends the fields through the real_build_logger_extraand asserts that free text under the same keys is dropped.Testing
test_orchestration_failure_telemetry.py,test_orchestration_relational_results.py,test_privacy_logging_telemetry_audit.py: pass.test_appinsights_streaming_context.py: 8 failures, the same on the commit before this change.Details:
docs/explanation/fixes/DIAGNOSTIC_RULE_FIELDS_TELEMETRY_FIX.md.🤖 Generated with Claude Code