Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this solve?
Closes #121. Implements the slim PR requested in #121 (comment) and the more specific scope on #122:
build:frontend,dev:frontend, andapp:statusonly.How does it solve it?
buildand backenddevremain unchanged.app:statusreads existing system/status and health endpoints, checks state and matching PID, supports JSON and a bounded deadline, and returns nonzero on draining or invalid/unavailable health./proc, credentials, dotenv, socket, restart endpoint, Electron changes, or alternate authorization mechanism. It reports a backend snapshot, not checkout ownership or frontend readiness.Fresh branch from upstream main
1b1fcc79, not stacked on #122 or #127. No Justfile, Just dependency/CI, restart command, generated assets, lockfile drift or unrelated fixes.How did you verify it?
Linux, Node 26.9.0. Dependency directories reused from an installed checkout; source and generated build output isolated in a new worktree. Initial unadjusted baseline exposed Node 26 native webstorage interference and a hidden TMPDIR ancestor rejected by portable-bundle tests. Reran before implementation with
NODE_OPTIONS=--no-experimental-webstorageand a plain TMPDIR. No tests or source changed to accommodate these environment differences.Tests execute real npm against disposable recorders and real local HTTP fixtures. They cover GET-only/no credentials, draining, malformed status, PID mismatch, unhealthy response, HTTP errors, redirects, invalid JSON, oversized responses, timeout, rejected options and help. A read-only smoke also queried a running backend successfully; no live restart, renderer reload or deployment performed. Browser suite and native Windows execution were not run locally.
Checklist
npm testpassesnpm --prefix frontend testpasses (same two existing teardown errors as pristine main)