Skip to content

ci: Share package publish-order generation - #28061

Merged
Abram Sanderson (Abe27342) merged 1 commit into
mainfrom
test/absander/canonical-server-publish-order
Aug 24, 2026
Merged

ci: Share package publish-order generation#28061
Abram Sanderson (Abe27342) merged 1 commit into
mainfrom
test/absander/canonical-server-publish-order

Conversation

@Abe27342

@Abe27342 Abram Sanderson (Abe27342) commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Description

Extracts package publish-order generation into a shared script used by both standard npm package builds and Docker service builds. The generated order files now consistently contain canonical npm package names, matching the current publishing pipeline's expected format.

Docker service packages continue to be packed inside the built container. This preserves the generated lib/dist content and avoids repeating the regression from PR #22072, where running the complete host-side packing script produced tarballs without built output.

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

Copilot-Session: b5e23e23-c8bd-4fdf-80da-d79507700085
@github-actions github-actions Bot added area: tools area: build Build related issues area: repo Repo related work area: website base: main PRs targeted against main branch labels Aug 24, 2026
@github-actions

Copy link
Copy Markdown
Contributor

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

Based on the diff (40 lines, 3 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

@Abe27342
Abram Sanderson (Abe27342) marked this pull request as ready for review August 24, 2026 20:37
Copilot AI lite review requested due to automatic review settings August 24, 2026 20: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.

Pull request overview

Extracts package publish-order generation into a shared script so both standard npm package builds and Docker service builds produce consistent publish-order files (now containing canonical npm package names, aligned with flub publish tarballs’ expected default format).

Changes:

  • Add scripts/generate-package-publish-order.sh to generate per-feed publish-order files using flub list (package names, not tarball names).
  • Update scripts/pack-packages.sh to delegate publish-order generation to the shared script.
  • Update tools/pipelines/templates/build-docker-service.yml to call the shared script from the host checkout while keeping packing inside the built container.

Reviewed changes

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

File Description
tools/pipelines/templates/build-docker-service.yml Switch “Generate package lists” to invoke the shared publish-order generation script.
scripts/pack-packages.sh Delegate publish-order generation to the new shared script.
scripts/generate-package-publish-order.sh New shared helper that writes per-feed package-name publish-order files to the staging directory.

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

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.

I did a collaborative review with an agent asking for historical context, at what point things broke in the past, etc., and the fix seems good. It also called out that ff_publishing docs talk about "tarball path" when the pipelines there seem to strictly expect package names, so we probably want to update that.

@github-actions

Copy link
Copy Markdown
Contributor

Bundle size comparison

Base commit: f8bcc56859fc51957d45453bcf59ce154a2e0c18
Head commit: dd48a2be1a18e9e8194ab383ac05867f613fbff8

Notable changes

No bundles changed by ≥ 500 bytes parsed.

Per-bundle deltas

@fluid-example/bundle-size-tests

  • fluidFrameworkAllAlpha.js: parsed 785966 → 786022 (+56), gzip 216053 → 216109 (+56)
  • azureClient.js: parsed 633238 → 633233 (-5), gzip 169702 → 169772 (+70)
  • odspClient.js: parsed 606441 → 606557 (+116), gzip 163205 → 163324 (+119)
  • aqueduct.js: parsed 537118 → 537129 (+11), gzip 144266 → 144307 (+41)
  • fluidFramework.js: parsed 404519 → 404552 (+33), gzip 114888 → 114923 (+35)
  • sharedTree.js: parsed 393898 → 393924 (+26), gzip 112311 → 112334 (+23)
  • containerRuntime.js: parsed 313943 → 313925 (-18), gzip 86136 → 86133 (-3)
  • sharedString.js: parsed 175134 → 175141 (+7), gzip 49635 → 49640 (+5)
  • experimentalSharedTree.js: parsed 161726 → 161726 (0), gzip 46665 → 46665 (0)
  • matrix.js: parsed 159511 → 159520 (+9), gzip 45849 → 45854 (+5)
  • loader.js: parsed 147218 → 147234 (+16), gzip 40001 → 40011 (+10)
  • odspDriver.js: parsed 111424 → 111500 (+76), gzip 34670 → 34747 (+77)
  • directory.js: parsed 65559 → 65566 (+7), gzip 18444 → 18451 (+7)
  • 578.js: parsed 58686 → 58686 (0), gzip 17657 → 17657 (0)
  • odspPrefetchSnapshot.js: parsed 45838 → 45819 (-19), gzip 15321 → 15331 (+10)
  • map.js: parsed 45710 → 45717 (+7), gzip 14077 → 14085 (+8)
  • 252.js: parsed 44362 → 44362 (0), gzip 13735 → 13735 (0)
  • summarizerDelayLoadedModule.js: parsed 31287 → 31287 (0), gzip 7929 → 7929 (0)
  • socketModule.js: parsed 26992 → 26962 (-30), gzip 8019 → 8053 (+34)
  • createNewModule.js: parsed 8523 → 8517 (-6), gzip 3550 → 3561 (+11)
  • odspPointInTime.js: parsed 5190 → 5184 (-6), gzip 2026 → 2028 (+2)
  • summaryModule.js: parsed 3888 → 3888 (0), gzip 1874 → 1874 (0)
  • connectionState.js: parsed 909 → 909 (0), gzip 500 → 500 (0)
  • sharedTreeAttributes.js: parsed 845 → 852 (+7), gzip 493 → 504 (+11)
  • debugAssert.js: parsed 429 → 429 (0), gzip 299 → 299 (0)
  • FluidFramework-HashFallback.js: parsed 419 → 419 (0), gzip 313 → 313 (0)

@Abe27342
Abram Sanderson (Abe27342) merged commit 309d696 into main Aug 24, 2026
83 checks passed
@Abe27342
Abram Sanderson (Abe27342) deleted the test/absander/canonical-server-publish-order branch August 24, 2026 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: build Build related issues area: repo Repo related work area: tools area: website base: main PRs targeted against main branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants