8000 Retain bounded privacy-safe server lifecycle diagnostics by rore · Pull Request #29 · rore/minimap · GitHub
[go: up one dir, main page]

Skip to content

Retain bounded privacy-safe server lifecycle diagnostics - #29

Merged
rore merged 5 commits into
mainfrom
feat/server-lifecycle-logs
Sep 29, 2026
Merged

rore merged 5 commits into
mainfrom
feat/server-lifecycle-logs

Conversation

@rore
@rore rore commented Sep 29, 2026
Copy link
Copy Markdown
Owner

Scope

Retain bounded local lifecycle diagnostics under the resolved MINIMAP_HOME. Shared server entry records startup/started identity, graceful shutdown reasons, observed exit codes, and privacy-safe startup/cleanup/fatal evidence. Both packaged status commands show the local path and last eight events, including stale/stopped states; exit codes stay 0/1/3.

Uses native synchronous JSONL append, 128 KiB rotation threshold and one backup, 4 KiB event ceiling. No dependency, service, watchdog, request logging, raw stderr/error messages or environment dump. Fatal monitor remains observational; default nonzero exit and stderr are preserved. Missing final evidence remains unknown, not a diagnosed crash. Before-load/forced-kill and concurrent-rotation limitations are documented in both skills.

Both packaged runtimes are synchronized. Other installed copies/settings remain unchanged. Shared port4312 PID27592 has not been restarted; one coordinated activation follows exact-head review and green gates.

Verification

  • node --test test/server-lifecycle-log.test.js: 7/7 passing in isolated temporary homes/dynamic ports (5.49s).
  • Foreground start + detached restart; API/signal/pre-ACK IPC shutdown; fatal throw/rejection exit1; unchanged stderr; sentinel secret omitted while known code/runtime frame retained; rotation; I/O failure; stale/stopped status; unknown missing exit.
  • Source/runtime sync and git diff --check clean.
  • Full Node/UI/mirror CI required before delivery. No real project data edited.

Separate existing test-registry isolation issue remains queued, not folded into this change.

@rore
rore merged commit fc6df6a into main Sep 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet
4745

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0