Skip to content

ServiceFabricDeployV1: emit SfSafeParserFailure telemetry on safe-parser errors#22069

Open
tpavlovi wants to merge 4 commits intomasterfrom
users/tpavlovi/sf-safe-parser-telemetry
Open

ServiceFabricDeployV1: emit SfSafeParserFailure telemetry on safe-parser errors#22069
tpavlovi wants to merge 4 commits intomasterfrom
users/tpavlovi/sf-safe-parser-telemetry

Conversation

@tpavlovi
Copy link
Copy Markdown
Contributor

@tpavlovi tpavlovi commented Apr 24, 2026

Context

AB#2378793


Task Name

ServiceFabricDeployV1


Description

  • Added SfSafeParserFailure to Tasks/Common/ServiceFabricHelpers/SFOperations.ps1.
  • In Publish-UpgradedServiceFabricApplication.ps1, set $global:operationId = $SF_Operations.SfSafeParserFailure immediately before invoking ConvertTo-ServiceTypeHealthPolicyMap, so any exception thrown by the safe parser is reported via the existing Publish-Telemetry call in deploy.ps1's catch block with a distinct OperationId.
  • Bumped task version.

Risk Assessment (Low / Medium / High)

Low


Change Behind Feature Flag (Yes / No)

Yes (DistributedTask.Tasks.SfSafeParser)


Tech Design / Approach


Documentation Changes Required (Yes/No)

No


Unit Tests Added or Updated (Yes / No)

No


Additional Testing Performed


Logging Added/Updated (Yes/No)

No


Telemetry Added/Updated (Yes/No)

No


Rollback Scenario and Process (Yes/No)

Disable the DistributedTask.Tasks.SfSafeParser pipeline feature flag


Dependency Impact Assessed and Regression Tested (Yes/No)


Checklist

  • Related issue linked (if applicable)
  • Task version was bumped — see versioning guide
  • Verified the task behaves as expected

@tpavlovi tpavlovi requested review from a team and manolerazvan as code owners April 24, 2026 15:41
@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines:
Successfully started running 3 pipeline(s).

@tpavlovi
Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines:
Successfully started running 3 pipeline(s).

@tpavlovi
Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines:
Successfully started running 3 pipeline(s).

2 similar comments
@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines:
Successfully started running 3 pipeline(s).

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines:
Successfully started running 3 pipeline(s).

@tpavlovi tpavlovi force-pushed the users/tpavlovi/sf-safe-parser-telemetry branch from cd33f2c to 6cccf9d Compare April 28, 2026 09:20
@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines:
Successfully started running 3 pipeline(s).

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines:
Successfully started running 3 pipeline(s).

@tpavlovi
Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines:
Successfully started running 3 pipeline(s).

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