Repository navigation
fix(metadata-protocol): the storage-sync-refused notice names no door - #35432
Conversation
The object-storage-sync-refused advisory rides the save, publish, rollback and revert answers; its text no longer speaks of "this save" or tells every caller to publish again. The hint names the remedies that work from each door: a restart, or the next live write of the object. Claude-Session: https://claude.ai/code/session_01Utp6CbP6iSEGkWb5fn8yqd Co-authored-by: Claude <noreply@anthropic.com>
📓 Docs Drift Check1 anchor(s) derived from 1 changed package(s); no hand-written page names any of them, so this run has nothing to list — not a clean bill of health. This check sees only pages that NAME a derived anchor: one that documents this change in prose, or enumerates it in an authoring dialect, names none and stays invisible to it on every run. What this run could not see
Coarse fallback — 10 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): Which tree this was computed onThis run read A worktree cut from an older # while this PR is open — GitHub drops the merge commit once it closes
git fetch origin b3957af58f26caffc7e29b501339d979285c7421 && git checkout b3957af58f26caffc7e29b501339d979285c7421
# afterwards, rebuild it from the two parents, which stay fetchable
git fetch origin a9b36efffa133ee7a0467320faa3b4fd05a0c030 a171c69bee50976e165ee57d6ad16b622917312b && git checkout -B drift-repro a9b36efffa133ee7a0467320faa3b4fd05a0c030 && git merge --no-ff a171c69bee50976e165ee57d6ad16b622917312b
node scripts/docs-audit/affected-docs.mjs --json a9b36efffa133ee7a0467320faa3b4fd05a0c030 |
|
repo:objectstack#5 · os-bill · session_01Utp6CbP6iSEGkWb5fn8yqd 2026-11-19T09:27Z Final head for review: Area notes for the reviewer:
|
|
repo:objectstack#5 · os-bill · session_01Utp6CXsZsKmgG1EcKp5bY4 维护者速读
席位核对 — ACCEPT (L1-a) · repo:objectstack#5 · head
|
|
repo:objectstack#5 · os-bill · session_01Utp6CbP6iSEGkWb5fn8yqd 2026-11-19T09:28Z Landing PR #35432 (card #32958) at head
State: ready + auto-merge armed by area pkg-2. On MERGED the area closes #32958 and clears its labels. |
Requested by Bill · project thread
Fixes #32958
Clause-②: no
Metadata-protocol: none
维护者速读
席位核对
What changes
objectStorageSyncRefusedNotice(packages/metadata-protocol/src/protocol-registry-hydration.ts), that function only: message says "is registered and served" and "the columns this change added"; hint says to run the storage sync again: a restart, or the next live write of the object. Rule id, severity,where,pathand the driver-reason quoting rule are unchanged.protocol.revert-commit-honest-outcome.test.ts.Premise readings at origin/main 7ece020
saveMetaItempublish mode (protocol-save.ts),runPublishSideEffects(publishMetaItem,publishPackageDrafts),rollbackMetaItemUnauditedandrevertCommit(protocol-package-commits.ts). Callers that discard it: remote mutation apply (protocol-class-head.ts), batch object registration. The delete door (deleteMetaItem,protocol-diff-delete-load.ts) does not run the sync and does not raise this notice (it callsfillStoredExpressionChangewithoutstorageRefused), so the dispatch's "it also rides the delete door's answer" did not hold on this tree.protocol.publish-side-effects-canonical-type.test.tspins "publish the object again" on the separateconsole.errorline (left alone, outside the fence). Twoui/tests carry a hand-written copy of the old text as fixture data; they parse nothing from the server.ensureObjectStorageon every live write, and rollback and revert run it too; a restart syncs every registered object. So both named remedies work from every door that raises it. "Publish again" was true only by way of the save door, so it is no longer named.Tests
protocol.storage-sync-refused-notice-wording.test.ts: the notice names no save and no publish; CONTROL: it still names the object, the failure and both remedies.protocol.revert-commit-honest-outcome.test.ts: the revert door's advisory equals the builder's value, whole, and names no save or publish.scripts/ablation-replace.mjs, source import so no build): "this change added" back to "this save added" landed (anchor 1 to 0, blob 445e3e1a to 2753623b), 2 failed / 31 passed; restored to blob 445e3e1a,git diff HEADempty.Verification at a171c69
pnpm --filter @objectstack/metadata-protocol test: Test Files 359 passed, 9 skipped (368); Tests 23228 passed, 45 skipped. Lock VERDICT command-exit 0.pnpm --filter @objectstack/metadata-protocol typecheck(tsc --noEmit, includes src test files): exit 0.dispatch-gates --commands(68 commands): 66 exit 0 locally.check:dual-build-cjs-loadsexit 3, NOT MEASURED (needs the whole workspace built), left to CI.check:lean-entry-closureexit 3 before the closure build, exit 0 after it.check:test-source-aliaswas red on the new file and is green after the module-top lint import.overlap-check --branch=HEAD: VERDICT clean exit 0.Acceptance notes
console.errorline inensureObjectStoragestill says "was published" and "publish the object again". It is a server log line, not an answer, and a test pins it.🤖 Generated with Claude Code
https://claude.ai/code/session_01Utp6CbP6iSEGkWb5fn8yqd