Skip to content

chore(deps): upgrade Rspress to 2.0.22 - #38

Merged
SoonIter merged 2 commits into
mainfrom
codex/upgrade-rspress-2.0.22
Sep 21, 2026
Merged

SoonIter merged 2 commits into
mainfrom
codex/upgrade-rspress-2.0.22

Conversation

@SoonIter

@SoonIter SoonIter commented Sep 21, 2026 •

Copy link
Copy Markdown
Member

Upgrade the shared Rspress catalog and lockfile from 2.0.19 to 2.0.22, the npm latest release verified for this upgrade.

Make the affected E2E tests visit their canonical URLs directly. Explicitly enable route.cleanUrls: true in the GitHub Pages example and keep testing /rspress-plugins/. The Google Analytics example retains the default cleanUrls: false; its tests visit /index.html and verify that exact page_path. Existing content, asset-base, multi-ID, anonymization, and page-view assertions remain intact.

Validation on macOS (Node.js 24.20.0, pnpm 11.15.0):

  • pnpm install --frozen-lockfile --ignore-scripts
  • pnpm build
  • pnpm docs:build
  • pnpm lint
  • pnpm test — 13 passed
  • pnpm e2e — 29 passed, 0 skipped

Lint, unit tests, and the complete E2E suite were rerun after the canonical URL and GitHub Pages configuration changes.

Copilot AI lite review requested due to automatic review settings September 21, 2026 04:17
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 21, 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-21T05:07:18.054493Z dba3b06 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.

Copilot AI 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.

Copilot review overview

🟢 Approval recommended

No unresolved issues were identified, and the supplied validation passed.

Review effort: Lite
Findings: None

What changed in this PR

Upgrades the shared Rspress dependency from 2.0.19 to 2.0.22 and aligns route-related test expectations.

Changes:

  • Updates the workspace catalog and lockfile.
  • Adjusts Google Analytics and GitHub Pages canonical URL assertions.
  • Verifies /index.html canonicalization and analytics paths.
File Summary
pnpm-workspace.yaml Updates the shared Rspress version.
pnpm-lock.yaml Refreshes resolved dependencies and snapshots.
packages/​rspress-plugin-google-analytics/​index.spec.ts Updates canonical URL and analytics assertions.
packages/​rspress-plugin-gh-pages/​index.spec.ts Updates the GitHub Pages canonical URL expectation.
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

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

@SoonIter
SoonIter merged commit 5a8ce70 into main Sep 21, 2026
2 checks passed
@SoonIter
SoonIter deleted the codex/upgrade-rspress-2.0.22 branch September 21, 2026 06: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.

2 participants