Skip to content

fix(test): materialize declaration fixture error dependencies - #193522

Merged
vincentkoc merged 1 commit into
mainfrom
fix/test-materialize-declaration-error-imports-20261105
Nov 5, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/test-materialize-declaration-error-imports-20261105

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes the declaration-build fixture failing before compilation because its private normalization package omits the new stringified-error.js dependency.

User Impact

Restores the existing declaration and cache-reuse tests. Production behavior and package contracts are unchanged.

Why This Change Was Made

Related: #193385.

The canonical error-coercion.ts reexports ./stringified-error.js. Include that real sibling in the fixture and emit stripped runtime files with the same .js extension. Keep the fixture's ESM package metadata, TypeScript source targets, private compiler copies and cleanup ownership.

The existing failing build case already covers this regression. No tests, compatibility aliases or production seams are added.

Evidence

  • Main CI Windows Node failure at 72088ef3eae80873ea6c8267ecda5c8f2b7aeee2: the build child cannot resolve normalization-core/stringified-error.js. The determining fixture and source are unchanged at base d2a166c6ac6399e8940718b8c30fb91615e1c281.
  • Qualified unchanged full-file replay under Node 24.22.1 reproduces the same missing module: 1 failed / 7 passed (8 cases), 9.78s.
  • Fresh independent source review: approved, no P0–P3 findings. Exact-version formatting, maintained staged content/freshness checks, normal signed-commit hooks and git diff --check: passed.
  • Scope: one shared test fixture; production delta 0; fixture lines 101→98; no new cases or CI invocation.
  • Full local ClawSweeper range review: no findings; patch correct (0.96 confidence), security cleared.
  • Candidate full owning file: 8/8 passed under Node 24.22.1 and pinned Bun 1.4.4 (40.78s / 35.16s).
  • Six existing shared-fixture consumer cases across build cache, resolution, artifact ownership and SDK declarations: 6/6 passed under each runtime (83.57s / 53.90s). The other 108 cases were intentionally unselected.
  • Canonical test-root-scripts type graph, targeted root-test Oxlint and git diff --check: passed.
  • Focused local proof is complete. Native admission will evaluate broad exact-head CI after readiness; draft rollup currently has no failures.

@vincentkoc vincentkoc self-assigned this Nov 5, 2026
@clawsweeper

clawsweeper Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review in progress

ClawSweeper is reviewing this revision. This supersedes any previous blocked status.

View the workflow run.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 5, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review November 5, 2026 14:43
@vincentkoc
vincentkoc enabled auto-merge (squash) November 5, 2026 14:45
@vincentkoc
vincentkoc merged commit fdb2f70 into main Nov 5, 2026
156 of 157 checks passed
@vincentkoc
vincentkoc deleted the fix/test-materialize-declaration-error-imports-20261105 branch November 5, 2026 14:51
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash auto-merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant