Skip to content

feat: headless-host metrics and stress fleet#269

Draft
eugypalu wants to merge 5 commits into
headless-hostfrom
eugenio/headless-host-stress
Draft

feat: headless-host metrics and stress fleet#269
eugypalu wants to merge 5 commits into
headless-hostfrom
eugenio/headless-host-stress

Conversation

@eugypalu

@eugypalu eugypalu commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

The measurement layer for the headless host, plus a first stress fleet on top of it.
Both pieces live in truapi-host-cli; no core changes.

  • Per-operation metrics. Every frame the host serves emits one HostMetricRecord (category and op derived from the wire id, latency, outcome) to a JSONL sink. Recording is opt-in via METRICS_JSONL; unset, the recorder is a no-op and behaviour is unchanged. The outcome is decoded from the response frame, so a domain error counts as an error, not a clean dispatch.
  • Fleet runner, first slice. e2e/fleet.sh starts N virtual users on a ramp, each a pairing host on its own port running a flow script, paired against the signing-bot (POST /api/pair), which auto-provisions an attested user and signs per pairing. All VUs append to one shared JSONL, keyed by vuIndex.

@socket-security

socket-security Bot commented Jul 8, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedcargo/​chrono@​0.4.459910093100100

View full report

@eugypalu
eugypalu force-pushed the eugenio/headless-host-stress branch from c9d02de to 59e99a9 Compare July 17, 2026 11:04
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