Skip to content

chore: land 3 reviewed pull requests together (batch 88) - #13025

Merged
josephfarina merged 13 commits into
mainfrom
josephfarina/land-batch-88
Nov 20, 2026
Merged

josephfarina merged 13 commits into
mainfrom
josephfarina/land-batch-88

Conversation

@josephfarina

@josephfarina josephfarina commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Merges three reviewed pull requests onto current main, each as its own --no-ff merge, in this order. Each member keeps its own description, tests and review history.

Scope

CLI theme palette generate: a palette recipe newer than the running CLI is named, with an update step. Outside a project, a global copy gets its package manager's upgrade; any other copy gets the command picker's run pinned to the newest known release, or a computer install of the newest CLI when none is newer; a run through a host door or a declared command is told only the release it needs, with no command suggestion and no picked name in its JSON; never an unversioned package runner. In a project, the step installs Core and the CLI at the needed release and then runs the codemods (#12407).

CLI experimental theme editor: a padding of two to four lengths, where only one works, is offered as its sides (#12729).

CLI docs: name the StyleX plugin that works under Vite (#12893).

Records

No knowledge record changes in this pull request or its members. The padding-sides offer (#12729) rests on the engineering owner's /approve-spec on the member and at this head.

When this merges, each pull request above is closed with a note that names this one.

josephfarina and others added 9 commits November 19, 2026 04:05
… when the bin started the run

A program that drives the CLI in-process has its own process arguments, so the step names `<command>` there.

[skip ci]

[skip ci]
…wn one is not newer than the CLI that ran

[skip ci]
…e through the command picker, or installs the newest CLI for the computer

[skip ci]
…started names the release it needs, not a command that reruns the same CLI

[skip ci]
…s its sides, each with the length typed for it

[skip ci]
A page template that uses StyleX needs a StyleX compiler. The setup
docs named @stylexjs/rollup-plugin for Vite, but under Vite it also
reads CSS imports and fails on astryx.css, so the page stayed blank.
The docs now name @stylexjs/unplugin (stylex.vite()) for Vite, and the
template note points to the setup section.

[skip ci]
@vercel

vercel Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
astryx Ready Ready Preview Nov 20, 2026 12:15am UTC

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 19, 2026
@astracat-bot

astracat-bot Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Nov 20, 2026, 12:36 AM UTC

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec b3c9411
Covers the padding-sides offer decided on #12729, the three stripe answers decided on #12903 (HQ ruling), and #12407's update-step wording.

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec b3c9411

@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

PR Analysis Report

🔎 Preview · b3c9411

Storybook · Sandbox · built from this PR's head

Package size: @astryxdesign/cli 5.72 MB packed (+6.6 kB); no new dependencies.

Not run on this PR: add ci:run-visual for Visual, ci:run-a11y for Accessibility, ci:run-rtl for RTL.


Generated by PR Enrichment workflow | View full report

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes requested: the four merges are clean and the code does what the description says, but two text claims are false.

  • .changeset/experimental-theme-calc-padding-sides.md says the refusal used to offer "only a pointer to how". For three or four lengths, or two variables, it offered one first-value line such as padding 2px that dropped the other lengths, so the release note's before-state needs rewording.
  • The description's Records and Writing rubric results sections report record edits and rubric scores, but no knowledge record changes in this pull request or its members. Say instead that the padding-sides offer and the stripe answers rest on the engineering owner's /approve-spec, and drop the rubric line.

Three non-blocking notes are inline. A push that fixes the changeset needs the engineering owner's /approve-spec for its new head.

Claims and files checked

Review mode: full; reason: no-earlier-review

Claims:

  • Description: the four member pull requests merge onto current main in the stated order, each as its own merge. Verified: every merge equals an automatic merge of its parents.
  • Description: each member keeps its own description, tests and review history. Verified: all four are open and unchanged.
  • Description: each record edit has an engineering owner's approval on its member and at this head. The approvals are verified on #12729, #12903 and this head. The record edits are false: no knowledge record changes (finding 2).
  • Description: theme palette generate names a newer recipe and an update step. Verified (newer-recipe.mjs:50, its tests).
  • Description: outside a project, a global copy gets its package manager's upgrade, and another copy gets a pinned rerun of the newest known release, or a computer install when none is newer. Verified (notices.test.mjs).
  • Description: a run through a host's door or a declared command gets only the release it needs, with no suggestion and no picked name in its JSON. Verified (newer-recipe.test.mjs, notices.test.mjs).
  • Description: the step never uses an unversioned package runner. Verified (the pinned stem; envelope assertions).
  • Description: in a project, the step installs Core and the CLI, then runs the codemods. Verified (notices.test.mjs).
  • Description and changeset: the theme editor offers the sides of a two-to-four-length padding where only one length works, each with its typed length, and the repair gate keeps three or four side lines together. Verified (tests; every offered line runs on dropdown-menu and segmented-control).
  • Changeset: before, that refusal offered only a pointer to how. True for 5px 0; false for three or four lengths and two variables (finding 1).
  • Description and changeset: how answers zebra rows, striped tables, alternate row shading and shade every other row with Core's even stripe on every data-driven table, and writes a stripe only for a fill ask. Verified (tests and runs).
  • Changeset: naming a stripe sets it and clears Core's other stripe on striped tables; "no stripes on even rows" removes it; the stripe names come from the prop doc that turns stripes on. Verified.
  • Changeset: before, the zebra asks had no condition, the two shading asks were not read as a fill, and "odd rows " coloured every row. Verified on the base.
  • Changeset: set --when names the parity values, with an example. Verified.
  • Changeset: the docs name @stylexjs/unplugin for Vite, and the template note points to the setup section. Verified.
  • Changeset: the Rollup plugin fails on astryx.css under Vite. Not reproduced here; the repository's own Vite apps use the plugin the docs now name.
  • Changeset: the newer-recipe refusal keeps its error code. Verified.
  • Description: each member's record lines are scored in its own description. False: no member reports rubric results (finding 2).
  • Description: the members close with a note after this merges. Not checkable before the merge.

Files:

  • .changeset/cli-newer-palette-recipe.md: clear
  • .changeset/experimental-theme-calc-padding-sides.md: finding: the before-state is wrong for three or four lengths and for two variables
  • .changeset/experimental-theme-how-row-stripes.md: clear
  • .changeset/vite-stylex-plugin-doc.md: clear
  • packages/cli/api/theme-edit/_check.mjs: clear
  • packages/cli/api/theme-edit/_edit.mjs: clear
  • packages/cli/api/theme-edit/_how-question.mjs: non-blocking note (an ask for striped tables writes every table)
  • packages/cli/api/theme-edit/_normal.mjs: clear
  • packages/cli/api/theme-edit/_project.mjs: clear
  • packages/cli/api/theme-edit/theme-edit-calc-padding-sides.test.mjs: clear (fails on the base, passes here)
  • packages/cli/api/theme-edit/theme-how.test.mjs: clear (the new stripe rows fail on the base, pass here)
  • packages/cli/api/theme-edit/theme-palette.test.mjs: clear
  • packages/cli/api/theme/palette/generate/generate.mjs: clear
  • packages/cli/api/theme/palette/generate/newer-recipe.mjs: non-blocking note (JSDoc wording)
  • packages/cli/api/theme/palette/generate/newer-recipe.test.mjs: clear
  • packages/cli/assets/docs/styling-overview.doc.mjs: clear
  • packages/cli/assets/docs/tree/tokens-and-setup.doc.mjs: clear (matches styling-overview)
  • packages/cli/clients/cli/commands/experimental-theme-editor-set.doc.mjs: clear
  • packages/cli/foundation/discovery/template-needs.mjs: clear (the section it names exists)
  • packages/cli/foundation/release/notices.mjs: non-blocking note (codemod suggestion stem)
  • packages/cli/foundation/release/notices.test.mjs: clear
  • packages/cli/foundation/release/run-context.mjs: clear
  • packages/cli/test/__golden__/no-icon-set/docs-topics.json: clear (the generated digest matches the head)

Automated review (maintainer link)

* palette generation refusal. The step it names fits where the CLI runs (see
* `cliUpdateStep`): in a project, its CLI and Core together, then the codemod
* run. A run that a host's door or an integration's command started gets no
* command, only the release it needs, as that command runs the CLI it carries. That command is its own bare suggestion (`astryx …`) and never part of

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocking: the new sentence runs into the old one, so "That command is its own bare suggestion (astryx …)" now reads as the host's command rather than the codemod run. The header at lines 5-6 also says the refusal names "the command that updates the CLI", which a door run does not get. Splitting the two sentences and naming the codemod run would keep the JSDoc accurate.

const newer = lag != null && isBehind(self.version, lag.newest);
return {
install: newer ? lag.install : projectInstall(target, root, 'latest'),
upgrade: `astryx upgrade --from ${current} --apply`,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-blocking: in a project with no CLI of its own, this bare command is printed with the refusing release's runner stem (npx @astryxdesign/[email protected] upgrade --from 0.7.17 --apply, as #12407's example shows). It fetches that release first and then hands off. The update notice names the project's CLI after the install (getCliInvocation(root, {installed: true}), line 1009).

…value line it offered for three or four lengths

[skip ci]
@josephfarina
josephfarina force-pushed the josephfarina/land-batch-88 branch from b3c9411 to b1a465a Compare November 19, 2026 23:33
@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec b1a465a
Covers the padding-sides offer decided on #12729, the three stripe answers decided on #12903 (HQ ruling), and #12407's update-step wording.

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec b1a465a

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes requested: the four merges are clean and both text fixes from the last review are in, but one how answer still has a defect.

  • Miss: the stripe-removal answers ("no stripes on even rows", and the even-row clear after "odd rows #f9f9f9") draft background-color transparent --on table-row --when parity:even, which the theme layer applies over Core's row hover, so those rows lose their hover highlight in every hoverable table and, unlike the fill answers, the answer does not say so.

Say it in both answers as the fill answers do, or clear the stripe in a way that leaves hover alone (the stripe token, as the earlier answer did). The three non-blocking notes from the last review stay open inline. A push needs the engineering owner's /approve-spec for its new head.

Claims and files checked

Review mode: full; reason: rebase

Claims:

  • Description: the four member pull requests merge onto current main in the stated order, each as its own merge. Verified: each merge equals an automatic merge of its parents.
  • Description: each member keeps its own description, tests and review history. Verified: all four are open, and each head is the commit merged here.
  • Description: theme palette generate names a newer recipe with an update step. Verified (newer-recipe.mjs:62, newer-recipe.test.mjs).
  • Description: outside a project, a global copy gets its package manager's upgrade. Verified (notices.mjs:895, notices.test.mjs).
  • Description: any other copy gets the picker's run pinned to the newest known release, or a computer install of the newest CLI when none is newer. Verified (notices.mjs:904-941, notices.test.mjs).
  • Description: a run through a host door or a declared command gets only the release it needs, with no suggestion and no picked name in its JSON. Verified (notices.mjs:910, the door tests).
  • Description: never an unversioned package runner. Verified (the pinned stem and the envelope assertions).
  • Description: in a project, the step installs Core and the CLI at the needed release, then runs the codemods. Verified (notices.mjs:943-962, notices.test.mjs).
  • Description and changeset: a padding of two to four lengths where only one works is offered as its sides, each with its typed length, and the repair gate lets three or four side lines through. Verified (tests that fail on the base; every offered line runs).
  • Changeset: before, it offered a pointer to how for two lengths and one first-value line for three or four lengths or two variables. Verified on the base.
  • Description and changeset: how answers zebra rows, striped tables, alternate row shading and shade every other row with Core's even stripe on every data-driven table, and drafts a stripe write only for a fill ask. Verified (tests and runs).
  • Changeset: naming a stripe sets it and clears Core's other stripe on striped tables; "no stripes on even rows" takes that stripe away; the stripe names come from the prop doc that turns stripes on. Verified, but the removal also covers Core's row hover (the finding above).
  • Changeset: before, the zebra asks had no condition, the two shading asks were not read as a fill, and "odd rows " coloured every row. Verified on the base.
  • Changeset: set --when names the parity values, with a zebra-rows example. Verified.
  • Description and changeset: the docs name @stylexjs/unplugin for Vite, and the template note points to the setup section. Verified.
  • Changeset: the Rollup plugin fails on astryx.css under Vite. Not reproduced here; the repository's own StyleX Vite apps use the plugin the docs now name.
  • Changeset: the newer-recipe refusal keeps its error code. Verified.
  • Description: no knowledge record changes in this pull request or its members. Verified.
  • Description: the padding-sides offer and the stripe answers rest on the engineering owner's /approve-spec on each member and at this head. Verified.
  • Description: the members close with a note after this merges. Not checkable before the merge.

Files:

  • .changeset/cli-newer-palette-recipe.md: clear
  • .changeset/experimental-theme-calc-padding-sides.md: clear (the before-state now matches the base)
  • .changeset/experimental-theme-how-row-stripes.md: clear
  • .changeset/vite-stylex-plugin-doc.md: clear
  • packages/cli/api/theme-edit/_check.mjs: clear
  • packages/cli/api/theme-edit/_edit.mjs: clear
  • packages/cli/api/theme-edit/_how-question.mjs: finding: the stripe-removal answers cover Core's row hover without saying so; non-blocking note on "on striped tables"
  • packages/cli/api/theme-edit/_normal.mjs: clear
  • packages/cli/api/theme-edit/_project.mjs: clear
  • packages/cli/api/theme-edit/theme-edit-calc-padding-sides.test.mjs: clear (fails on the base, passes here)
  • packages/cli/api/theme-edit/theme-how.test.mjs: clear (the new stripe cases fail on the base, pass here)
  • packages/cli/api/theme-edit/theme-palette.test.mjs: clear
  • packages/cli/api/theme/palette/generate/generate.mjs: clear
  • packages/cli/api/theme/palette/generate/newer-recipe.mjs: non-blocking note (JSDoc wording)
  • packages/cli/api/theme/palette/generate/newer-recipe.test.mjs: clear
  • packages/cli/assets/docs/styling-overview.doc.mjs: clear
  • packages/cli/assets/docs/tree/tokens-and-setup.doc.mjs: clear (matches the styling overview)
  • packages/cli/clients/cli/commands/experimental-theme-editor-set.doc.mjs: clear
  • packages/cli/foundation/discovery/template-needs.mjs: clear (the section it names exists)
  • packages/cli/foundation/release/notices.mjs: non-blocking note (codemod suggestion stem)
  • packages/cli/foundation/release/notices.test.mjs: clear
  • packages/cli/foundation/release/run-context.mjs: clear
  • packages/cli/test/__golden__/no-icon-set/docs-topics.json: clear (the generated digest matches the head)

Automated review (maintainer link)

@josephfarina josephfarina changed the title chore: land 4 reviewed pull requests together (batch 88) chore: land 3 reviewed pull requests together (batch 88) Nov 20, 2026
@josephfarina
josephfarina force-pushed the josephfarina/land-batch-88 branch from b1a465a to 9b91c2f Compare November 20, 2026 00:05
@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 9b91c2f
Covers the padding-sides offer decided on #12729 and #12407's update-step wording.

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 9b91c2f

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved pending CI: CI has not finished on this head yet.

The three merges (#12407, #12729, #12893) are clean, each one brings in its member's current head, and every claim in the description and the changesets checks out. The blocking finding from the last review was on #12903's how stripe answers, which are no longer in this batch.

Two non-blocking notes from the last review stay open inline: the newerRecipeRefusal JSDoc sentence that now reads as the host's command, and the codemod step that is printed with the refusing release's runner stem in a project with no CLI of its own.

Claims and files checked

Review mode: full; reason: rebase

Claims:

  • Description: the three member pull requests merge onto current main in the stated order, each as its own merge. Verified: each merge's tree equals the automatic merge of its parents, on main's tip.
  • Description: each member keeps its own description, tests and review history. Verified: all three are open, and each head is the commit merged here.
  • Description: theme palette generate names a newer recipe and an update step. Verified (newer-recipe.mjs:28-37, generate.mjs:354, newer-recipe.test.mjs, a CLI run).
  • Description: outside a project, a global copy gets its package manager's upgrade. Verified (notices.mjs:895-902, the cliUpdateStep tests).
  • Description: any other copy gets the picker's run pinned to the newest known release, or a computer install of the newest CLI when none is newer. Verified (notices.mjs:922-941, tests, a CLI run).
  • Description: a run through a host door or a declared command gets only the release it needs, with no suggested command and no picked name in its JSON. Verified (notices.mjs:910-918, the door tests).
  • Description: never an unversioned package runner. Verified (the runner stem is pinned; the fallback is a package-manager install).
  • Description: in a project, the step installs Core and the CLI at the needed release, then runs the codemods. Verified (notices.mjs:943-960, tests, a CLI run).
  • Description and changeset: a padding of two to four lengths, where only one works, is offered as its sides, each with the length typed for it, and three or four side lines pass the repair gate together. Verified (tests that fail on the base; every offered line runs).
  • Changeset: before, two lengths got a pointer to how, and three or four lengths, or two variables, got one first-value line. Verified on the base.
  • Description and changeset: the docs name @stylexjs/unplugin for Vite, and the template note points to the setup section. Verified (styling-overview.doc.mjs:151-155, tokens-and-setup.doc.mjs:90-91, template-needs.mjs:480).
  • Changeset: under Vite the Rollup plugin fails on astryx.css, so a StyleX page template stayed blank. Not reproduced here; the repository's own Vite apps use the plugin the docs now name.
  • Changeset: the newer-recipe refusal names the recipe it uses and the recipes this CLI knows, and it keeps its error code. Verified (the message test; the base and the head both give ERR_PALETTE_GENERATION).
  • Description: no knowledge record changes in this pull request or its members. Verified.
  • Description: the padding-sides offer rests on the engineering owner's /approve-spec on the member and at this head. Verified.
  • Description: each member closes with a note after this merges. Not checkable before the merge.

Files:

  • .changeset/cli-newer-palette-recipe.md: clear
  • .changeset/experimental-theme-calc-padding-sides.md: clear (the before-state matches the base)
  • .changeset/vite-stylex-plugin-doc.md: clear
  • packages/cli/api/theme-edit/_check.mjs: clear
  • packages/cli/api/theme-edit/_edit.mjs: clear
  • packages/cli/api/theme-edit/_normal.mjs: clear (its other caller is unchanged)
  • packages/cli/api/theme-edit/theme-edit-calc-padding-sides.test.mjs: clear (fails on the base, passes here)
  • packages/cli/api/theme-edit/theme-palette.test.mjs: clear
  • packages/cli/api/theme/palette/generate/generate.mjs: clear (refuses before anything is written)
  • packages/cli/api/theme/palette/generate/newer-recipe.mjs: non-blocking note (JSDoc wording)
  • packages/cli/api/theme/palette/generate/newer-recipe.test.mjs: clear
  • packages/cli/assets/docs/styling-overview.doc.mjs: clear
  • packages/cli/assets/docs/tree/tokens-and-setup.doc.mjs: clear (matches the styling overview)
  • packages/cli/foundation/discovery/template-needs.mjs: clear (the section it names exists)
  • packages/cli/foundation/release/notices.mjs: non-blocking note (codemod suggestion stem)
  • packages/cli/foundation/release/notices.test.mjs: clear
  • packages/cli/foundation/release/run-context.mjs: clear
  • packages/cli/test/__golden__/no-icon-set/docs-topics.json: clear (the generated digest matches the head)

Automated review (maintainer link)

@josephfarina
josephfarina merged commit 5c48123 into main Nov 20, 2026
134 of 137 checks passed
@github-actions
github-actions Bot deleted the josephfarina/land-batch-88 branch November 20, 2026 06:06

This branch was successfully deployed

1 active deployment
Preview — 9b91c2fc Deployed Nov 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant