Repository navigation
chore: land 3 reviewed pull requests together (batch 88) - #13025
Conversation
…date step that fits where the CLI runs
…ts own suggestion [skip ci]
…t; both steps are suggestions [skip ci]
… 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]
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
|
/approve-spec b3c9411 |
PR Analysis Report🔎 Preview ·
|
There was a problem hiding this comment.
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.mdsays the refusal used to offer "only a pointer tohow". For three or four lengths, or two variables, it offered one first-value line such aspadding 2pxthat 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
mainin 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 generatenames 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-menuandsegmented-control). - Changeset: before, that refusal offered only a pointer to
how. True for5px 0; false for three or four lengths and two variables (finding 1). - Description and changeset:
howanswers 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 --whennames the parity values, with an example. Verified. - Changeset: the docs name
@stylexjs/unpluginfor Vite, and the template note points to the setup section. Verified. - Changeset: the Rollup plugin fails on
astryx.cssunder 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: clearpackages/cli/api/theme-edit/_check.mjs: clearpackages/cli/api/theme-edit/_edit.mjs: clearpackages/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: clearpackages/cli/api/theme-edit/_project.mjs: clearpackages/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: clearpackages/cli/api/theme/palette/generate/generate.mjs: clearpackages/cli/api/theme/palette/generate/newer-recipe.mjs: non-blocking note (JSDoc wording)packages/cli/api/theme/palette/generate/newer-recipe.test.mjs: clearpackages/cli/assets/docs/styling-overview.doc.mjs: clearpackages/cli/assets/docs/tree/tokens-and-setup.doc.mjs: clear (matches styling-overview)packages/cli/clients/cli/commands/experimental-theme-editor-set.doc.mjs: clearpackages/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: clearpackages/cli/foundation/release/run-context.mjs: clearpackages/cli/test/__golden__/no-icon-set/docs-topics.json: clear (the generated digest matches the head)
| * 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 |
There was a problem hiding this comment.
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`, |
There was a problem hiding this comment.
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]
b3c9411 to
b1a465a
Compare
|
/approve-spec b1a465a |
There was a problem hiding this comment.
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
mainin 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 generatenames 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
howfor two lengths and one first-value line for three or four lengths or two variables. Verified on the base. - Description and changeset:
howanswers 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 --whennames the parity values, with a zebra-rows example. Verified. - Description and changeset: the docs name
@stylexjs/unpluginfor Vite, and the template note points to the setup section. Verified. - Changeset: the Rollup plugin fails on
astryx.cssunder 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-specon 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: clearpackages/cli/api/theme-edit/_check.mjs: clearpackages/cli/api/theme-edit/_edit.mjs: clearpackages/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: clearpackages/cli/api/theme-edit/_project.mjs: clearpackages/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: clearpackages/cli/api/theme/palette/generate/generate.mjs: clearpackages/cli/api/theme/palette/generate/newer-recipe.mjs: non-blocking note (JSDoc wording)packages/cli/api/theme/palette/generate/newer-recipe.test.mjs: clearpackages/cli/assets/docs/styling-overview.doc.mjs: clearpackages/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: clearpackages/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: clearpackages/cli/foundation/release/run-context.mjs: clearpackages/cli/test/__golden__/no-icon-set/docs-topics.json: clear (the generated digest matches the head)
b1a465a to
9b91c2f
Compare
|
/approve-spec 9b91c2f |
There was a problem hiding this comment.
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
mainin the stated order, each as its own merge. Verified: each merge's tree equals the automatic merge of its parents, onmain'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 generatenames 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, thecliUpdateSteptests). - 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/unpluginfor 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-specon 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: clearpackages/cli/api/theme-edit/_check.mjs: clearpackages/cli/api/theme-edit/_edit.mjs: clearpackages/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: clearpackages/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: clearpackages/cli/assets/docs/styling-overview.doc.mjs: clearpackages/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: clearpackages/cli/foundation/release/run-context.mjs: clearpackages/cli/test/__golden__/no-icon-set/docs-topics.json: clear (the generated digest matches the head)
Merges three reviewed pull requests onto current main, each as its own
--no-ffmerge, 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-specon the member and at this head.When this merges, each pull request above is closed with a note that names this one.