palmier 0.8.7 → 0.8.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -257,10 +257,8 @@ export class MacOsPlatform {
257
257
  fs.unlinkSync(taskPlistPath(taskId));
258
258
  }
259
259
  catch { /* ignore */ }
260
- try {
261
- fs.unlinkSync(taskLogPath(taskId));
262
- }
263
- catch { /* ignore */ }
260
+ // Keep the log file — parity with journald retention on Linux, and
261
+ // needed to debug the last fire of one-shot specific_times tasks.
264
262
  }
265
263
  async startTask(taskId) {
266
264
  await execAsync(`launchctl kickstart ${guiDomain()}/${taskLabel(taskId)}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "palmier",
3
- "version": "0.8.7",
3
+ "version": "0.8.8",
4
4
  "description": "Palmier host CLI - provisions, executes tasks, and serves NATS RPC",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Hongxu Cai",
@@ -280,7 +280,8 @@ export class MacOsPlatform implements PlatformService {
280
280
  const domain = guiDomain();
281
281
  runLaunchctl(["bootout", `${domain}/${taskLabel(taskId)}`], { ignoreFailure: true });
282
282
  try { fs.unlinkSync(taskPlistPath(taskId)); } catch { /* ignore */ }
283
- try { fs.unlinkSync(taskLogPath(taskId)); } catch { /* ignore */ }
283
+ // Keep the log file parity with journald retention on Linux, and
284
+ // needed to debug the last fire of one-shot specific_times tasks.
284
285
  }
285
286
 
286
287
  async startTask(taskId: string): Promise<void> {