Repository navigation
docs(release): v0.1.100 draft — the first three-digit patch, and a probe that exits 0 on a command that does not exist - #490
Merged
Conversation
…obe that exits 0 on a command that does not exist Cut from main at c97c29c. 12 commits since v0.1.99: 7 excluded, 5 in the notes. The release exists for the listing-diagnosis pair — `civitai app doctor` (#488) finds the problem and `civitai app listing set-text` (#489) fixes it — neither of which is in any release today. Two things this draft records that the previous 99 did not need: - 0.1.99 + 1 patch is 0.1.100, and this is the first three-digit patch, so the lexicographic-comparison trap is newly reachable. Every comparison site in the repo was read rather than assumed: all parse numerically (strconv.Atoi per segment), all four version regexes use unbounded \d+, and the only tag sort is --sort=-version:refname. There is NO CI gate on version monotonicity, so this had to be settled before tagging rather than left to a gate that does not exist. The check carries its own negative control — the string comparison "0.1.100" < "0.1.99" was asserted to hold, without which the numeric green would be indistinguishable from the broken implementation. - A feature probe that reads an EXIT CODE reports a false PRESENT on this CLI. Measured against the released v0.1.99 binary: `civitai app doctor --help` exits 0 on a build where the command does not exist, because Cobra falls back to the parent's help instead of erroring. Read the first line of output, not rc. Also flagged for the maintainer, both requiring a decision at publish time and neither blocking the tag: `ci(` is not in the changelog exclude list at all, so the CI-internal #485 will appear in the notes; and both feature subjects carry a stale bracketed "[DO NOT MERGE until #4341 is on release]" that will publish verbatim, which should be edited out of the draft body in the UI. Verified at c97c29c: build + vet clean, gofmt silent, 21 packages ok, 0 FAIL.
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.
Release draft for v0.1.100, matching the convention of
claudedocs/release-v0.1.99-draft.md. Docs only — no code changes.Not yet tagged. Per
AGENTS.md→ Permission boundaries, tagging is the maintainer's call and publishing the draft release is a separate one (it fires npm + the Homebrew tap, and npm unpublish is restricted).Why this release exists
civitai app doctor(#488) andcivitai app listing set-text(#489) merged afterv0.1.99was tagged, so neither is in any release.doctorfinds the listing problem,set-textfixes it — off-site listings need the pair.Predicted contents
12 commits since
v0.1.99including this one: 7 excluded (docs(/test(/chore(), 5 in the notes, 0 leaking.Two things this draft records that the previous 99 did not need
1. This is the first three-digit patch, so the lexicographic-comparison trap (
"0.1.100" < "0.1.99"as strings) is newly reachable. Every comparison site in the repo was read rather than assumed — all parse numerically (strconv.Atoiper segment), all four version regexes use unbounded\d+, and the only tag sort is--sort=-version:refname. There is no CI gate on version monotonicity, so this had to be settled before tagging rather than left to a gate that does not exist. The check carries its own negative control: the string comparison was asserted to hold, without which the numeric green would be indistinguishable from the broken implementation.2. A feature probe that reads an exit code reports a false PRESENT on this CLI. Measured against the released
v0.1.99binary:civitai app doctor --helpexits 0 on a build where the command does not exist, because Cobra falls back to the parent command's help instead of erroring. Read the first line of output, notrc.Two things flagged for the maintainer at publish time
Neither blocks the tag; both want a decision before the draft is published.
ci(is not in the changelog exclude list at all — never has been — so the CI-internal ci(revendor): run the canonical-schema re-vendor every 6h, not weekly #485 will appear in the notes. Same shape as v0.1.99's fix(ci): stage only flake.nix in the vendorHash bot's PR, and ignore nix out-links #467. Left alone deliberately rather than widened at tag time, which would be an untested change to the one file whose failure mode is invisible until a release ships.[DO NOT MERGE until #4341 is on release]and the changelog will publish it verbatim. The gate it names is satisfied. Easiest fix is editing it out of the release body in the UI while it is still a draft.Verification at
c97c29cgo build ./...andgo vet ./...clean,gofmt -s -lsilent, 21 packages ok, 0 FAIL, 0 timeout panics — the same package count v0.1.99 recorded.