Skip to content

Check Now and Update the Others reach members read through another (0.9.15) - #157

Open
jacques-pr wants to merge 1 commit into
mainfrom
claude/project-thread-ry1yys
Open

jacques-pr wants to merge 1 commit into
mainfrom
claude/project-thread-ry1yys

Conversation

@jacques-pr

Copy link
Copy Markdown
Collaborator

What was wrong

On jampc (Linux), Check Now told the Mac Studio to look for the 0.9.12 package but never reached the Mac mini, and Update the Others said "not reached from here" for the mini, although its CPU/GPU details showed fine in the sidebar.

The mini is read through the Studio (jampc doesn't reach it directly). Reads go through a relay, but telling a member to look or install is a POST /mesh/update, a relay passes on GETs only, and tell() used relay: false. Worse, once a member had failed directly twice, the route skipped direct addresses for a minute, so the POST was never even tried. For a look, the member was then shown with no word at all.

What changes

  • tell() tries the member's own addresses with the whole 8 s wait (new MeshFetch.data(direct: true)), then, if that fails, asks through another member as a read: GET /mesh/update?look=1 (or install=1) &from=<teller id>. Relays already allow /mesh/update, so old relays pass it on.
  • GET /mesh/update with look/install does what the POST does (UpdateStore.told).
  • Both answer without making the machine's own package: on a Mac that copies Tokenmeter.app and tars it, which could take longer than the teller waits.
  • A member reached neither way now says "not reached from here or through another machine" after Check Now, instead of nothing.
  • Version 0.9.15.

Note: the member being told has to run 0.9.15 to understand the relayed request, so the mini needs this update once by another way (install it on the mini itself).

Checks

  • swift build -c release (Linux): OK
  • scripts/test-linux.sh: 6117 checks passed
  • Linux/tests/mesh.sh with a new step: Check Now on cy, whose updates folder holds a later package for another system, tells ada, which cy reaches only through bo. Passes.
  • No Mac-only files changed.

Generated by Claude Code

….9.15)

A member this machine reaches only through another one (J's Mac mini, read
through the Mac Studio) was never told to look or to install: the request is a
POST, a relay passes on reads only, and tell() didn't try a relay at all, so
for a look it left the member without a word.

- tell() tries the member's own addresses with the whole wait even when it was
  lately read through another, then asks through another member as a read:
  GET /mesh/update?look=1 (or install=1) &from=<teller>.
- GET /mesh/update with look/install does what the POST does.
- Both answer how the machine stands without making its own package (a Mac
  copies Tokenmeter.app into it, which took longer than the teller waits).
- A member reached neither way says so for a look too.
- Linux/tests/mesh.sh: Check Now on cy tells ada, which cy reaches only
  through bo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EE8zW9hRsPtm3oUXh81oeY
Co-Authored-By: tokenmeter1 <358883051+tokenmeter1@users.noreply.github.com>
jacques-pr pushed a commit that referenced this pull request Dec 1, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EE8zWAHw1r9vF2poUMU2hD
Co-Authored-By: tokenmeter1 <358883051+tokenmeter1@users.noreply.github.com>
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