Skip to content

test: main is green again: Tokenizer's sheet-row test passes presentation, and the recorded module resolutions follow core - #9851

Merged
cixzhang merged 2 commits into
mainfrom
fix/resolution-fixture-lightbox-presspin
Nov 4, 2026
Merged

cixzhang merged 2 commits into
mainfrom
fix/resolution-fixture-lightbox-presspin

Conversation

@cixzhang

@cixzhang cixzhang commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Maintainer impact

Main is red in two jobs, so every pull request that merges now reports a red main. Neither failure comes from the pull requests that merged on top of them. Each pull request below was green alone, because its checks ran before the other change was on main or did not run the failing test.

  1. typecheck (and with it build and a test-ui leg): packages/core/src/Tokenizer/TokenizerBottomSheet.test.tsx(1814,11): error TS2769. refactor(Tokenizer): check sheet rows for action during render, not in an Effect #9808 added this test with experimental={{presentation: 'bottom-sheet'}}, and chore(Tokenizer): remove experimental.presentation; presentation is the only spelling #9836 removed that prop.
  2. test-node: packages/cli/api/component/resolution-compat.test.mjs, "modules.txt: each name keeps opening its recorded entry". Two recorded lines in __fixtures__/resolutions/modules.txt no longer match core on main.

The two fixes are in one pull request because neither can pass CI without the other: each failure turns the other's checks red.

Change

Tests and fixtures only: no product code and no Changeset.

Scope

  • No intended public API, product behavior, visual direction, or policy change.
  • Public text and artifacts contain no internal Meta context.

Testing

  • pnpm exec vitest run packages/cli/api/component/resolution-compat.test.mjs: 1 file, 14 tests passed locally.
  • No other source file passes experimental={{presentation…}} to Tokenizer. The remaining matches are the upgrade codemod's fixtures, which use the old spelling on purpose.
  • CI typecheck, build, test-ui and test-node on this pull request.

Posted by Cindy's agent on her behalf.

…nd drop the deleted usePressPin

#9752 gave useLightbox its own doc; #9756 deleted the internal
Layer/usePressPin.ts. Each was green alone because PR checks skip this
fixture test; main test-node fails on both lines.
@cixzhang cixzhang added the ci:run A maintainer lets this outside contributor's pull request run CI (AST-030 FR17) label Nov 4, 2026
@vercel

vercel Bot commented Nov 4, 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 4, 2026 1:52am UTC

Request Review

@astracat-bot

astracat-bot Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Nov 4, 2026, 1:59 AM UTC

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

cixzhang commented Nov 4, 2026

Copy link
Copy Markdown
Contributor Author

Local check at 3020061 (macOS, Node 25): pnpm exec vitest run packages/cli/api/component/resolution-compat.test.mjs → 1 file, 14 tests passed, including "modules.txt: each name keeps opening its recorded entry".

Posted by Cindy's agent on her behalf.

@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

PR Analysis Report

🔎 Preview · cdd292e

Storybook · Sandbox · built from this PR's head

Modified components

Component Size LoC Visual · A11y · RTL
Tokenizer · Storybook 70.3 kB (0) · 17.1 kB CSS (0) 2,114 (0) — · ✓ · ✓

Package size: @astryxdesign/cli 3.34 MB packed (−15 B); no new dependencies.

API changes: none in this pull request

Committed API report behind this build: core 2 rows; run pnpm api:report.

Touched components checked; add ci:run-visual, ci:run-a11y or ci:run-rtl to run the full suites.


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.

This looks ready to merge: the two edited lines match what @astryxdesign/core on main resolves, and the resolution test that fails on main passes at this head.

  • Optional: the commit message says PR checks skip this fixture test, but this pull request's own scoped test-node ran it, and #9756's test-node run finished before the test landed, so consider dropping that cause.
  • The typecheck failure in packages/core/src/Tokenizer/TokenizerBottomSheet.test.tsx already fails on main and is unrelated to this change.

[Automated review]

…ved experimental prop

#9808 added the test with experimental.presentation; #9836 removed that
prop. Each was green alone; together main typecheck fails (TS2769).
Same change as #9847, folded in here so one pull request turns main green.

Co-authored-by: Xinzi Zhou <2252473+imdreamrunner@users.noreply.github.com>
@cixzhang cixzhang changed the title test(cli): the recorded module resolutions follow useLightbox's doc and drop the deleted usePressPin test: main is green again: Tokenizer's sheet-row test passes presentation, and the recorded module resolutions follow core Nov 4, 2026

@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.

This looks ready to merge: the Tokenizer test now uses the stable presentation prop, and the two modules.txt lines match what core resolves on main. Both affected tests fail on main on exactly these lines and pass at this head, and typecheck passes.

  • Optional: the first commit's message still says pull request checks skip the fixture test; if it ends up in the merge commit, use the body's wording instead.
  • #9847 makes the same Tokenizer test change, so it can be closed once this lands.

[Automated review]

@cixzhang
cixzhang merged commit b95497d into main Nov 4, 2026
127 of 133 checks passed
potatowagon added a commit that referenced this pull request Nov 4, 2026
Picks up #9851, which made `main` green again: the Tokenizer sheet-row
test's `presentation` prop (the TS2769 the `typecheck` job reported) and
the recorded CLI module resolutions (the `build` job's
resolution-compat snapshot for `useLightbox` and `usePressPin`). Both
failures came from the merge base, not from this change, which touches
only TextInput.

No conflict this time. Committed with `--no-verify`, so the pre-commit
formatter cannot rewrite files outside this change the way it did in
876036a.
@github-actions
github-actions Bot deleted the fix/resolution-fixture-lightbox-presspin branch November 4, 2026 06:04

This branch was successfully deployed

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

Labels

ci:run A maintainer lets this outside contributor's pull request run CI (AST-030 FR17) 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