Repository navigation
fix(pipeline): mark the step of an audience that did not render as failed, and say what became of the release notes - #359
Merged
Conversation
…iled, and say what became of the release notes
goldbarth
added a commit
that referenced
this pull request
Oct 8, 2026
Follows #360. Step 1 of `docs/development/releasing.md`. - **Why now:** the manual run of `0.1.0-preview.4` on 2026-10-08 found what a first user meets in the terminal, and six pull requests fixed it. The binary people install is still preview.4, which has none of them, and the terminal recording for the README (#325) and the model comparison (#324) should show and measure the Chartula the announcement describes. - **What ships since preview.4,** 6 changes: - the progress: the spinner next to its label and the header on the column of the steps (#352), the line fitted to a narrow terminal (#356), the step of an audience that did not render marked `× fail` (#359); - the summary: a rendering shown for reading on a terminal, in the two colours of the ramp (#360), a publishing run that says what became of the release notes (#359), a blank line before the count of failed audiences (#358); - `doctor`: details broken between words with their indent (#356), a rate limit message that stands on its own (#358); - the command line: a slip in `--audience` refused, every refused argument printed alike, `chartula version` told the flag (#358); - the free check: a number with thousands separators read as one number (#357). - **Breaks to state in the notes,** as `docs/versioning.md` asks of a preview: - On a terminal the summary no longer prints a rendering as Markdown source (#360). Redirected output, CI and `--plain` are unchanged, so a script is not affected; a person who copied from the terminal copies from the files or passes `--plain`. - The header keys `Model:`, `GitHub:` and `Range:` are padded by one more space (#352). A script that cuts the value at a fixed column needs a look; one that reads past the key does not. - `--audience product,` and `--audience 1` stop the run (#358); both ran before, the second as the customer audience. - A refused argument prints a second line, the pointer to the help, and `--repo name-only` no longer prints the header first (#358). - A publishing run without a technical rendering lists the release notes under `Skipped` (#359), and the step of a failed audience reads `× fail` where it read `· done`. - The rule-based check reads `100,200` as one number (#357), so facts that list three-digit numbers without a space no longer back each of them. - 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.5` and push it; `release.yml` builds the draft, `chartula generate --tag v0.1.0-preview.5` writes the notes into it with the settings `releasing.md` names (`gpt-6.1-sol`, thinking `low`), and publishing runs `install.yml`. The pinned `v0.1.0-preview.4` in `docs/ci.md` and `docs/install.md`, and the template link in the `doctor` samples, move to the new tag with the changelog pull request of step 6. **Verified:** the built CLI prints `chartula 0.1.0-preview.5+<commit>`. Tests: no test changed. Full suite 1,082 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 #354
Two things a run said, or did not say, when an audience failed.
· done Rendering technicalstood directly aboveTechnical (failed). A step was marked× failonly when the run stopped in it, and a failed audience does not stop the run.ReleaseRenderernow ends the step as failed when its audience did not render, and goes on with the next one.IRunProgress.Fail, whose contract now says both cases, the run that stopped and the step whose own work failed, and that a step may begin after it.ConsoleRunProgressalready drew that correctly; a test holds it.docs/cli.md: "done" says the step did its work, not that the result is good, so a rendering with review flags is done; "fail" says the run stopped there or the audience did not render. The steps and the summary no longer contradict each other.Skippedentry that says a run published nothing, hung in the branch that writes the technical outputs. A publishing run now lists the notes underSkippedwith the reason: the technical rendering failed, or--audienceleft it out. That second case was the same gap and is closed with it.Skipped (--no-publish), also when the technical rendering failed: they would have been skipped either way, and the heading says why.Reproduced first: four tests written against the unchanged code failed, three on the missing
Skippedentry and one on the step.Verified in publishing mode, which the issue had only read in the code: the built CLI in a pseudo-terminal against a local stub for GitHub and for the model, which refuses the first chat call (the technical rendering) and answers the second:
The stub's log shows the write check (
POST releases/generate-notes,GET releases/tags/v0.1.0) and no request that creates or changes a release. Exit code 1.Tests:
ReleasePipelineTestsgain the publishing run with a failed technical rendering, the one without the technical audience, and the run without publishing;ReleaseRendererTeststhe step that ends as failed while the next audience renders;ConsoleRunProgressTestsa failed step followed by a step drawn as before;ReleaseCommandOutputTeststheSkippedheading of a publishing run. Full suite 1,062 passing, build without warnings.