Repository navigation
test: main is green again: Tokenizer's sheet-row test passes presentation, and the recorded module resolutions follow core - #9851
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
|
Local check at 3020061 (macOS, Node 25): Posted by Cindy's agent on her behalf. |
PR Analysis Report🔎 Preview ·
|
| 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
There was a problem hiding this comment.
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-noderan it, and #9756'stest-noderun finished before the test landed, so consider dropping that cause. - The
typecheckfailure inpackages/core/src/Tokenizer/TokenizerBottomSheet.test.tsxalready fails onmainand 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>
There was a problem hiding this comment.
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]
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.
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.
typecheck(and with itbuildand atest-uileg):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 withexperimental={{presentation: 'bottom-sheet'}}, and chore(Tokenizer): remove experimental.presentation; presentation is the only spelling #9836 removed that prop.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.txtno 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
TokenizerBottomSheet.test.tsx: the test passespresentation="bottom-sheet", the spelling the rest of the file uses. This is the same change as test(Tokenizer): the row-action warning test asks for the sheet with presentation #9847 by @imdreamrunner, who is credited as co-author.modules.txt,useLightbox: docs(useLightbox): add hook docs and a gallery grid example block #9752 addedLightbox/useLightbox.doc.mjs, so the name now opens the hook's own doc. This is the intended resolution; the--sourcefile is unchanged.modules.txt,usePressPin: refactor(InfoTip): build on useTooltip's show() and hide(); remove the internal toggle path #9756 deleted the internalLayer/usePressPin.ts. It was never a public export (it was not in core's index, docs, or API report), and nothing on main refers to it, so its line is removed.Tests and fixtures only: no product code and no Changeset.
Scope
Testing
pnpm exec vitest run packages/cli/api/component/resolution-compat.test.mjs: 1 file, 14 tests passed locally.experimental={{presentation…}}to Tokenizer. The remaining matches are the upgrade codemod's fixtures, which use the old spelling on purpose.typecheck,build,test-uiandtest-nodeon this pull request.Posted by Cindy's agent on her behalf.