Skip to content

Promote develop to main (v0.12.1: daemon cwd fix) - #131

Merged
its-janghoon merged 3 commits into
mainfrom
develop
Oct 21, 2026
Merged

its-janghoon merged 3 commits into
mainfrom
develop

Conversation

@its-janghoon

Copy link
Copy Markdown
Member

What's done

What's not done

  • Windows run.

What to review

  • Release of the daemon cwd fix so apps that spawn the engine (e.g. Canvas) can update on Windows.

Intentions

  • Code v0.12.1 (release workflow, bump patch).

its-janghoon and others added 3 commits October 20, 2026 19:17
The shared daemon was spawned with no cwd, so it inherited the caller's: an
app's install folder (e.g. Canvas's bin\), held open for the daemon's whole
life, which blocks that app's Windows update ("folder in use").

- daemon/connect.ts: spawn `serve --register` with cwd = home.
- sdk daemon.ts: spawn `service start` with cwd = home.
- serve --register: chdir to home at start (try/catch), covering older
  callers that still spawn it from an app folder.
- Windows installer: PrepareToInstall runs `{app}\redrob.exe service stop`
  (failure ignored) so a running daemon does not block overwriting redrob.exe.
fix: daemon no longer holds the caller's working directory
@its-janghoon
its-janghoon merged commit f8826b3 into main Oct 21, 2026
18 checks passed

This branch was successfully deployed

1 active deployment
release — 56d7f565 Deployed Oct 21, 2026 by its-janghoon via publish / Publish GitHub release #50
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.

1 participant