From 2d9500975e68a42fef09bfc3dcd584a43a3e558f Mon Sep 17 00:00:00 2001 From: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> Date: Thu, 26 Nov 2026 23:50:05 +0800 Subject: [PATCH] Allow release replay of the chat recovery fixture Signed-off-by: LoopX Agent <337587101+loopx-agent@users.noreply.github.com> --- .github/workflows/release-artifacts.yml | 1 + docs/product/release-readiness.md | 12 +++++------- examples/release-artifacts-smoke.py | 1 + 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release-artifacts.yml b/.github/workflows/release-artifacts.yml index b7ce17a6f8..f40994c637 100644 --- a/.github/workflows/release-artifacts.yml +++ b/.github/workflows/release-artifacts.yml @@ -252,6 +252,7 @@ jobs: raise SystemExit("browser fixture correction must name a commit") allowed = { "examples/personal-workspace-browser/fixture.mjs", + "examples/personal-workspace-browser/chat-recovery.mjs", "examples/personal-workspace-browser/typed-actions.mjs", "examples/personal-workspace-browser/goal-work-map.mjs", "examples/personal-workspace-browser/goal-workspace-m2.mjs", diff --git a/docs/product/release-readiness.md b/docs/product/release-readiness.md index f1722703f6..7e44c3842f 100644 --- a/docs/product/release-readiness.md +++ b/docs/product/release-readiness.md @@ -408,13 +408,11 @@ App 与兼容状态后再替换。启动后读回版本、同一 Goal、原回 For a browser-fixture error discovered after an immutable tag was published, maintainers may dispatch the release workflow from reviewed tooling with `tag` set to that existing release and `browser_fixture_commit` set to a full, -merged commit SHA. Only the personal-workspace fixture, typed-actions, -goal-work-map, goal-workspace-m2, lark-cli-missing, pr-review-agent-order and -workspace-locale browser-smoke files are -extracted from that commit; -its other changes are not applied to the product checkout. All candidate files -must remain regular source files before any correction is copied; deletion or a -symlink fails closed without partially applying the fixture correction. +merged commit SHA. The workflow copies only the personal-workspace fixture, +chat-recovery, typed-actions, goal-work-map, goal-workspace-m2, lark-cli-missing, +pr-review-agent-order, and workspace-locale browser-smoke files from that commit. +The workflow checks that every candidate file remains a regular source file +before copying any correction. A deleted file or symlink rejects the entire correction. A non-default commit must contain at least one correction in these fixture owners. The wheel and sdist are built before those test corrections are applied; checksums are verified again after the browser and managed-runtime tests, and the fixtures are restored. An empty diff --git a/examples/release-artifacts-smoke.py b/examples/release-artifacts-smoke.py index 7ee1ce257b..b1286c949d 100644 --- a/examples/release-artifacts-smoke.py +++ b/examples/release-artifacts-smoke.py @@ -69,6 +69,7 @@ def workflow_run(workflow: str, step: str) -> str: def fixture_recovery_contract(workflow: str, identity: release_artifacts.ReleaseIdentity) -> None: paths = ( "examples/personal-workspace-browser/fixture.mjs", + "examples/personal-workspace-browser/chat-recovery.mjs", "examples/personal-workspace-browser/typed-actions.mjs", "examples/personal-workspace-browser/goal-work-map.mjs", "examples/personal-workspace-browser/goal-workspace-m2.mjs",