Skip to content

Trim remaining shape-only tests (CL-7475) - #711

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-7475-trim-shape-tests
Sep 15, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
cl-7475-trim-shape-tests

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

What: delete the shape-only tests CL-7475 names that still remain on main; the tool-package shapes already landed via PR 666 (commit 251d76e, orphaned by the re-pin rewrite but its deletions are present in this base).

Why: Sawyer ruling 2026-09-06 — test only logic that is ours and not obviously correct; these cases re-state literals instead of proving behavior.

Deletion proof (87 deletions, 0 additions across 3 files):

  • scripts/e2e/harness.test.ts: dropped workflowDeployBody not.toHaveProperty(sources/defaultSource); the toEqual directly above already pins the exact body.
  • workflows/assistant/test/definition.test.ts: dropped CL-6179 prompt sentence-order string-match and the tautological toEqual(ASSISTANT_TOOL_PACKAGE_PINS); pin versions remain covered by check:tool-package-pins. Kept the manus-pin + empty-credentialBindings deployment contract.
  • packages/sandbox-sidecar/src/provisioner.test.ts: dropped negative/non-integer ensure + negative destroy generation cases; the guard (Number.isInteger / < 0 in provisioner.ts) restates itself. Kept gen-0 acceptance, later-generation acceptance, stale-generation fencing, destroy gen-0.

Verification: workflows/assistant 12 pass, sandbox-sidecar 23 pass, catalog-tools+access-tools 36 pass, harness.test.ts 10 pass; typecheck exit 0; eslint + prettier clean on touched files; check:structural ok. Full bun run check stops at a pre-existing prettier warning in VENDORED.md (touched by base commit 5281117, not this diff) — left untouched, parent call.

Fixes CL-7475

@linear-code

linear-code Bot commented Sep 15, 2026

Copy link
Copy Markdown

CL-7475

@TheGreatAxios
TheGreatAxios force-pushed the cl-7475-trim-shape-tests branch from 33629a1 to 91edd58 Compare September 15, 2026 16:17
Drop assertions that re-state literals instead of proving behavior:
harness workflowDeployBody key absence (toEqual already pins the body),
assistant prompt sentence order + tautological pin echo (pins check owns
versions), provisioner negative/non-integer generations (guard restates
itself). Tool-package shapes already trimmed under PR 666.
@TheGreatAxios
TheGreatAxios force-pushed the cl-7475-trim-shape-tests branch from 91edd58 to e40c430 Compare September 15, 2026 16:34
@TheGreatAxios
TheGreatAxios merged commit 0ed6fdd into main Sep 15, 2026
24 checks passed
@TheGreatAxios
TheGreatAxios deleted the cl-7475-trim-shape-tests branch September 15, 2026 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant