From 5ceca75176a7dd17ec0aa29059f2f9cf1c4066b7 Mon Sep 17 00:00:00 2001 From: ranxianglei Date: Tue, 13 Oct 2026 19:29:36 +0800 Subject: [PATCH] test: regen storage-render goldens for the #3023 cache-ledger client-insert attribution #3023 (20c42582) added client-insert attribution to session.metadata.cacheLedger (inbound-view fingerprints, bucket fields) but shipped without regenerating the storage-render goldens: the metadata section digest drifted on all four wires while state/blockContents/stats stayed identical. Its PR CI was red on the test legs and was merged anyway, and master-push CI skips the test lane entirely (38389227456: test=skipped, static-gates=skipped), so master has silently failed tests/golden-storage-render.test.ts since 2026-10-13 18:55 (+0800). Drift verified metadata-only by bisect (a1dba977 green -> 20c42582 red) and by raw metadata diff (timestamps/uuids aside, only cacheLedger changed; canonicalize already normalizes volatile values). Regen diff: 8 digest lines, 4 files. storage-corpus pins untouched (they pin legacy-format parsing, not live render). Also un-blocks PR #3030, whose CI failure is entirely this inherited master breakage, not its own diff (verified: #3030 head alone is green locally). --- tests/golden/storage-render/anthropic.json | 4 ++-- tests/golden/storage-render/chat.json | 4 ++-- tests/golden/storage-render/google.json | 4 ++-- tests/golden/storage-render/responses.json | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/golden/storage-render/anthropic.json b/tests/golden/storage-render/anthropic.json index e1f0e8b14f..2ce8b40947 100644 --- a/tests/golden/storage-render/anthropic.json +++ b/tests/golden/storage-render/anthropic.json @@ -80,12 +80,12 @@ "foldAt": 9, "editedAt": 12, "summaryFrom": 9, - "stateDigest": "eb6c69fb93598aeebe0d0e3db9f8d27ff5394431a2647585302a14305da392e7", + "stateDigest": "e47a82482ed9d3fc1201562c2c539f5432873acb264862e055c5569396040aac", "sectionDigests": { "state": "285aa622a037321b", "blockContents": "b3a9c59b22ec1a3a", "stats": "4271a6483e02458a", - "metadata": "91e1dc401ea4af6c" + "metadata": "f582165dae264d64" }, "stateKeyDigests": { "blocks": "8a3021f39f1f2eb8", diff --git a/tests/golden/storage-render/chat.json b/tests/golden/storage-render/chat.json index 9b7e5763b0..759da3f0ca 100644 --- a/tests/golden/storage-render/chat.json +++ b/tests/golden/storage-render/chat.json @@ -80,12 +80,12 @@ "foldAt": 9, "editedAt": 12, "summaryFrom": 9, - "stateDigest": "d56dfe9eb890f9768ef1ad962f9d3667109e13cd4705929f8d6c711b53d46116", + "stateDigest": "3a6d4239e182ebb6fe02a99faf40324a963d5f74f9bb0be0b1752f47bee65497", "sectionDigests": { "state": "6e905e4ae1e678b8", "blockContents": "dd2de296a5bc6160", "stats": "ed7d3e3f253e0942", - "metadata": "201a63bff674729d" + "metadata": "1f78ed1b58e4a77e" }, "stateKeyDigests": { "blocks": "bdde93b0e100e13e", diff --git a/tests/golden/storage-render/google.json b/tests/golden/storage-render/google.json index 96ada4cfdc..86f9ef858d 100644 --- a/tests/golden/storage-render/google.json +++ b/tests/golden/storage-render/google.json @@ -80,12 +80,12 @@ "foldAt": 9, "editedAt": 12, "summaryFrom": 9, - "stateDigest": "e4ef707b7d0bbec43a2e87090cc30f19b96331f577a5790c8ec05b1865e3b02f", + "stateDigest": "91d1cdd51aed493c3f1c1e4857e4a768cd43be23cc69647ca3f2376f4270e74a", "sectionDigests": { "state": "0725cfe81690b748", "blockContents": "4cc83a808a659f28", "stats": "096da9a1f61d84d0", - "metadata": "f4a1fae6aca16c5e" + "metadata": "a615198f56928645" }, "stateKeyDigests": { "blocks": "9adb53303cd4b786", diff --git a/tests/golden/storage-render/responses.json b/tests/golden/storage-render/responses.json index 3fb41555a6..3a81a2ecbe 100644 --- a/tests/golden/storage-render/responses.json +++ b/tests/golden/storage-render/responses.json @@ -80,12 +80,12 @@ "foldAt": 9, "editedAt": 12, "summaryFrom": 9, - "stateDigest": "232060947a76e89c173975e096cd1a25c422bfba1ee9240482bd038c28ceff4a", + "stateDigest": "bbb968638e19d82d097871d73240d0dbabdbd3978fb7b6e140960c232e1de1bb", "sectionDigests": { "state": "7194736468931151", "blockContents": "1727e2e1faf79b55", "stats": "062b6eaaeb325945", - "metadata": "d6752c4aac92209c" + "metadata": "cd0990da20e0f33c" }, "stateKeyDigests": { "blocks": "0458e9c8a7bb1a99",