Skip to content

Fix internal runtime opt-out in publish-logs - #17345

Merged
akoeplinger merged 1 commit into
dotnet:mainfrom
akoeplinger:fix-publish-logs-boolean-condition
Aug 14, 2026
Merged

akoeplinger merged 1 commit into
dotnet:mainfrom
akoeplinger:fix-publish-logs-boolean-condition

Conversation

@akoeplinger

Copy link
Copy Markdown
Member

Summary

  • explicitly compare enableInternalRuntimes with true
  • ensure the untyped string value false selects the token-free argument branch

Validation

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

Follow-up to #17320.

Compare the untyped enableInternalRuntimes parameter explicitly with true so the string value false does not evaluate as truthy in Azure Pipelines template expansion.

Co-authored-by: Copilot <[email protected]>

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

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 pull request updates the Arcade publish-logs core template to correctly treat enableInternalRuntimes as an explicit boolean, preventing string values (notably "false") from being interpreted as truthy and inadvertently enabling internal runtime feed arguments. This is a follow-up refinement to #17320’s introduction of the enableInternalRuntimes switch.

Changes:

  • Change the conditional from a truthy check to an explicit eq(parameters.enableInternalRuntimes, true) comparison.
  • Ensure callers that pass an untyped/string "false" reliably take the token-free argument branch.

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

@akoeplinger
akoeplinger enabled auto-merge (squash) August 14, 2026 18:31
@akoeplinger
akoeplinger merged commit acdb3e7 into dotnet:main Aug 14, 2026
9 of 12 checks passed
@akoeplinger
akoeplinger deleted the fix-publish-logs-boolean-condition branch August 17, 2026 09:05
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Aug 19, 2026
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.

3 participants