You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mesh: degraded remote steps (503 at runtime, not a boot failure) #96
Replaces #56 (expects). Mesh exports steps only, and a step that cannot run answers 503 whether it is local or remote.
Owner decision (2026-11-24):
A remote step whose teapot is away is degraded: not executed, the request gets 503 + retry-after, no retry loop per request. It fails at runtime, not at boot.
The link keeps reconnecting in the background; on reconnect the step serves again.
A teapot absent at boot sent no manifest, so nobody knows which tokens it exports. When a local @needs token has no producer and at least one teapot is absent, register a degraded placeholder instead of failing the boot, and log a warn naming the token, the absent teapots and the did-you-mean hint, so developers see it.
With every teapot connected, an unknown token still fails the boot (typos stay boot errors).
One log line per state change, not per request; a mesh:* event the metrics plugin can count.
Open: placeholder is request-scope; if the arriving manifest says app-scope, adopting it changes the node kind at runtime.
Out of scope: app.degraded() / /health integration (hardening, after this batch).
Scope: @experimental exports, MeshConfig, mesh:* events and the /__mesh__ prefix only (D19).
Where: jarvis, docker run --cpuset-cpus 6,7,14,15 --user 1000:1000 node:22 (sha256:7c400d78…), Deno 2.9.8 and Bun 1.4.4 in the same image. Harness bench/compare.ts with the new mesh rpc (1 remote step) case; 100 connections.
Request path: every case within noise on all three runtimes. The week did not touch it.
Mesh RPC, whole week: Node −4.3%, Deno −6.3%, Bun −2.7% (separated; Node A/A −1.2%). Fixed in perf(mesh): win back the mesh RPC throughput #97 cost #116; after it, vs the same base: Node +0.6%, Deno −1.4%, Bun −0.6% (all overlapping).
Activity
chrnx-dev commentedon Nov 30, 2026
Regression benchmark (2026-11-30)
docker run --cpuset-cpus 6,7,14,15 --user 1000:1000 node:22(sha256:7c400d78…), Deno 2.9.8 and Bun 1.4.4 in the same image. Harnessbench/compare.tswith the newmesh rpc (1 remote step)case; 100 connections.46e0bc9(develop before the week) vs20f5094(after feat(mesh): connect teapots in parallel at boot #112–feat(mesh): cap concurrent RPCs per peer on the teapot #115). Full suite Node 3 × 10 s, Deno and Bun 3 × 5 s; then a bisect per merge, mesh only, Node 5 × 10 s.Full method, tables and bisect: https://github.com/Expressive-Tea/green-tea/blob/develop/bench/results/mesh-week1-46e0bc9-20f5094/README.md