fix: start deep search launchagent reliably
Memind CI / Test, build, and release guards (pull_request) Successful in 4m7s

This commit is contained in:
john
2026-07-24 10:26:16 +08:00
parent 25c09f1e8f
commit 22a45f34f5
3 changed files with 12 additions and 4 deletions
@@ -19,6 +19,8 @@ test('Deep Search production runtime is isolated from Portal releases', () => {
const installer = read('scripts/install-deep-search-runtime-prod.sh');
assert.match(installer, /cn\.tkmind\.memind-deep-search/);
assert.match(installer, /<string>\/bin\/bash<\/string>/);
assert.match(installer, /<key>WorkingDirectory<\/key><string>\$\{RUNTIME_BASE\}<\/string>/);
assert.match(installer, /chmod 600/);
assert.match(installer, /openssl rand -hex 32/);
@@ -27,5 +29,6 @@ test('Deep Search production runtime is isolated from Portal releases', () => {
assert.match(release, /CONFIRMED_CI_SHA/);
assert.match(release, /shasum -a 256/);
assert.match(release, /rollback/);
assert.match(release, /launchctl bootout.*label/);
assert.doesNotMatch(release, /release-portal-runtime-prod/);
});