Skip to content

Release 0.3.14: a missing cookie after a reboot is waiting for the node - #75

Merged
MarkSierra merged 1 commit into
mainfrom
claude/bold-planck-14e4f1
Nov 10, 2026
Merged

MarkSierra merged 1 commit into
mainfrom
claude/bold-planck-14e4f1

Conversation

@MarkSierra

@MarkSierra MarkSierra commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

Right after a reboot the node has not written its RPC cookie file yet. Until now the app showed that as a red "Authentication problem" until its 30 s retry connected. This was the "maybe later" idea in CLAUDE.md; the maintainer asked for it now.

Change

  • node/rpc.py: a cookie file that does not exist raises CookieMissing (a NodeError). Every other read error stays a NodeAuthError, and a cookie the node refuses (401) stays one too.
  • scanner.py: CookieMissing sets the waiting_node phase with "Waiting for the node to write its RPC cookie file ()" and checks again every 10 s. The path is in the text, so a wrong rpc_cookie_file is visible. On StartOS the Scan Progress check shows "Waiting for Bitcoin" (loading) instead of a failure.
  • diagnostics.py: the connection test reports a warning ("may still be starting … check rpc_cookie_file") instead of a failure.
  • New texts in all five languages.

Tests

Written first. CookieNotWrittenYet: the missing-cookie and connection-test cases failed against the old behaviour; the refused-cookie case passed before and after and guards the red state. Full suite: 254 tests pass locally.

UI check: the new status text in all five languages at 360, 390, 768, 1024, 1440 and 1920 px (status forced to this state on the demo server): no overflow, translated everywhere, the full text in the tooltip. Screenshots sent to the maintainer.

Release

Version 0.3.14, changelog dated, CLAUDE.md state (StartOS 0.3.14:0 replaces the never-submitted 0.3.13:0) and the release-notes rule updated to Start9's current format (bold section headers).

Right after a reboot the node has not written its RPC cookie file yet. The app
showed that as a red "Authentication problem" until the 30 s retry connected.

- rpc: a cookie file that does not exist raises CookieMissing; other read
  errors stay authentication errors, and a refused cookie stays one too.
- scanner: CookieMissing shows "Waiting for the node to write its RPC cookie
  file (<path>)" in the waiting_node phase and checks again every 10 s.
- connection test: a warning that the node may still be starting.
- New texts in all five languages; version 0.3.14; changelog; CLAUDE.md state
  and Start9's current release-notes format.

Tests written first: the missing-cookie and connection-test cases failed
against the old behaviour; the refused-cookie case guards the red state.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MarkSierra
MarkSierra merged commit 121eb85 into main Nov 10, 2026
15 checks passed
@MarkSierra
MarkSierra deleted the claude/bold-planck-14e4f1 branch November 10, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants