Skip to content

docs: move Module Federation guide into Guide > Advanced - #1857

Merged
fi3ework merged 7 commits into
mainfrom
docs-module-federation-guide
Sep 17, 2026
Merged

fi3ework merged 7 commits into
mainfrom
docs-module-federation-guide

Conversation

@fi3ework

Copy link
Copy Markdown
Member

Summary

Move the Module Federation page from Integrations into Guide > Advanced (/guide/advanced/module-federation) and rewrite it as a guide.

  • Redirects for /integration/module-federation and /guide/integration/module-federation (and zh) point at the new route; the Integrations nav entry and inbound links are repointed.
  • The page now follows the guide reading order: install → basic usage → configure remotes → serve remotes with globalSetup → Browser Mode → further reading, with config and test examples for each step.
  • Clarify how the federation() plugin relates to the federation config option: the option is only Rstest's runtime compatibility switch; the plugin configures Module Federation and enables the option for Node targets, so setting it again is redundant rather than forbidden (the previous "do not also set" wording was wrong). In Browser Mode the plugin does not enable it, and federation: true is required for globalSetup to load, which is verified against the example host app.
  • Examples now link to the rstack-examples Module Federation demos (Node and Browser) instead of the in-repo examples/federation.
  • Chinese docs use the Module Federation glossary terms (模块联邦、生产者、消费者、远程模块、远程入口、暴露模块、共享依赖).

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Move the Module Federation page from Integrations into Guide > Advanced, add redirects for the old routes, and repoint the Integrations nav entry and inbound links.

Rewrite the page as a guide: explain how the federation() plugin relates to the federation config option (the plugin enables the option for Node targets, so setting it again is redundant rather than forbidden), note that Browser Mode still needs federation: true for globalSetup to load, add globalSetup and Browser Mode config examples, and point examples at the rstack-examples Module Federation demos. Align the Chinese docs with the Module Federation glossary terms.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 17, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-17T07:29:20.482408Z 928eb0c New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 17, 2026

Copy link
Copy Markdown

Deploying rstest with  Cloudflare Pages  Cloudflare Pages

Latest commit: 928eb0c
Status: ✅  Deploy successful!
Preview URL: https://6b2eed50.rstest.pages.dev
Branch Preview URL: https://docs-module-federation-guide.rstest.pages.dev

View logs

@github-actions

github-actions Bot commented Sep 17, 2026

Copy link
Copy Markdown

Rsdoctor Bundle Diff Analysis

⚠️ Note: The latest commit (de9d6c422a) does not have baseline artifacts. Using commit 5563f1d3c7 for baseline comparison instead. If this seems incorrect, please wait a few minutes and try rerunning the workflow.

Found 13 projects in monorepo, 0 projects with changes.

📊 Quick Summary
Project Total Size Change
adapter-rsbuild 6.1 KB 0
adapter-rslib 51.1 KB 0
adapter-rspack 12.4 KB 0
browser 1.1 MB 0
browser-react 6.4 KB 0
coverage-istanbul 20.1 KB 0
coverage-v8 82.2 KB 0
playwright 53.0 KB 0
browser/client 79.6 KB 0
core/browser 645.2 KB 0
core/main 2.0 MB 0
vscode/extension 1.3 MB 0
vscode/worker 18.4 KB 0

Generated by Rsdoctor GitHub Action

@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: a511f2f5c4

ℹ️ About Codex in GitHub

Your team has set up Codex to 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 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread website/docs/en/guide/advanced/module-federation.mdx
Comment thread website/docs/zh/guide/advanced/module-federation.mdx Outdated

@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: 0b3afda9b7

ℹ️ About Codex in GitHub

Your team has set up Codex to 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 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread website/docs/zh/guide/advanced/module-federation.mdx

@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: d9ee63523f

ℹ️ About Codex in GitHub

Your team has set up Codex to 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 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread website/docs/en/config/test/federation.mdx
@fi3ework
fi3ework enabled auto-merge (squash) September 17, 2026 07:25

@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: 928eb0c2a7

ℹ️ About Codex in GitHub

Your team has set up Codex to 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 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread website/docs/zh/guide/advanced/module-federation.mdx
@fi3ework
fi3ework merged commit f5796e4 into main Sep 17, 2026
11 checks passed
@fi3ework
fi3ework deleted the docs-module-federation-guide branch September 17, 2026 08:25
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