Skip to content

fix: track Rstack config files in Rsbuild - #474

Merged
chenjiahan merged 2 commits into
mainfrom
chenjiahan/config-file-meta
Sep 9, 2026
Merged

fix: track Rstack config files in Rsbuild#474
chenjiahan merged 2 commits into
mainfrom
chenjiahan/config-file-meta

Conversation

@chenjiahan

@chenjiahan chenjiahan commented Sep 9, 2026

Copy link
Copy Markdown
Member

Motivation

Rsbuild should track the real Rstack config file and its imports in its context, config watcher, and persistent cache dependencies.

Changes

Upgrade Rsbuild to v2.2.5 and @rstackjs/load-config to v1.0.0. Pass config metadata with withConfigMeta and remove the redundant dev.watchFiles injection.

Verified default and custom config metadata and cache dependencies with the published Rsbuild version. Existing config reload tests, builds, type and format checks passed (373 tests passed, 1 skipped).

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 9, 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-09T09:51:38.035154Z a23cda9 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 9, 2026

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: a23cda9
Status: ✅  Deploy successful!
Preview URL: https://46a7422b.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-config-file-meta.rstack-cli.pages.dev

View logs

@chenjiahan chenjiahan changed the title feat: pass Rstack config metadata to Rsbuild chore(deps): upgrade Rsbuild to v2.2.5 Sep 9, 2026
@chenjiahan chenjiahan changed the title chore(deps): upgrade Rsbuild to v2.2.5 fix: track Rstack config files in Rsbuild Sep 9, 2026
@chenjiahan
chenjiahan merged commit 15af23b into main Sep 9, 2026
5 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/config-file-meta branch September 9, 2026 09:52
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