Repository navigation
experimental theme how: a second url() layer left unwritten is named as not used - #13298
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
There was a problem hiding this comment.
Approval waits on an engineering owner's decision; no fix is needed.
No current spec record says what astryx experimental theme editor how prints in its "not used" line, so an engineering owner needs to provide or identify the governing spec, or decide that a url() layer the command leaves unwritten (the second layer of cards background-image: url(a.png), url(b.png)) is named in that line exactly as typed. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request; the author may do so, being an engineering owner.
Non-blocking: when one file is typed twice (url(a.png), url(a.png)), the line quotes "url(a.png)" beside the write of that same file, because the quote is the first match in the ask.
Claims and files checked
Review mode: full; reason: no-earlier-review
- Changeset: the command names a second
url()layer it does not write in its "not used" line, as typed, instead of dropping it. Verified: for the two-layer ask the head addsnot used: "url(b.png)", and the base code prints nothing for it. - Title: an unwritten
url()layer is named as not used. Verified for a second and a third layer. - Description: the two-layer ask wrote the first file and dropped the second with no word. Verified on the base code.
- Description: the "not used" line compares each ask as typed, with its files put back. Verified (
_how-question.mjs:32811). - Description: writing two
url()layers as one value is a separate change. Verified: the head still writes onlyurl(a.png). - Description: stacked on #13283, retargeting to main when that lands. Verified: the base branch is that pull request's head.
- Description: the new test case names the second layer and fails on #13283's head. Verified: it fails on the base code and passes on the head, where all 14 cases in the file pass.
.changeset/experimental-theme-how-url-layer-not-used.md: clear; an experimental patch note that matches the code.packages/cli/api/theme-edit/_how-question.mjs: clear, apart from the non-blocking note above.packages/cli/api/theme-edit/theme-how-url-file-name.test.mjs: clear; the new case asserts what the Changeset claims.
493abba to
c20d109
Compare
There was a problem hiding this comment.
Approval waits on an engineering owner's decision, and one wording fix is needed.
No current spec record says what astryx experimental theme editor how prints in its "not used" line, so an engineering owner needs to provide or identify the governing spec, or decide that a url() layer the command leaves unwritten is named in that line exactly as typed; an engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner.
- Miss: the title and Changeset say an unwritten
url()layer is named as not used, but after a property written without a colon (header background url(a.png) no-repeat, url(b.png) repeat-x) the second layer is still dropped with no word, so narrow both to the covered form (layers after the property and a colon, as incards background-image: url(a.png), url(b.png)) or cover the colon-less form and add it to the test.
Non-blocking: a file typed twice (url(a.png), url(a.png)) is quoted as "url(a.png)" beside the write of that same file, and cards background: url(a.png) no-repeat, url(b.png) repeat-x now names repeat-x in two lines.
Claims and files checked
Review mode: full; reason: rebase
- Changeset: the command names a second
url()layer it does not write in its "not used" line, as typed, instead of dropping it. False as a general claim: true forcards background-image: url(a.png), url(b.png), butheader background url(a.png) no-repeat, url(b.png) repeat-xstill drops the second layer silently. - Changeset: an experimental patch for the CLI. Verified.
- Title: a
url()layer left unwritten is named as not used. False as stated, for the same colon-less form. - Description: the two-layer ask wrote the first file and dropped the second with no word. Verified on the base code.
- Description: the "not used" line compares each ask as typed, with its files put back. Verified in
_how-question.mjs(asTyped). - Description: writing two
url()layers as one value is a separate change. Verified: the head still writes onlyurl(a.png). - Description: stacked on #13297, on #13283. Verified: the base branch is #13297's head, whose base is #13283's head.
- Description: the stack enters together. A merge plan, not a code claim; nothing at this head contradicts it.
- Description: the new test case names the second layer and fails on #13283's head. Verified: it fails there and on this pull request's base, and passes on the head with the other 14 cases.
.changeset/experimental-theme-how-url-layer-not-used.md: finding (overclaims, above).packages/cli/api/theme-edit/_how-question.mjs: clear, apart from the two non-blocking notes.packages/cli/api/theme-edit/theme-how-url-file-name.test.mjs: clear; it covers only the form with a colon.
c20d109 to
cb48bad
Compare
There was a problem hiding this comment.
Approval waits on an engineering owner's decision, and one wording fix is still needed.
No current spec record says what astryx experimental theme editor how prints in its "not used" line, so an engineering owner needs to provide or identify the governing spec, or decide that a url() layer the command leaves unwritten is named in that line exactly as typed; an engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner.
- Miss: the title, Changeset and description say a second
url()layer after a property and a colon is named as not used, buton cards, background-image: url(a.png), url(b.png)andcards background-image: url(a.png), url(b.png); 12px radius on buttonsstill writeurl(a.png)and say nothing abouturl(b.png), so bound the wording to the tested phrasing (cards background-image: url(a.png), url(b.png)) or cover those phrasings and add them to the test.
The current wording follows the correction our previous review suggested, which missed these phrasings. Non-blocking: a file typed twice (url(a.png), url(a.png)) is quoted as "url(a.png)" beside the write of that same file, and cards background: url(a.png) no-repeat, url(b.png) repeat-x names repeat-x in two lines.
Claims and files checked
Review mode: full; reason: history
- Changeset: the command names a second
url()layer it does not write after a property and a colon, as typed, instead of dropping it. False as a general claim: true forcards background-image: url(a.png), url(b.png)and several variants, buton cards, background-image: …and…; 12px radius on buttonsstill drop the second layer silently. - Changeset: without the colon the second layer is still left out unnamed. Verified on both trees.
- Changeset: an experimental patch for the CLI. Verified.
- Title: a
url()layer after a colon left unwritten is named as not used. False as stated, for the same phrasings. - Description: the two-layer ask wrote the first file and dropped the second with no word. Verified on the base.
- Description: the "not used" line compares each ask as typed, with its files put back. Verified in the pass's quote step.
- Description: a layer left unwritten after a property and a colon is named. False as a general claim, for the same phrasings.
- Description: without the colon the ask reader drops the second layer before any clause exists. Verified: the text that reaches the clause reader already lacks it.
- Description: writing two
url()layers as one value is a separate change. Verified: the head still writes onlyurl(a.png). - Description: stacked on #13297, on #13283. Verified: the base branch is #13297's head, whose base is #13283's head.
- Description: the stack enters together. A merge plan, not a code claim; nothing at this head contradicts it.
- Description: the new test case names the second layer and fails on #13283's head. Verified: it fails there and on this pull request's base, and passes on the head with the other 14 cases.
.changeset/experimental-theme-how-url-layer-not-used.md: finding (overclaims, above).packages/cli/api/theme-edit/_how-question.mjs: clear, apart from the two non-blocking notes.packages/cli/api/theme-edit/theme-how-url-file-name.test.mjs: clear; it covers one phrasing.
cb48bad to
019e2ac
Compare
|
/approve-spec 019e2ac |
There was a problem hiding this comment.
Changes requested: one title fix.
An engineering owner's /approve-spec for this head settles the "not used" behavior, and the Changeset now matches what the change does; what remains is the title.
- The title says a second
url()layer left unwritten is named as not used, buton cards, background-image: url(a.png), url(b.png),cards background-image: url(a.png), url(b.png); 12px radius on buttons,header background url(a.png) no-repeat, url(b.png) repeat-xandbackground-image: url(a.png), url(b.png) on cardsstill say nothing abouturl(b.png), as the Changeset itself now says, so please retitle to the tested ask, for example "experimental theme how: incards background-image: url(a.png), url(b.png)the unwritten second layer is named as not used".
Non-blocking: a file typed twice (url(a.png), url(a.png)) is quoted as not used beside the write of that same file, and header background: url(a.png) no-repeat, url(b.png) repeat-x names repeat-x in two lines.
Claims and files checked
Review mode: full; reason: history
- Changeset: the command names a second
url()layer it does not write in its "not used" line, as typed, forcards background-image: url(a.png), url(b.png). Verified by the new test and by running the ask on the head. - Changeset: other phrasings (no colon, a part said after "on", another ask after a semicolon) still leave the second layer unnamed. Verified on the head for each, with "on cards" both leading and trailing.
- Changeset: an experimental patch for the CLI. Verified.
- Title: a second
url()layer left unwritten is named as not used. False as a general claim (the finding above). - Description: the two-layer ask wrote the first file and dropped the second with no word. Verified on the base.
- Description: the "not used" line compares each ask as typed, with its files put back. Verified in the pass's lookup.
- Description: other phrasings still leave the layer unnamed, and writing two layers as one value is a separate change. Verified: the head still writes only the first layer.
- Description: stacked on #13297, on #13283, entering together. Verified: the base branch is #13297's head, whose base is #13283's head; the merge plan is not a code claim.
- Description: the new test case names the second layer and fails on #13283's head. Verified: it fails there and on this pull request's base, and passes on the head with the other 14 cases.
- Description: the author's replay and preflight reports, and a CI result at an earlier head with only the Changeset changed since. The Changeset-only difference is verified; the tool reports were not rerun, and that earlier head ran only its start and gate checks.
.changeset/experimental-theme-how-url-layer-not-used.md: clear.packages/cli/api/theme-edit/_how-question.mjs: clear, apart from the two non-blocking notes.packages/cli/api/theme-edit/theme-how-url-file-name.test.mjs: clear; it covers one phrasing.
|
Taken out of landing #13377 together with the rest of its group (#13283, #13297, #13298, #13317), which lands as one. The review of the combined head flagged the url() handling (asTyped drops a second url() layer) and the two url release notes. The group stays on the working branch and rides again once a fix pull request that names these enters the branch. |
- #13196 how: every part named before a colon is a subject of the list - #13283 experimental theme how: a file named in url() is a value, written as typed - #13297 experimental theme how: a file in a follow-up ask is written as typed - #13298 experimental theme how: a second url() layer left unwritten is named as not used - #13317 experimental theme how: a file's path changes no other ask inside the question reader - #13251 set: a text size said of a title piece goes on its holder's main text - #13374 experimental theme how: a label after an earlier part's sentence still sets its setting - #13396 experimental theme how: a heading's label run reads two-word and hyphenated labels; a short sentence is no heading - #13263 how: in asks like "Header: navy. Cards: …, gray header." another sentence's part stays an item - #13378 fix(cli): a radius named for one corner writes that corner only - #13389 experimental theme how: the url() note no longer lists the follow-up ask as uncovered - #13435 experimental theme how: the url() layer note names only the phrasing still left out - #13449 how: a colon-list item is read in the sentence that holds it as typed
|
Landed on main in #13412. |
User impact
"cards background-image: url(a.png), url(b.png)" wrote
url(a.png)and droppedurl(b.png)with no word about it.Behavior
The "not used" line compares each ask as typed, its files put back, so in
cards background-image: url(a.png), url(b.png)the unwritten second layer is named there as typed. Other phrasings (without the colon, a part said after "on", another ask after a semicolon) still leave it out unnamed; writing twourl()layers as one value is a separate change.Stack
Stack: #13283 → #13297 → #13298 → #13317
Stacked on #13297 (follow-up asks), on #13283 (the url() reading); the stack enters together.
Testing
theme-how-url-file-name.test.mjs: the second layer is named in the "not used" line (fails on #13283's head).preflight: pass 019e2ac (CI half pass at cb48bad, changeset-only since)
replay: group worse 0 at 6eb7b57 (this head alone is worse; enters only with its group)