Archilyzer · Source

archilyzer

Archilyzer
git clone https://archilyzer.pages.dev/source/archilyzer.git
Log | Files | Refs | README | LICENSE

commit 0dc9bd6b8b90838b94f57b9d46f6561ce247823f
parent e393cbccab6752b7ee6b837ae0f3d7ccd9b216fb
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Sat, 26 Sep 2026 19:15:21 -0400

editor(e2e): ops-cut-release — a second cut finds no [Unreleased] heading at all (the cut consumed it), and the 400's results say so

The first run expected "Nothing pending"; the writer's sentence for a file
whose heading is gone is "Could not find a `## [Unreleased]` heading to cut
from." Spec list 53/53 after the fix.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Diffstat:
Meditor/e2e/ops-cut-release.spec.ts | 14++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/editor/e2e/ops-cut-release.spec.ts b/editor/e2e/ops-cut-release.spec.ts @@ -100,11 +100,21 @@ test("cut-release cuts the editor changelog and answers with the heading it wrot const page = await request.get(`${baseUrl}/changelog`); expect(await page.text()).toContain("Nothing pending under [Unreleased] yet."); - // Cutting again is the writer's own refusal, as a 400. + // Cutting again is the writer's own refusal, as a 400: the cut consumed the + // [Unreleased] heading itself. const again = await cut(request, { workspace: "editor", version: "next" }); expect(again.status).toBe(400); expect(again.body.ok).toBe(false); - expect(again.body.error).toBe("Nothing pending to release under [Unreleased]."); + expect(again.body.error).toBe( + "Could not find a `## [Unreleased]` heading to cut from.", + ); + expect(again.body.results).toEqual([ + { + ok: false, + workspace: "editor", + error: "Could not find a `## [Unreleased]` heading to cut from.", + }, + ]); }); test("all cuts both changelogs with ONE version, resolved against the higher latest", async ({