From a9f10b5dec3b218ce8d063916492209d49f00a87 Mon Sep 17 00:00:00 2001 From: Jinwoo-H Date: Tue, 11 Aug 2026 11:23:06 -0400 Subject: [PATCH] test(skills): expose WSL semantics failure --- ...ll-wsl-posix-semantics.integration.test.ts | 31 +++++++++---------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/src/main/skills/skill-wsl-posix-semantics.integration.test.ts b/src/main/skills/skill-wsl-posix-semantics.integration.test.ts index 16db8d49caa..00606dc981c 100644 --- a/src/main/skills/skill-wsl-posix-semantics.integration.test.ts +++ b/src/main/skills/skill-wsl-posix-semantics.integration.test.ts @@ -102,22 +102,21 @@ describe.runIf(RUN_REAL_WSL)('real WSL POSIX skill semantics', () => { const homeDirectory = uncPath(`${guestRoot}/home`) const filesystem = createWslSkillInstallFilesystem({ distro: DISTRO, homeDirectory }) - await expect( - installSharedSkill({ - operationId: 'wsl-posix-semantics', - archivePath, - scope: 'global', - homeDirectory, - orcaStateDirectory: join(localRoot, 'state'), - detectedProviders: [], - destinationIdentity: 'global:wsl-posix', - hostIdentity: 'windows-2', - expectedArchiveSha256: archive.archiveSha256, - expectedPackageDigest: manifest.packageDigest, - filesystem, - wslDistro: DISTRO - }) - ).resolves.toMatchObject({ status: 'installed' }) + const result = await installSharedSkill({ + operationId: 'wsl-posix-semantics', + archivePath, + scope: 'global', + homeDirectory, + orcaStateDirectory: join(localRoot, 'state'), + detectedProviders: [], + destinationIdentity: 'global:wsl-posix', + hostIdentity: 'windows-2', + expectedArchiveSha256: archive.archiveSha256, + expectedPackageDigest: manifest.packageDigest, + filesystem, + wslDistro: DISTRO + }) + expect(result.status, JSON.stringify(result)).toBe('installed') const skill = `${guestRoot}/home/.agents/skills/wsl-mode-skill` await expect(runWsl('stat', '-c', '%a', `${skill}/SKILL.md`)).resolves.toBe('600')