Skip to content

Simplify pipelines#27505

Open
CraigMacomber wants to merge 6 commits into
microsoft:mainfrom
CraigMacomber:simple_pipe
Open

Simplify pipelines#27505
CraigMacomber wants to merge 6 commits into
microsoft:mainfrom
CraigMacomber:simple_pipe

Conversation

@CraigMacomber

Copy link
Copy Markdown
Contributor

Description

Simplify pipelines a bit.

Reviewer Guidance

The review process is outlined on this wiki page.

@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

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

Based on the diff (243 lines, 9 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

@CraigMacomber CraigMacomber marked this pull request as ready for review June 9, 2026 20:44
Copilot AI review requested due to automatic review settings June 9, 2026 20:44

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 9 out of 9 changed files in this pull request and generated no comments.

requireNotice: ${{ parameters.shouldReleaseDockerImage }}

- ${{ if eq(parameters.packageManager, 'pnpm') }}:
- ${{ if ne(parameters.skipPackageInstall, true) }}:

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.

Does this work?

Suggested change
- ${{ if ne(parameters.skipPackageInstall, true) }}:
- ${{ if not(parameters.skipPackageInstall) }}:

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.

Same for other eq and ne locations below

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Correct. Fixed them all.


if [[ "${{ parameters.packageManager }}" == "none" ]] && [[ "${{ parameters.setVersion }}" == "True" ]]; then
echo "##vso[task.logissue type=error]packageManager: 'none' is incompatible with setVersion: true (version-setting transitively requires a package manager)."
if [[ "${{ parameters.skipPackageInstall }}" == "true" ]] && [[ "${{ parameters.setVersion }}" == "True" ]]; then

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.

Should this be True rather than true?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The code above uses both, which I suppose is likely a bug. I'll look into this more.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Looks like the code using lowercase was bugged, and that validation could never trigger. Docs for this are in https://learn.microsoft.com/en-us/azure/devops/pipelines/process/expressions?view=azure-devops#boolean-1 . Fixed here and there.

type: boolean
default: false

- name: isBundleSizeArtifactsPipeline

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.

Might be preferable to leave the bundle size stuff for now, Tommy and I are making changes in this area and some of this is probably going to change anyway. Since the bundle size artifacts live in the client-side of the world it may make more sense for them to be produced over here...?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Recently you updated the bundle size stuff in the other pipeline, the one we actually use for it, and left this one out of date. I find having the code duplicated here where it is dead code that's not fully up to date confusing. I do agree that it is probably better to not touch that in this PR though, as that's a whole different mess that the rest of these changes.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I have reverted my changes in this area

parameters:
buildDirectory: ${{ variables.FluidFrameworkDirectory }}/docs

- task: Bash@3

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.

Was this just duplicate?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This pretty much just an inline copy of include-install.yml (except for that pwd statement I added at some point) which it now just uses.

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