Skip to content

refactor(config): merge staged config layers - #532

Merged
chenjiahan merged 1 commit into
mainfrom
chenjiahan/staged-config-merge
Oct 3, 2026
Merged

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

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Motivation

Continue the unified configuration RFC by adding internal support for Staged configuration layers.

Changes

Shallowly merge glob maps in layer order, replacing the entire task for duplicate globs, including command arrays. Return a single definition unchanged and preserve the missing-config error.

When either the accumulated config or the next definition is a top-level task generator, the next definition replaces the accumulated config entirely. Subsequent glob maps merge from that point; task functions remain unevaluated until lint-staged runs them.

Shared-layer registration will follow separately.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 3, 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-10-03T01:12:38.282587Z 78bfb61 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: 78bfb61
Status: ✅  Deploy successful!
Preview URL: https://2fbdf38d.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-staged-config-mer.rstack-cli.pages.dev

View logs

@chenjiahan
chenjiahan merged commit ca3c64a into main Oct 3, 2026
5 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/staged-config-merge branch October 3, 2026 01:22
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