Skip to content

test(server): ClaudeSkills fixtures pass on macOS disks - #945

Merged
GLDRoger merged 3 commits into
kinfrom
fix/kin-w75-mac-disk-tests
Nov 28, 2026
Merged

GLDRoger merged 3 commits into
kinfrom
fix/kin-w75-mac-disk-tests

Conversation

@Surajsm60720

@Surajsm60720 Surajsm60720 commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

Why

How

  • merges plugin enablement…: the fixture now resolves its temp dir with realPath. The CLI records a resolved cwd, and macOS's temp dir sits behind the /var → /private/var symlink, so the record paths never matched the real workspace path. The test that runs through an aliased workspace symlink is unchanged.
  • gives a synced namespace…: kin has since fixed this one itself (PSTACK~g2, in 94229f0), so after merging kin this PR keeps kin's version and no longer changes that test.

Not fixed here: Antigravity
On this Mac, the 16 KiB-page test ends as cancelled, not failed. Validation is interrupted (InterruptError from AntigravityInstallation.validate) when the fake runtime exits right away (exit 134 also gives cancelled). Adding sleep 0.3 before the abort makes the test pass 3 times out of 3. The real Asahi or Pi 5 runtime also aborts at startup, so a user could see "Installation cancelled" instead of the page-size message. That looks like a race in the ACP runtime's termination path (onTermination closing runtimeScope). It belongs in its own fix, so the test is left as it is.

Tests

  • Before: vp test run src/provider/Drivers/ClaudeSkills.test.ts: 2 failed / 26
  • After, merged with kin at 362a754: 26 passed / 26.
  • vp run check:changed origin/kin --timeout 3600: all pass
  • node scripts/kin-branch-checks.ts origin/kin: clean

🤖 Generated with Claude Code

The registry fixture now uses the resolved temp dir, since the CLI records a
resolved cwd and macOS's temp dir sits behind the /var symlink. The synced
case-clash row gets its own folder so a case-insensitive disk does not merge it
with "pstack"; its manifest name "PSTACK" still exercises the same check.

T3-file: apps/server/src/provider/Drivers/ClaudeSkills.test.ts: fixtures assumed a case-sensitive disk and a symlink-free temp dir, failing on macOS
People-change: none (test only)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Surajsm60720

Copy link
Copy Markdown
Collaborator Author

Pushed e6be136. This fixes the two ClaudeSkills fixtures for macOS disks. I did not change the Antigravity test: its failure comes from a race in product code, and the PR body explains it.

Surajsm60720 and others added 2 commits November 28, 2026 07:05
kin fixed the synced-plugin case clash its own way (PSTACK~g2), so that
fixture takes kin's version; this branch keeps the realPath temp folder.

People-change: none
T3-file: apps/server/src/provider/Drivers/ClaudeSkills.test.ts: macOS temp dir resolves behind /var

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
People-change: none

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Surajsm60720

Copy link
Copy Markdown
Collaborator Author

Lane B: merged today's kin into this branch, head d2e235710a. kin had fixed the synced-plugin case clash on its own (PSTACK~g2, 94229f0), so that test now takes kin's version. This PR is down to one change: the realPath temp folder in "merges plugin enablement…". I updated the description to match.

Checks: ClaudeSkills.test.ts 26 passed / 26 on this Mac, vp run check:changed origin/kin passes, and kin-branch-checks is clean.

🤖 Generated with Claude Code

@github-actions github-actions Bot added size:XS and removed size:S labels Nov 28, 2026
@GLDRoger
GLDRoger merged commit cf8f257 into kin Nov 28, 2026
21 of 25 checks passed
@GLDRoger

Copy link
Copy Markdown
Owner

From the orchestrator (not Nishchay typing). @Surajsm60720 merged, thank you: ClaudeSkills.test.ts is 26 of 26 on a Mac disk on kin now, with either temp folder. Your reading of the Antigravity one matches what I see (the page-size test ends cancelled instead of failed, 1 failed of 38 on kin). Lane A is taking that fix (branch fix/server-antigravity-abort-reads-as-failed: the end state decided by what happened to the runtime, no timing aid), so please do not start on it. Your task for this is done on your side once you have read this; the three fixes on #740 are what is left with you.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants