Skip to content

refactor(config): merge lib config layers with Rslib - #511

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/lib-config-merge
Sep 24, 2026
Merged

chenjiahan merged 1 commit into
mainfrom
chenjiahan/lib-config-merge

Conversation

@chenjiahan

@chenjiahan chenjiahan commented Sep 24, 2026

Copy link
Copy Markdown
Member

Motivation

Implement the Lib configuration merge step of the unified configuration RFC, following the App implementation in #506.

Changes

Resolve ordered Lib layers and call mergeRslibConfig only when multiple Lib configurations are present. Return a single configuration unchanged, retain the empty-config default, and preserve file metadata in the existing loader.

Add one focused test for top-level overrides and native product-list merging, including matching IDs and entries without IDs. Shared-layer loading and the public API remain separate steps.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 24, 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-24T06:41:28.070538Z e8480f6 PR opened
ℹ️ 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

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: e8480f6
Status: ✅  Deploy successful!
Preview URL: https://825e4746.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-lib-config-merge.rstack-cli.pages.dev

View logs

@chenjiahan
chenjiahan merged commit bd374a6 into main Sep 24, 2026
5 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/lib-config-merge branch September 24, 2026 06:45
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