Skip to content

Avoid unresolved runtime token warnings in log publishing - #17320

Open
akoeplinger wants to merge 2 commits into
dotnet:mainfrom
akoeplinger:fix-publish-logs-optional-internal-runtimes
Open

Avoid unresolved runtime token warnings in log publishing#17320
akoeplinger wants to merge 2 commits into
dotnet:mainfrom
akoeplinger:fix-publish-logs-optional-internal-runtimes

Conversation

@akoeplinger

Copy link
Copy Markdown
Member

Summary

  • add an enableInternalRuntimes switch to the publish-logs template
  • omit internal runtime feed arguments when the SAS token is not generated
  • opt out the signing-validation and publishing-v3 callers that do not enable internal runtimes

Validation

  • parsed the modified YAML files
  • ran git diff --check

Conditionally include internal runtime feed arguments in the publish-logs template. Preserve the existing internal default and opt out callers that do not generate the runtime SAS token.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: d161c906-d626-4654-accd-0ae750b202b3
Copilot AI lite review requested due to automatic review settings August 11, 2026 18:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates Arcade’s Azure Pipelines log-publishing template to avoid passing internal runtime feed arguments in scenarios where the internal runtime SAS token isn’t available, reducing unresolved-variable noise and avoiding potential failures during log redaction.

Changes:

  • Added an enableInternalRuntimes switch to the core publish-logs steps template and used it to include/exclude internal runtime feed arguments.
  • Updated the publishing-v3 pipeline to opt out of internal runtime feed arguments when publishing logs.
  • Updated the signing validation post-build stage to opt out of internal runtime feed arguments when publishing logs.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
eng/publishing/v3/publish.yml Passes enableInternalRuntimes: false to the publish-logs step template for the assets publishing job.
eng/common/core-templates/steps/publish-logs.yml Adds enableInternalRuntimes parameter and conditionally includes internal runtime feed arguments for the redaction step.
eng/common/core-templates/post-build/post-build.yml Passes enableInternalRuntimes: false for the signing validation stage’s publish-logs invocation.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread eng/common/core-templates/steps/publish-logs.yml Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings August 11, 2026 19:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

Comment thread eng/common/core-templates/steps/publish-logs.yml
@akoeplinger
akoeplinger requested a review from missymessa August 11, 2026 21:09
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.

2 participants