Repository navigation
feat: render a commit without a pull request next to the pull requests - #291
Merged
Merged
Conversation
This was referenced Sep 30, 2026
Merged
goldbarth
added a commit
that referenced
this pull request
Oct 7, 2026
Follows #344. Step 1 of `docs/development/releasing.md`. - **Why now:** the launch points are merged, and the binary people install is still `0.1.0-preview.3`, which has none of them. The announcement needs a release that holds what the README and the docs on `main` describe. - **What ships since preview.3,** 63 commits: - a first run: `chartula doctor` (#295, grouped in #341), `chartula --version` (#286), a free `preview` (#292), progress while a run works (#297, with a spinner and `--plain` in #340), a first tag from the first commit with a confirmation for a large range (#282); - what a release contains: commits without a pull request (#291), issue numbers at every depth (#293), a sentence for a release with nothing for developers (#307 in #333); - checks and prompts: pull request text quoted and bounded (#338), no false flag for a wrapped phrase or a fenced block (#336), flags set apart from the entries (#331); - publishing: the token checked before the first model call (#285), a published release not replaced unless asked (#335); - the files: `changelog.json` without descriptions and readable as text (#294, #332). - **Breaks to state in the notes,** as `docs/versioning.md` asks of a preview: - `changelog.json` is schema version 2: a change's `description` is gone (#294). The run record is schema version 3 and holds the complete facts. - `generate` stops on a tag whose release is already published; `--replace-published` restores the old behaviour (#335). - An option a command does not take stops the run (#301), and `--whole-history` is gone (#282). - The terminal output changed form (#340 to #342): the summary's first line, audience headings in place of `--- Technical ---`, and `doctor`'s last line. A script that reads those lines needs a look; exit codes and the files are unchanged. - The csproj `Version` is the single source; nothing else carries the number. **After merge:** tag the merge commit on `main` with `v0.1.0-preview.4` and push it; `release.yml` builds the draft, `chartula generate --tag v0.1.0-preview.4` writes the notes into it, and publishing runs `install.yml`. The pinned `v0.1.0-preview.3` in `docs/ci.md` and `docs/install.md`, and the template link in the `doctor` samples, move to the new tag once the release exists, with the changelog pull request of step 6. **Verified:** the built CLI prints `chartula 0.1.0-preview.4+<commit>`. Tests: no test changed. Full suite 1,010 passing, build without warnings.
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.
Closes #257
mainshipped with the release and appeared nowhere, and nothing said so. The decision to render such commits, with its reasons, is recorded in Commits without a pull request are left out silently when a release has one #257.chore:orci:push is dropped asInternal, andlabels.onlyIncludeLabeleddrops it for having no labels.PullRequestInfo.CommitShas, which the reader fills from the request per commit it already makes. No extra GitHub request. It is read from every merged pull request, not only the ones left after revert pairing, so the commits of a reverted pull request do not come back as direct pushes.git lognow reads the parents (%P), andCommitInfo.IsMergecarries it. A release without pull requests skips its merge commits too, instead of rendering "Merge branch ..." asOther.Release:line adds3 commits without one (1 merge commit, skipped)when there are any, and the run record'sreleasegetscommitsWithoutPullRequestandmergeCommitsSkipped. Both are new fields, so the run record stays at schema version 3.changelog.jsonis unchanged: commit-based changes are already part of it.what-goes-into-a-release.mddescribes the behavior, including that a direct revert pairs nothing.run-metrics.mdandrun-record.mddescribe the new counts.Reproduced and verified end to end, no network, no tokens: the built binary in a scratch repository:
v0.1.0, then a pull request's commit on a branch,fix: crash on startpushed tomain, a local--no-ffmerge,v0.2.0. GitHub and the model are a local stub that knows the one pull request.What the model received after the fix:
Tests:
ReleaseChangeResolverTests(a direct commit next to a pull request in range order, merge skipped; a reverted pull request's commits stay out; a release without pull requests skips merges;DirectCommitscounts skipped merges),GitCliCommitReaderTests(a real two-parent merge isIsMerge),RunReportFormatterTestsandRunRecordJsonSerializerTests(the new counts). Test pull requests that stand next to commits now name their commits, as the reader does. Full suite 858 passing, build without warnings,dotnet formatclean.