fix: complete state-contract naming cleanup

This commit is contained in:
2026-10-10 17:48:59 +09:00
parent 3263d50125
commit 6a12b6cc34
109 changed files with 3696 additions and 576 deletions
+2 -2
View File
@@ -197,12 +197,12 @@ Deno.test("config source API rejects mismatched entry map paths", async () => {
);
});
Deno.test("config source API rejects removed snapshot revision fields and oversized entry content", () => {
Deno.test("config source API rejects unknown snapshot fields and oversized entry content", () => {
assertThrows(
() =>
parseWorkspaceConfigTreeResponse({
...tree,
snapshot: { ...snapshot, revision: 7 },
snapshot: { ...snapshot, unexpected_field: true },
}),
ConfigSourceApiError,
"invalid response",
@@ -169,7 +169,6 @@ Deno.test("generated WASM diagnostics carry snapshot provenance", () => {
}>;
assertEquals(diagnostics[0].path, "workspace.dcdl");
assertEquals(diagnostics[0].tree_digest, fixtureSnapshot(snapshot).digest);
assertEquals("revision" in diagnostics[0], false);
assertEquals(diagnostics[0].kind, "syntax");
});
@@ -938,7 +937,6 @@ Deno.test("generated WASM returns to the same content digest and enforces entry
content: "{ broken = ; }",
}]) as ConfigTreeSnapshot;
assertEquals(changed.digest === base.digest, false);
assertEquals("revision" in changed, false);
const diagnostics = analyze_snapshot(changed, "main.dcdl", undefined) as Array<{ tree_digest: string }>;
assertEquals(diagnostics.length > 0, true);
assertEquals(diagnostics.every((diagnostic) => diagnostic.tree_digest === changed.digest), true);
@@ -74,7 +74,7 @@ Deno.test("Repository Access distinguishes permission, conflict, field, and miss
repositoryAccessRequestError(409, "rotate the key").message.includes(
"Reload",
),
"409 should explain revision recovery",
"409 should explain conflict recovery",
);
assert(
repositoryAccessRequestError(422, "rotate the key").message.includes(
+1 -1
View File
@@ -43,7 +43,7 @@ capture error is expected. To repeat dark captures, use a scenario copy with
## Implementer-owned visual review
- Baseline revision: `e939cd4e4b1f6b63b81411fd7766062f2d69ad0d`.
- Baseline commit: `e939cd4e4b1f6b63b81411fd7766062f2d69ad0d`.
- Before: `.svelte-kit/t717/visual/before-final-light` and `before-dark`.
These use an isolated build under `.svelte-kit/t717/baseline-source`, with the
changed production form, catalog API, model, and CSS restored from baseline