Skip to content

feat(logs): default log dir to /tmp/numux/<project>#91

Merged
hyldmo merged 1 commit intomainfrom
hyldmo/tmp-log-defaults
Mar 22, 2026
Merged

feat(logs): default log dir to /tmp/numux/<project>#91
hyldmo merged 1 commit intomainfrom
hyldmo/tmp-log-defaults

Conversation

@hyldmo
Copy link
Copy Markdown
Owner

@hyldmo hyldmo commented Mar 22, 2026

Summary

  • Logs now default to /tmp/numux/<project-name>/ instead of ephemeral PID-based temp dirs
  • Project name derived from package.json name field (scope-stripped), falling back to directory basename
  • Logs persist across app restarts but are cleaned up on system reboot

Test plan

  • Unit tests for resolveProjectName (pkg name, scoped name, missing/empty/invalid package.json, dir fallback)
  • Unit test for defaultLogDir path structure
  • Typecheck passes
  • All 599 existing tests pass

🤖 Generated with Claude Code

Instead of creating ephemeral temp dirs that are deleted on exit,
logs now persist in /tmp/numux/<name>/ by default. Project name is
derived from package.json name (scope-stripped) or directory basename.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@hyldmo hyldmo merged commit fd9d91a into main Mar 22, 2026
2 checks passed
@hyldmo hyldmo deleted the hyldmo/tmp-log-defaults branch March 22, 2026 19:17
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 2.8.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant