Skip to content

chore: land 12 approved pull requests together (batch 1) - #12713

Merged
josephfarina merged 45 commits into
mainfrom
josephfarina/land-batch-1
Nov 19, 2026
Merged

josephfarina merged 45 commits into
mainfrom
josephfarina/land-batch-1

Conversation

@josephfarina

@josephfarina josephfarina commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

This pull request lands twelve approved pull requests together in one CI run, merged onto main in order with no other changes. Each one was reviewed and approved on its own head.

Scope

Components: RenderAliased, ChatToolCalls, ChatDictationButton, CheckboxInput, Switch, Selector, MultiSelector, ComplexSelector, Text, PowerSearch

The CLI rows are experimental (./api/experimental), patch-level, and named by their [experimental] changesets: RenderAliased.config and RenderAliased.paths become optional, and RenderAliased.sameAsProject and RenderAliased.differs are added.

Records

Writing rubric results

Each record change above was checked against the rubric on its own pull request: R1 narration none (present tense), R2 research none in the record, R3 no evidence cell names a change (new evidence rows name their tests), R4 no rejected alternatives added, R5 no change references, R6 no open questions touched, R7 no project status.

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

josephfarina and others added 30 commits November 16, 2026 04:57
… provider ID

When two installed packages claim the same provider ID, the second is set aside
and the warning says it contributes nothing "until one package changes its
providerId". That advice is wrong when both manifests declare the ID
themselves: the packages then say they are one integration published under two
names (a renamed package and the old name, say), and changing an ID would make
both load. The warning now names that case and says to keep one of the two
dependencies. The signal is exact: each manifest writes `providerId`, rather
than taking it from its package name. A package that claims another package's
name-derived ID keeps the current advice.
…or's fix too

Two packages that both declare the same provider ID may be one integration
under two names, or two unrelated packages that chose the same ID. The warning
now says both: if they are one integration installed under two names, keep one
of the two dependencies; otherwise one package must change its providerId.
`astryx doctor`'s `provider-identity` fix gives the same two cases when every
conflict is between packages that both declare the ID, and keeps the current
fix otherwise. The conflict record carries `bothDeclare` so doctor reads the
case rather than the message. Tests pin the message and the fix for both
cases, and the resolver test file is prettier-clean.
…onflict

`astryx doctor`'s `provider-identity` fix chose the two-case advice only when
every conflict was declared by both manifests, so a project with one such
conflict and one other got only the rename advice. It now names both fixes, each
for the conflicts it fits. Tests pin the mixed case and that the resolver marks
`bothDeclare` only on a conflict both manifests declare.
…lt a theme

Each theme output's header names the CLI release that built it. --check and
doctor's theme-local-builds compared that line as content, so every update of
the CLI that answers marked every local theme stale, though a rebuild changed
only that line. The comparison now leaves out the header's CLI line; the Core
line and all real content still count. AST-050 FR8 states the rule.
…ot the CLI line

AST-050 FR8 now says what --check compares: each output against what the
build writes from the theme's inputs, the header's Core line included. Tests
cover a CLI-line-only difference (not stale), content drift beside another
release's header (stale), a Core-line difference (stale), and pack-check's
build comparison leaving out only the CLI line.
A new Core test reads each prop type with the TypeScript checker and fails
when a documented closed string union differs from it. Docs follow the
types: Text `as` now lists h1, h2 and h3; PowerSearch `statusVariant`
lists tooltip (en and zh).
Drop the separate Core union guard. The shared prop-drift check now lets a
doc leave out a string value the code deprecates everywhere the type takes
it from, the Core docs test also compares the Chinese tables' types, and
the known-drift list loses the three entries this change fixes. PowerSearch
says what tooltip shows.
The deprecated-value allowance for the shared prop check moves to its own
change, so FieldStatus variant stays on the known-drift list here.
A built module's doc comment names the command that built it. Modules built
while the CLI ran under one command name (a package runner, or a tool that
runs the CLI for its users) were stale under any other, though only that name
differed. The --check comparison now treats that command as a placeholder, as
integration verify already does; the theme name on the line still counts.
BUILT_BY_LINE moves to build.mjs and pack-check imports it. AST-050 FR8 says
both lines alone never make an output stale.
…header's one CLI line counts as provenance

withBuiltByCommandPlaceholder is the one rule for the built-by line, called by
theme build --check and integration verify. --check now replaces the release in
the header's one CLI line instead of dropping every CLI line, so a missing or
second CLI line, or one outside the header, stays significant. Comments name
the built-by command.
withCliReleasePlaceholder (with generatedHeaderEnd) is the one rule for the
header's CLI line: the release becomes <version> when the header holds exactly
one. theme build --check and integration verify both call it.
…cript it compiled from a theme's local modules
…ile stamps the CLI's own files; name the browserslist fix
…r restores the page's copy with the paths entry, instead of refusing
…n the key, Babel's file named; changeset names only the invalid-setting fix
@josephfarina
josephfarina force-pushed the josephfarina/land-batch-1 branch from c15f564 to 8e36a2f Compare November 19, 2026 03:02
@github-actions github-actions Bot added the needs:spec-owner-review Current knowledge records await owner approval label Nov 19, 2026
@josephfarina josephfarina changed the title chore: land 6 approved pull requests together (batch 1) chore: land 12 approved pull requests together (batch 1) Nov 19, 2026
@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 8e36a2f
Approves the five record changes at this head: AST-050 FR8, AST-081 FR7, AST-084 FR6, CheckboxInput FR9 and Switch FR2. Also decides, by name, these behaviors that no record states, which ship as fixes: (1) ChatToolCalls and ChatDictationButton throw a development-only error that names a missing required prop; (2) export --reverse reuses the project's identical aliased file or restores the page's copy, with RenderAliased.sameAsProject and RenderAliased.differs added and config/paths optional (experimental); (3) the theme compile of local modules ignores the project's browserslist setting; (4) the payment-form and checkout-wizard summary wraps below the form on a narrow first paint; (5) the two-case provider-conflict advice in the warning and in doctor's fix.

@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. The twelve pull requests land unchanged: each merge carries the head that was approved on its own pull request, the five record changes and the five named behaviors are approved for this head, and CI passed here.

Optional follow-ups:

  • dashboard-progress/page.tsx:765-767 still says the card wraps the donut's legend; the donut no longer sits in a card.
  • Switch.doc.mjs:412 leaves the --_switch-field-gap description in English inside docsZh; CheckboxInput.doc.mjs translates its twin.
Claims and files checked

Review mode: full; reason: history

  • Claim: twelve approved pull requests land together, merged onto main in order with nothing else. Verified: twelve merges in the listed order, each carrying that pull request's current head and reproducing its own patch.
  • Claim: each was reviewed and approved on its own head. Verified: an approving review exists at each of the twelve heads.
  • Claim: the CLI rows are experimental and patch-level: RenderAliased.config and paths become optional, sameAsProject and differs are added. Verified: render.type.mjs, the ./api/experimental entry and a patch [experimental] release note; no other public row changes.
  • Claim: the listed record changes (theme check, icon tie order, checkbox and switch label room, kept compile). Verified: exactly those five record edits, with the sentences and evidence rows described.
  • Claim: each pull request is closed with a note after merge. Not checkable in code.
  • Release note, Chat missing props: development builds name the missing prop and the fix; production unchanged. Verified: ChatToolCalls.tsx:579, ChatDictationButton.tsx:127 and Chat.missingProps.test.tsx (development message, production TypeError, message absent from the production bundle).
  • Release note, checkbox and switch label room: gap on the two targets sets it; default 8 px; hidden label keeps none. Verified: derivedVarRegistry.ts:58, :95, CheckboxInput.tsx:88, Switch.tsx:263 and three tests; before, the outer field was not a flex box, so gap there did nothing.
  • Release note, doc unions: Text as and PowerSearch statusVariant docs list what the types allow, and the tooltip text matches PowerSearch. Verified: Text.tsx:164, fieldStatusPlacement.ts:18, Field renders no box and announces the message, PowerSearch draws no status icon; the drift test passes with both lines removed.
  • Release note, icon ties: a fully named id wins a tie (plus before folder-plus). Verified: icon-ranking.mjs:763 and the new test.
  • Release note, checkout first paint: the summary wraps below the form on a narrow first paint; wide screens unchanged. Verified in code: wrap and minimum widths in both pages; the checkout switch (host over 900 px) stays above its 864 px wrap point, and payment's 768 px query above its ~652 px wrap point.
  • Release note, provider advice: keep-one advice only when both manifests declare the ID, in the warning and doctor's fix. Verified: provider-resolution.mjs:217, doctor.mjs:1850 and the new tests.
  • Release note, render timings: React logs no render timings during export, and the file is the same. Verified: page-worker.mjs:512 and the new test; the 42 s to 29 s figure was not re-measured.
  • Release note, reverse alias: the project's identical files are reused (sameAsProject), otherwise the page's copy returns with differs, projectWide and instead, never into an existing folder, and config/paths appear only with imports. Verified: _adapter.mjs:946-1056 and the new render tests.
  • Release note, Selector width: the trigger-width minimum is clamped by the viewport cap in all three components. Verified: three tests and a 640 px to 388 px list in Chromium.
  • Release note, dashboard sections: page regions leave cards; tiles, trend charts and notes keep theirs. Verified in code and before and after frames.
  • Release note, theme check: another CLI release or command name no longer makes outputs stale in --check or doctor; headers still name them. Verified: build.mjs:945, doctor's check calls the same compare, and the new tests.
  • Release note, kept compile: the first build after an upgrade reuses the compiled JavaScript when the compiling module and Babel are unchanged; an invalid browserslist setting no longer breaks it. Verified: self-contained.mjs:353 and the new kept-compile tests; the timing figures were not re-measured.
  • Files, the twelve .changeset/*.md: clear.
  • Files, the five records (AST-050, AST-081, AST-084, CheckboxInput, Switch specs): clear.
  • Files, Selector.tsx, MultiSelector.tsx, ComplexSelector.tsx and their three viewport-cap tests: clear.
  • Files, CheckboxInput.tsx, Switch.tsx: non-blocking (comment sentence over 25 words). CheckboxInput.doc.mjs, labelGap.source-build.test.mjs, derivedVarRegistry.ts, its test, generateThemeRules.test.ts: clear. Switch.doc.mjs: non-blocking (untranslated Chinese string).
  • Files, ChatToolCalls.tsx, ChatDictationButton.tsx, Chat.missingProps.test.tsx: clear.
  • Files, Text.doc.mjs, PowerSearch.doc.mjs, PowerSearch.tsx, core-prop-docs.test.mjs, core-prop-docs.known-drift.json: clear.
  • Files, doctor.mjs, doctor.test.mjs, integrations.mjs, provider-resolution.mjs, provider-resolution.test.mjs: clear.
  • Files, icon.doc.mjs, icon.test.mjs, icon-ranking.mjs: clear.
  • Files, build.mjs, build.test.mjs, pack-check.mjs, pack-check.test.mjs: clear.
  • Files, self-contained.mjs, self-contained.kept.test.mjs, gather-cache.mjs, loaded-files.mjs, lazy-dependencies.mjs: clear.
  • Files, render/_adapter.mjs, render.doc.mjs, render.type.mjs, render.test.mjs, render-output.mjs, embedded-imports.mjs, relative-specifier.mjs, export-pages.doc.mjs, swizzle/_adapter.mjs, _moduleGraph.mjs, copy/copy.mjs: clear.
  • File, page-worker.mjs: clear.
  • Files, dashboard-scorecard/page.tsx: clear. checkout-wizard/page.tsx: non-blocking (page over 1,000 lines). dashboard-progress/page.tsx: non-blocking (page over 1,000 lines, rubric 74 as on main, stale comment). payment-form/page.tsx: non-blocking (page over 1,000 lines, rubric about 65 as on main).

Automated review (maintainer link)

Comment on lines +84 to +87
// The room between the box and its label. A theme sets it with gap on
// the `checkbox-input` target, which the compiler hands to this row as
// --_checkbox-input-gap (derivedVarRegistry): the target is the outer
// field, which also holds the status message below the row.

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.

Optional (comment style): the second sentence runs about 37 words. A shorter form that keeps the reason: "A theme sets this room with gap on the checkbox-input target. The compiler passes it to this row as --_checkbox-input-gap. The target is the outer field, which also holds the status message." The same applies to Switch.tsx:259-262.

{
name: '--_switch-field-gap',
description:
'Room between the switch and its label; set by gap on the switch-field target',

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.

Optional: this docsZh entry keeps the English description, while CheckboxInput.doc.mjs translates its twin (复选框与其标签之间的间距;由 checkbox-input 目标上的 gap 设置).

@josephfarina

Copy link
Copy Markdown
Contributor Author

/approve-spec 8e36a2f

@github-actions github-actions Bot removed the needs:spec-owner-review Current knowledge records await owner approval label Nov 19, 2026
@josephfarina
josephfarina merged commit 8bd67fe into main Nov 19, 2026
94 checks passed
@github-actions
github-actions Bot deleted the josephfarina/land-batch-1 branch November 19, 2026 06:05

This branch was successfully deployed

1 active deployment
Preview — 8e36a2f9 Deployed Nov 19, 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. merge-batch Batch of approved pull requests landed together needs:design-review Affects visuals — Design should review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant