Archilyzer · Source

archilyzer

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

commit 8c1539a745ce1906e92fcdc658ff8f57cd5c0a8a
parent 7891352f3027af2377e4478b1235b5f1a60db83d
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date:   Mon, 28 Sep 2026 02:20:06 -0400

sites: the Cut release form revalidates when the heading was written but the commit failed

The deferred half of release 10 review L3 (O3 item 4), after O4's merge:
cutReleaseForWorkspace returns written: true exactly then, and the pages
that render the changelog are stale all the same. The error sentence
already says the file changed.

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

Diffstat:
Meditor/app/sites/lib/cutReleaseAction.ts | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/editor/app/sites/lib/cutReleaseAction.ts b/editor/app/sites/lib/cutReleaseAction.ts @@ -38,7 +38,13 @@ export async function cutReleaseAction( version, commit: shouldCommit, }); - if (!result.ok) return { ok: false, error: result.error }; + if (!result.ok) { + // The heading was written and only the commit after it failed (release 11 + // slice O3, release 10 review L3): the pages that render this changelog + // are stale all the same. The error already says the file changed. + if (result.written) revalidateAfterReleaseCut(); + return { ok: false, error: result.error }; + } revalidateAfterReleaseCut(); return { ok: true, version: result.version, committed: result.committed }; }