Skip to content

fix(update): mkdir install dir before writing binary (#97)#100

Merged
EnderOfWorlds007 merged 1 commit into
mainfrom
fix/update-mkdir
May 3, 2026
Merged

fix(update): mkdir install dir before writing binary (#97)#100
EnderOfWorlds007 merged 1 commit into
mainfrom
fix/update-mkdir

Conversation

@EnderOfWorlds007

Copy link
Copy Markdown
Collaborator

Closes #97.

dot update previously failed with ENOENT when the install dir didn't exist (CI runners that spawn the CLI directly without running install.sh). The fix is one mkdirSync(installDir, { recursive: true }) call before atomicInstall.

This unblocks the pr-install > dot update succeeds test in PRs #93, #95.

Test plan

  • tsc clean, format clean, all unit tests pass (445/445)
  • On main: pr-install cell goes green

@github-actions

github-actions Bot commented May 3, 2026

Copy link
Copy Markdown
Contributor

Dev build ready — try this branch:

curl -fsSL https://raw.githubusercontent.com/paritytech/playground-cli/main/install.sh | VERSION=dev/fix/update-mkdir bash

@github-actions

github-actions Bot commented May 3, 2026

Copy link
Copy Markdown
Contributor

E2E Test Pass · ✅ PASS

Tag: e2e-ci-pr · Branch: fix/update-mkdir · Commit: 9bca25c · Run logs

Cell Result Time
pr-deploy-foundry ✅ PASS 1m49s
pr-deploy-frontend ✅ PASS 6m56s
pr-init-session ✅ PASS 1m14s
pr-preflight ✅ PASS 1m56s
pr-install ✅ PASS 0m40s
pr-mod ✅ PASS 1m16s
${{ matrix.cell }} ⏭️ SKIP 0m00s
${{ matrix.cell }} ⏭️ SKIP 0m00s

Sentry traces: view spans for this run

@EnderOfWorlds007 EnderOfWorlds007 merged commit 68f6417 into main May 3, 2026
17 checks passed
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.

dot update fails with ENOENT when install dir missing (CI runners)

1 participant