Skip to main content
← Back to list
01Issue
BugClosedSwamp CLIPublic
Assigneesstack72

Relationships

≡ duplicated by #2715

#2718 tests: extension_member_precedence_test fails on macOS (/var vs /private/var temp path)

Opened by stack72 · 9/29/2026

Found while verifying swamp-club#2674.

Since f6b0d386 (swamp-club#2490), 4 tests in integration/extension_member_precedence_test.ts fail on macOS, on main and in verify-build:

  • loadSingleType: the smaller local path wins whatever the catalog order (3 variants)
  • attachPendingExtensionsForType: a local extension that arrives after the pulled one replaces it

The collision winner comes back as /private/var/folders/.../extensions/models/aa_ext.ts but the fixture expects /var/folders/.../aa_ext.ts. On macOS Deno.makeTempDir returns a path under the /var symlink, and the loader now resolves source paths to their real path, so the two never compare equal. Linux CI is unaffected because /tmp is not a symlink.

This fails verify-build for every macOS verification run, blocking attestations.

Fix: resolve the fixture's temp dir once, e.g. const repoDir = await Deno.realPath(await Deno.makeTempDir({ prefix: ... })) at integration/extension_member_precedence_test.ts:94.

02Bog Flow
✓OPEN✓TRIAGED○IN PROGRESS◉CLOSED+ 1 MOREASSIGNEDCLASSIFICATION

Closed

9/29/2026, 7:04:45 PM

No activity in this phase yet.

03Sludge Pulse
stack72 assigned stack729/29/2026, 6:52:26 PM
stack72 linked duplicated by #27159/29/2026, 6:48:38 PM
Editable. Press Enter to edit.

stack72 commented 9/29/2026, 7:04:44 PM

Fixed in swamp-club/swamp#2709 (95b9265d).

Sign in to post a ripple.