Skip to content

Add some notes to include-install-build-tools#27537

Open
CraigMacomber wants to merge 4 commits into
microsoft:mainfrom
CraigMacomber:include-install-build-tools-notes
Open

Add some notes to include-install-build-tools#27537
CraigMacomber wants to merge 4 commits into
microsoft:mainfrom
CraigMacomber:include-install-build-tools-notes

Conversation

@CraigMacomber

Copy link
Copy Markdown
Contributor

Description

This pipeline template is problematic, and introduces an additional way to depend on build tools which we could probably do without. This clarifies the issues with it a bit.

These issues turned up when trying (and failing) to update build-tools to pnpm 11 which caused hard to root cause problems for users of this pipeline with the default "repo" mode.

Reviewer Guidance

The review process is outlined on this wiki page.

Copilot AI review requested due to automatic review settings June 12, 2026 18:37

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.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

@github-actions

github-actions Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Hi! Thank you for opening this PR. Want me to review it?

Based on the diff (11 lines, 1 files), I've queued these reviewers:

  • Correctness — logic errors, race conditions, lifecycle issues
  • Security — vulnerabilities, secret exposure, injection
  • API Compatibility — breaking changes, release tags, type design
  • Performance — algorithmic regressions, memory leaks
  • Testing — coverage gaps, hollow tests

How this works

  • Adjust the reviewer set by ticking/unticking boxes above. Reviewer toggles alone don't trigger anything.

  • Tick Start review below to dispatch the review fleet.

  • After review finishes, tick Start review again to request another run — it auto-resets after each dispatch.

  • This comment updates as new commits land; your reviewer selections are preserved.

  • Start review

@alexvy86 alexvy86 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.

A couple of suggestions but looks good otherwise.

Comment thread tools/pipelines/templates/include-install-build-tools.yml Outdated
Comment thread tools/pipelines/templates/include-install-build-tools.yml Outdated
CraigMacomber and others added 2 commits June 12, 2026 19:40
Co-authored-by: Alex Villarreal <716334+alexvy86@users.noreply.github.com>
CraigMacomber added a commit that referenced this pull request Jun 12, 2026
## Description

This code used to simply try and parse an empty string as JSON and give
an unexpected end of JSON syntax error if there was some issue, like
those caused by include-install-build-tools overwriting the pnpm version
causing pnpm to try and install a different version which failed due to
network isolation (Noted in
#27537 and blocking
#27509). Now it actually
outputs the errors in such cases.
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