Repository navigation
The doctor's checks in the order of the pages; one-loop takes main - #59
Merged
Merged
Conversation
… with @changesets/cli 3.1.0 (#52) * test(newborns): a package repo's changeset version writes a changelog its verify accepts The newborn package repo asserts the CHANGELOG.md that changeset version writes and runs its own verify on the result, so that a changelog the repo's Biome would refuse, or a formatter changesets cannot start, fails here. Refs PLX-196 Co-Authored-By: Claude Fable 5.2 <[email protected]> * fix(repo-turbo): a package repo's changesets format nothing @changesets/cli 3.1.0 (apply-release-plan 8.2.0, write 1.1.0) adds Biome to the formatters its default "format": "auto" detects, finds biome.json, and formats each changelog and changeset it writes with `pnpm exec @biomejs/biome format`. pnpm exec runs a binary, and Biome's is `biome`, so changeset version exits 1 in every package repo of the template (changesets/format#56, open). Biome would have nothing to do anyway: the shared configuration turns its formatter off for Markdown. "format": false, which @changesets/config 4.0 already accepts, says so and holds for 3.0 and 3.1 alike. Refs PLX-196 Co-Authored-By: Claude Fable 5.2 <[email protected]> * test(lib): the move test no longer holds for repo-turbo, whose template has changed since Its header says a later change to a template ends the test for it: the changesets key added to repo-turbo's .changeset/config.json is such a change. repo-operations is left as it was. Refs PLX-196 Co-Authored-By: Claude Fable 5.2 <[email protected]> * test(dev): the move test compares what the move concerns, since repo-turbo's template has changed since Refs PLX-196 Co-Authored-By: Claude Fable 5.2 <[email protected]> --------- Co-authored-by: Claude Fable 5.2 <[email protected]>
…PLX-Repo/Verbs The contract page states the check of PLX-Repo/Hooks in § 2 and that of PLX-Repo/Verbs in § 3, each in a sentence of its own below its requirements block. CHECKS follows that order, so a repo's findings of the hooks come before those of the verbs, and the hermetic copy of the sentences says what the page says. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ries already main's one commit (pull request 52) makes a package repo's changesets format nothing. one-loop carries the same fix from its own pull request 50, so the merge changes no file: the template's .changeset/config.json merged clean and equal on both sides, and the three conflicts are resolved to one-loop's side. newborns/repo-turbo.test.ts and the move test in ship.integration.test.ts already assert what main added, in one-loop's words; updatesMove.test.ts stays deleted, as one-loop deleted it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Two separate things, as two commits.
1. The doctor's checks in the order of the pages.
The compendium's pages, as they will be at the release (plexus-ms/compendium#13), state the check of
PLX-Repo/Hooksin § 2 ofcontracts/repo.mdand the check ofPLX-Repo/Verbsin § 3, each in a sentence of its own.CHECKSnow follows that order, and the hermetic copypackages/lib/src/testing/doctor-checks.mdholds the two sentences verbatim from that page ata99b099.The test's own
FAILINGtable followsCHECKS, since a test holds the two in the same order.What a user sees change: in
plx doctor's output, and in thefindingsof--json, a repo'sPLX-Repo/Hooksfindings now come before itsPLX-Repo/Verbsfindings.Nothing else changes:
--helpdoes not list the checks, and no other test or newborn asserts the order of findings across requirements.2.
one-looptakesmain.origin/mainis merged in with a merge commit; its one commit (#52, the changesets"format": falsefix) is already inone-loopthrough #50.Three conflicts, each resolved to
one-loop's side:newborns/repo-turbo.test.tsandpackages/dev/src/ship.integration.test.ts, whereone-loopalready asserts whatmainadded, in its own words;packages/lib/src/updatesMove.test.ts, whichone-loopdeleted, stays deleted.The template's
.changeset/config.json.jinjamerged clean and is the same on both sides.The merge changes no file against its first parent, and
origin/mainis an ancestor of the head.The order at the cut.
doctor.test.tsreads a compendium only whenPLX_COMPENDIUMis set, and nothing sets it: notmise test, notmise e2e, notmise ship, not the hooks, not the workflows.turbo runs the tests in strict env mode, so a
PLX_COMPENDIUMin the maintainer's shell does not reach them either: with it set to the released compendium,turbo run test --filter=@plexus-ms/lib --forcepassed on the hermetic copy.So the cut passes in any order of the merges, as far as this test goes.
Against the released compendium (
main), the test fails as it already did before this change, since that page still namesPLX-Repo/SubVerbs; it passes once compendium#13 is merged.Verification.
node --test packages/lib/src/doctor.test.tswas red before the change withPLX_COMPENDIUMset to compendium#13, and red with the hermetic copy once the copy was updated; after the change it is green with both.The forced
mise run test && mise run e2epassed: the packages' unit tests all green, newborns 58 of 58.🤖 Generated with Claude Code