fix(daemon): let macOS terminal shells download cloud-only files (STA-11929) (#33623)

This commit is contained in:
Jinwoo Hong
2026-10-25 16:57:58 -04:00
committed by GitHub
parent 220d56f4e4
commit 25262fc8e9
2 changed files with 3 additions and 0 deletions
@@ -218,6 +218,7 @@ it('launches the copied helper on plain Node and leaves no inherited credentials
Label: macDaemonJobLabel(state.root),
KeepAlive: false,
AssociatedBundleIdentifiers: ['com.stablyai.orca'],
MaterializeDatalessFiles: true,
EnvironmentVariables: { ORCA_TEST_SECRET: 'test-value' }
})
expect(JSON.stringify(job)).not.toContain('NODE_CHANNEL_FD')
+2
View File
@@ -76,6 +76,8 @@ function buildMacDaemonLaunchJob(
// Associate plist-launched jobs with Orca for Local Network access.
AssociatedBundleIdentifiers: [LOCAL_BUILD_COMPATIBILITY_CONTRACT.appId],
ProcessType: 'Interactive',
// launchd disables cloud-file downloads for jobs unless asked; shells need them like Terminal.app.
MaterializeDatalessFiles: true,
StandardOutPath: '/dev/null',
StandardErrorPath: '/dev/null'
}