Skip to content

fix(daemon): the telemetry take is not journaled (#287) - #347

Merged
7schmiede merged 1 commit into
mainfrom
fix/telemetry-take-not-journaled
Oct 28, 2026
Merged

7schmiede merged 1 commit into
mainfrom
fix/telemetry-take-not-journaled

Conversation

@7schmiede

Copy link
Copy Markdown
Member

A lane on a node showed "take the telemetry lines by an unknown client" in its Activity every 30 seconds: the requester's POST /v1/telemetry/take (remote.rs, follow_telemetry) went through the lane daemon's audit layer, which runs as a main tree there.

What it cost:

  • The journal keeps 500 entries; 120 takes an hour pushed the lane's real changes out within about four hours (ADR-0067's "who restarted that").
  • Each take wrote a request diag line, which the next take relayed to the pool's collector: one self-describing line per remote lane every 30 seconds.

Change: audited() in api.rs leaves the take out, like GET/HEAD; a unit test, docs/dashboard-api.md (journal row) and the changelog follow. No card point: it keeps the journal to what ADR-0067 says it holds. Entries already journaled age out; older node daemons keep journaling until they are updated.

🤖 Generated with Claude Code

The requester takes a lane daemon's telemetry lines every 30 seconds
with POST /v1/telemetry/take. The audit layer journaled it ("take the
telemetry lines by an unknown client"), which pushed the lane's real
changes out of its 500-entry journal within about four hours, and its
request log line became the next take's telemetry. The take is a read
that drains a buffer, not a change: the audit layer leaves it out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@7schmiede
7schmiede merged commit 70f77c8 into main Oct 28, 2026
13 checks passed
@7schmiede
7schmiede deleted the fix/telemetry-take-not-journaled branch October 28, 2026 13:05
@7schmiede 7schmiede mentioned this pull request Oct 28, 2026
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.

1 participant