Skip to content

ci(release): add next release summary to workflow page - #4919

Open
ryok90 wants to merge 3 commits into
mainfrom
ci/release-next-summary
Open

ci(release): add next release summary to workflow page#4919
ryok90 wants to merge 3 commits into
mainfrom
ci/release-next-summary

Conversation

@ryok90

@ryok90 ryok90 commented Jul 21, 2026

Copy link
Copy Markdown
Member

What changed

Adds an inline Release summary step at the end of the release workflow that writes to the GitHub Actions run summary page ($GITHUB_STEP_SUMMARY). The step reports the release tag, branch, published version, and commit hash.

Why

After a release runs there was no at-a-glance record of what was released on the workflow run page. Surfacing the version and commit directly in the run summary makes it easy to confirm what went out without digging through job logs.

Details

  • The step is scoped to the next channel only (if: success() && github.event.inputs.version == 'next').
  • The version is read from packages/runtime/package.json (@module-federation/runtime), which is part of the fixed version group in .changeset/config.json. All packages in that group share the same snapshot version on next, so this single value is the canonical release version.
  • Commit is sourced from ${{ github.sha }}.

User / runtime impact

CI-only change. No package behavior changes and nothing is published or altered by this step; it only appends markdown to the workflow summary.

Validation

  • Verified packages/runtime resolves to @module-federation/runtime and is a member of the changeset fixed group.
  • Confirmed the fixed group shares a single version.
  • Commit passed local lint-fix (Prettier) and commitlint hooks.

Skipped checks

No build/test/e2e checks were run: this is a CI-workflow-only change with no package code impact, so per the repo's task-to-checks table those gates are not applicable.

@ryok90 ryok90 self-assigned this Jul 21, 2026
@changeset-bot

changeset-bot Bot commented Jul 21, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 8c388f7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6182b38e2c

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

echo "- **Tag:** \`next\`"
echo "- **Branch:** \`${{ github.event.inputs.branch }}\`"
echo "- **Version:** \`$VERSION\`"
echo "- **Commit:** \`${{ github.sha }}\`"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Report the checked-out release commit

When a manual release is dispatched from one ref but the branch input points checkout at another ref, this summary records the workflow ref's SHA rather than the commit that was actually built and published. GitHub documents workflow_dispatch GITHUB_SHA as the last commit on the GITHUB_REF branch/tag that received the dispatch, while this workflow publishes ${{ github.event.inputs.branch }} via actions/checkout; use git rev-parse HEAD after checkout so the run summary remains a reliable release audit trail.

Useful? React with 👍 / 👎.

@pkg-pr-new

pkg-pr-new Bot commented Jul 21, 2026

Copy link
Copy Markdown

Open in StackBlitz

@module-federation/devtools

pnpm add https://pkg.pr.new/@module-federation/devtools@8c388f7

@module-federation/cli

pnpm add https://pkg.pr.new/@module-federation/cli@8c388f7

create-module-federation

pnpm add https://pkg.pr.new/create-module-federation@8c388f7

@module-federation/dts-plugin

pnpm add https://pkg.pr.new/@module-federation/dts-plugin@8c388f7

@module-federation/enhanced

pnpm add https://pkg.pr.new/@module-federation/enhanced@8c388f7

@module-federation/error-codes

pnpm add https://pkg.pr.new/@module-federation/error-codes@8c388f7

@module-federation/esbuild

pnpm add https://pkg.pr.new/@module-federation/esbuild@8c388f7

@module-federation/managers

pnpm add https://pkg.pr.new/@module-federation/managers@8c388f7

@module-federation/manifest

pnpm add https://pkg.pr.new/@module-federation/manifest@8c388f7

@module-federation/metro

pnpm add https://pkg.pr.new/@module-federation/metro@8c388f7

@module-federation/metro-plugin-rnc-cli

pnpm add https://pkg.pr.new/@module-federation/metro-plugin-rnc-cli@8c388f7

@module-federation/metro-plugin-rnef

pnpm add https://pkg.pr.new/@module-federation/metro-plugin-rnef@8c388f7

@module-federation/metro-plugin-rock

pnpm add https://pkg.pr.new/@module-federation/metro-plugin-rock@8c388f7

@module-federation/modern-js

pnpm add https://pkg.pr.new/@module-federation/modern-js@8c388f7

@module-federation/modern-js-v3

pnpm add https://pkg.pr.new/@module-federation/modern-js-v3@8c388f7

@module-federation/native-federation-tests

pnpm add https://pkg.pr.new/@module-federation/native-federation-tests@8c388f7

@module-federation/native-federation-typescript

pnpm add https://pkg.pr.new/@module-federation/native-federation-typescript@8c388f7

@module-federation/nextjs-mf

pnpm add https://pkg.pr.new/@module-federation/nextjs-mf@8c388f7

@module-federation/node

pnpm add https://pkg.pr.new/@module-federation/node@8c388f7

@module-federation/observability-plugin

pnpm add https://pkg.pr.new/@module-federation/observability-plugin@8c388f7

@module-federation/playground

pnpm add https://pkg.pr.new/@module-federation/playground@8c388f7

@module-federation/retry-plugin

pnpm add https://pkg.pr.new/@module-federation/retry-plugin@8c388f7

@module-federation/rsbuild-plugin

pnpm add https://pkg.pr.new/@module-federation/rsbuild-plugin@8c388f7

@module-federation/rspack

pnpm add https://pkg.pr.new/@module-federation/rspack@8c388f7

@module-federation/rspress-plugin

pnpm add https://pkg.pr.new/@module-federation/rspress-plugin@8c388f7

@module-federation/runtime

pnpm add https://pkg.pr.new/@module-federation/runtime@8c388f7

@module-federation/runtime-core

pnpm add https://pkg.pr.new/@module-federation/runtime-core@8c388f7

@module-federation/runtime-tools

pnpm add https://pkg.pr.new/@module-federation/runtime-tools@8c388f7

@module-federation/sdk

pnpm add https://pkg.pr.new/@module-federation/sdk@8c388f7

@module-federation/storybook-addon

pnpm add https://pkg.pr.new/@module-federation/storybook-addon@8c388f7

@module-federation/third-party-dts-extractor

pnpm add https://pkg.pr.new/@module-federation/third-party-dts-extractor@8c388f7

@module-federation/treeshake-frontend

pnpm add https://pkg.pr.new/@module-federation/treeshake-frontend@8c388f7

@module-federation/treeshake-server

pnpm add https://pkg.pr.new/@module-federation/treeshake-server@8c388f7

@module-federation/typescript

pnpm add https://pkg.pr.new/@module-federation/typescript@8c388f7

@module-federation/utilities

pnpm add https://pkg.pr.new/@module-federation/utilities@8c388f7

@module-federation/webpack-bundler-runtime

pnpm add https://pkg.pr.new/@module-federation/webpack-bundler-runtime@8c388f7

@module-federation/bridge-react

pnpm add https://pkg.pr.new/@module-federation/bridge-react@8c388f7

@module-federation/bridge-react-webpack-plugin

pnpm add https://pkg.pr.new/@module-federation/bridge-react-webpack-plugin@8c388f7

@module-federation/bridge-shared

pnpm add https://pkg.pr.new/@module-federation/bridge-shared@8c388f7

@module-federation/bridge-vue3

pnpm add https://pkg.pr.new/@module-federation/bridge-vue3@8c388f7

@module-federation/inject-external-runtime-core-plugin

pnpm add https://pkg.pr.new/@module-federation/inject-external-runtime-core-plugin@8c388f7

commit: 8c388f7

@github-actions

github-actions Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Bundle Size Report

6 package(s) changed, 36 unchanged.

Bundle targets

Package Web bundle (gzip) Delta Node bundle (gzip) Delta
@module-federation/cli 2.3 kB +2 B (+0.1%) 2.4 kB -33 B (-1.3%)
@module-federation/core 1.0 kB +3 B (+0.3%) 1.0 kB -35 B (-3.2%)
@module-federation/devtools 30.3 kB -1 B (-0.0%) 30.3 kB -25 B (-0.1%)
@module-federation/enhanced 2.7 kB +7 B (+0.3%) 2.8 kB -45 B (-1.6%)
@module-federation/metro-plugin-rnc-cli 416 B no change 435 B -27 B (-5.8%)
@module-federation/node 9.2 kB +8 B (+0.1%) 9.2 kB -30 B (-0.3%)

Consumer scenarios

Scenario Web output (gzip) Delta Node output (gzip) Delta Gap (node-web) Delta
Enhanced remoteEntry 21.4 kB -16 B (-0.1%) 23.1 kB -19 B (-0.1%) +1.7 kB -3 B

Total dist (raw): 35.79 MB (no change)
Total ESM gzip: 104.9 kB (no change)
Total web bundle (gzip): 233.5 kB (+19 B (+0.0%))
Total node bundle (gzip): 236.1 kB (-195 B (-0.1%))
Tracked ./bundler entry gzip: 556 B (no change)
Tracked ./bundler web bundle (gzip): 4.8 kB (no change)
Tracked ./bundler node bundle (gzip): 4.8 kB (no change)

Bundle sizes are generated with rslib (Rspack). Package-root metrics preserve the historical report. Tracked subpath exports such as ./bundler are measured separately so ENV_TARGET-driven tree-shaking is visible. Bare imports are externalized to keep package-level sizes consistent, and assets are emitted as resources.

@ryok90
ryok90 requested a review from 2heal1 July 22, 2026 20:20
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.

1 participant