fix: resolve Deep Search runtime symlink #29

Open
tkmind wants to merge 0 commits from codex/fix-deep-search-runtime-realpath into main
Owner

Root cause

Node resolves the ESM bundle to its physical release path, while process.argv[1] retained the current symlink path. The standalone entry guard therefore evaluated false and the LaunchAgent exited successfully without starting the server.

Fix

  • resolve the runner directory with cd -P before invoking Node
  • add a regression test that launches through a current symlink and asserts the physical bundle path

Validation

  • symlink regression test passed
  • runtime packaging test passed
  • standalone runtime rebuilt successfully
## Root cause Node resolves the ESM bundle to its physical release path, while `process.argv[1]` retained the `current` symlink path. The standalone entry guard therefore evaluated false and the LaunchAgent exited successfully without starting the server. ## Fix - resolve the runner directory with `cd -P` before invoking Node - add a regression test that launches through a `current` symlink and asserts the physical bundle path ## Validation - symlink regression test passed - runtime packaging test passed - standalone runtime rebuilt successfully
tkmind added 1 commit 2026-07-24 02:39:59 +00:00
fix: resolve deep search runtime symlink
Memind CI / Test, build, and release guards (pull_request) Successful in 3m48s
Memind CI / Test, build, and release guards (push) Successful in 4m2s
3fd1db8c2f
Some checks are pending
Memind CI / Test, build, and release guards (pull_request) Successful in 3m48s
Memind CI / Test, build, and release guards (push) Successful in 4m2s
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin codex/fix-deep-search-runtime-realpath:codex/fix-deep-search-runtime-realpath
git checkout codex/fix-deep-search-runtime-realpath
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: tkmind/memind#29