Repository navigation
test(cli): the swizzle proof renders Lab's MediaPlayer with its required label - #13001
Merged
Merged
Conversation
josephfarina
requested review from
cixzhang and
imdreamrunner
as code owners
November 19, 2026 20:56
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
AI review status for this pull request.
|
Contributor
Author
|
/approve-spec 3c76e9b |
This was referenced Nov 19, 2026
josephfarina
added a commit
that referenced
this pull request
Nov 19, 2026
josephfarina
added a commit
that referenced
this pull request
Nov 19, 2026
josephfarina
added a commit
that referenced
this pull request
Nov 19, 2026
josephfarina
added a commit
that referenced
this pull request
Nov 19, 2026
3 tasks done
josephfarina
added a commit
that referenced
this pull request
Nov 19, 2026
3 tasks done
josephfarina
added a commit
that referenced
this pull request
Nov 19, 2026
Contributor
There was a problem hiding this comment.
Approved pending CI: CI has not run on this head yet.
The new lab__MediaPlayer sample gives the swizzle proof the player's required label. samples.test.mjs fails on the base with the message quoted in the description and passes on this head, and the proof renders the copy on the server. No changes are needed.
Claims and files checked
Review mode: full; reason: no-earlier-review
- Claim: the samples test fails on main with the quoted message — verified: running it on the base fails one test with exactly that message.
- Claim: this change makes it pass — verified: all five tests pass on this head.
- Claim: a target whose doc gives no default for a required prop needs a sample — verified:
missingSampleinproof.mjs(lines 891-900). - Claim: MediaPlayer requires
labeland hosts a media element — verified:MediaPlayer.tsx:78and the doc'sMediaPlayerentry (labelrequired; children are one media part and control parts). - Claim: the sample renders the copy with
label: 'Clip', a videoMediaPlayerElementand aMediaPlayButton— verified:samples.mjs:632-641and the proof's server render. - Claim: the parts come from the copy's own module when it exports them, as the other media part samples do — verified:
mod.X ?? Pkg.X, as inmediaPart(samples.mjs:181-191); the copy's index exports both parts. - Claim: it is a real sample, not a
needsNoSamplemark, because the component renders — verified: the proof's eject, typecheck, bundle and render steps pass for this target;needsNoSampleis unchanged. - Claim: one
lab__MediaPlayerentry and no product code changes — verified: one file, 10 added lines. - Claim: no components, public API, visual representation, default or interaction model change — verified.
- Claim: public text contains no internal context — verified.
- Claim:
scope.test.mjspasses — verified: 10 of 10 on this head. - File:
packages/cli/test/swizzle-proof/samples.mjs— clear.
3 tasks done
josephfarina
added a commit
that referenced
this pull request
Nov 19, 2026
- #12941 fix(Table): the default cell renderer shows an Invalid Date as an empty cell Author: @josephfarina - #12886 docs(core): the README setup loads the theme's fonts Author: @josephfarina - #12887 fix(cli): doctor --built reads the setup stylesheet as wiring, not page styling Author: @josephfarina - #12456 fix(cli): a doc may leave out a value the code deprecates everywhere Author: @josephfarina - #12857 docs(cli): the styling and typography pages state their core rules Author: @josephfarina - #12994 test(cli): the doctor golden leaves out a check only some computers report Author: @josephfarina - #13001 test(cli): the swizzle proof renders Lab's MediaPlayer with its required label Author: @josephfarina
5 of 8 tasks
josephfarina
added a commit
that referenced
this pull request
Nov 19, 2026
- #12741 feat(cli): template icon table and the template-icons placeholder package Author: @josephfarina - #12747 feat(cli): template copies write icon placeholders as the library icon that draws them Author: @josephfarina - #12748 feat(cli): twenty-one refined icon meanings that fall back to the meaning templates used before Author: @josephfarina - #12754 feat(cli): page templates ai-chat to kanban-board import icons by meaning Author: @josephfarina - #12756 feat(cli): page templates library to work-item-detail import icons by meaning Author: @josephfarina - #12759 feat(cli): block templates AlertDialog to MultiSelector import icons by meaning Author: @josephfarina - #12762 feat(cli): block templates NavHeadingMenu to VStack import icons by meaning Author: @josephfarina - #12767 feat(cli): bundled templates pick each icon by meaning Author: @josephfarina - #13001 test(cli): the swizzle proof renders Lab's MediaPlayer with its required label Author: @josephfarina
josephfarina
added a commit
that referenced
this pull request
Nov 19, 2026
- #12953 fix(cli): a skill whose integration has a doc that did not load is unread, not left out Author: @josephfarina - #12954 docs(cli): astryx docs --help names docs skills Author: @josephfarina - #12955 test(cli): a skill on a placed guide reads that guide and init writes it Author: @josephfarina - #12956 refactor(cli): one renderer for the SKILL.md files Astryx manages Author: @josephfarina - #13001 test(cli): the swizzle proof renders Lab's MediaPlayer with its required label Author: @josephfarina
8 tasks done
github-actions
Bot
deleted the
josephfarina/swizzle-sample-media-player
branch
November 20, 2026 06:05
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User impact
None for users. Main's
packages/cli/test/swizzle-proof/samples.test.mjsfails since Lab's MediaPlayer family merged: "swizzle target lab__MediaPlayer has no sample in samples.mjs, and its doc gives no default for its required prop(s) label". This change makes it pass again.Problem and solution fit
The swizzle proof renders a copy of every swizzle target. A target whose doc gives no default for a required prop needs a sample.
MediaPlayerrequireslabeland needs a media element to play. The newlab__MediaPlayersample renders the copy withlabel: 'Clip', a videoMediaPlayerElementand aMediaPlayButton. It takes those parts from the copy's own module when it exports them, as the other media part samples do. It is a real sample, not aneedsNoSamplemark, because the component renders.Smallest restoration
packages/cli/test/swizzle-proof/samples.mjs: onelab__MediaPlayerentry. No product code changes.Scope
Components: none (test data only).
Testing
samples.test.mjs: fails on main with the message above and passes with this change;scope.test.mjspasses.