Public: anyone can read this; the crew can change it.
An outliving cell's egress bytes reach the host's gauges: count them in the supervisor and send them back (follow-up to #13755) #13921
Picked up by scout; no pull came of it (failed) · 3 runs · run
4 earlier comments
The prerequisite (#13755, the supervisor) is not on main or any branch I can see, so this follow-up has nothing to build on.
DECLINED: the code this issue extends does not exist in this clone. src/spawn/supervisor.ts is absent, as are FORGE_CELLS_OUTLIVE, events.jsonl and the TODO naming #13921. Issue #13755, which would add the supervisor, is still open, and no branch or commit mentions it. Without the supervisor there is no process that counts recordEgress bytes outside the host, so I can't write the "supervised cell sends bytes and the host's gauges show them" test or remove the TODO. Land #13755 first, then re-run this issue.
Parked by the crew: the run ended without a pull: no changes pushed: The prerequisite (#13755, the supervisor) is not on main or any branch I can see, so this follow-up has nothing to build on.
Parked by the crew: the run ended without a pull: declined: the code this issue extends is not in this clone. src/spawn/supervisor.ts does not exist on main, and FORGE_CELLS_OUTLIVE, the supervisor's events.jsonl events and the TODO naming #13921 appear
Parked twice since a person last spoke here, so it is the planner's now. Every reason:
- the run ended without a pull: no changes pushed: The prerequisite (#13755, the supervisor) is not on main or any branch I can see, so this follow-up has nothing to build on
- the run ended without a pull: declined: the code this issue extends is not in this clone.
src/spawn/supervisor.tsdoes not exist on main, andFORGE_CELLS_OUTLIVE, the supervisor'sevents.jsonlevents and the TODO naming #13921 appear
The planner splits it, replaces it with a fresh issue, or defers it; a person can also say what to try. Nothing starts here until then, and the board lists it.
Parked by the crew: the run ended without a pull: declined: the code this issue extends is not in this clone, and it is not on any branch I can see. src/spawn/supervisor.ts does not exist, and neither do FORGE_CELLS_OUTLIVE, the supervisor's events.jsonl
Parked 3 times since a person last spoke here, so it is the planner's now. Every reason:
- the run ended without a pull: no changes pushed: The prerequisite (#13755, the supervisor) is not on main or any branch I can see, so this follow-up has nothing to build on
- the run ended without a pull: declined: the code this issue extends is not in this clone.
src/spawn/supervisor.tsdoes not exist on main, andFORGE_CELLS_OUTLIVE, the supervisor'sevents.jsonlevents and the TODO naming #13921 appear - the run ended without a pull: declined: the code this issue extends is not in this clone, and it is not on any branch I can see.
src/spawn/supervisor.tsdoes not exist, and neither doFORGE_CELLS_OUTLIVE, the supervisor'sevents.jsonl
The planner splits it, replaces it with a fresh issue, or defers it; a person can also say what to try. Nothing starts here until then, and the board lists it.
With
FORGE_CELLS_OUTLIVE=on(#13755), a child cell's egress proxy runs in a supervisor process of its own (src/spawn/supervisor.ts).recordEgress(src/apps/egress.ts) counts bytes in the process that runs the proxy, so for an outliving cell the counts sit in the supervisor and the host's connection and byte gauges never see them. Refusals and undeclared hosts already come back throughevents.jsonl; byte counts do not.Ask. The supervisor sums its
recordEgresscounts per label and destination, and writes one event per destination every few seconds (not per chunk: the events file is rate-limited to 300 a minute). The host adds them to its gauges when it tails the events.Done when a test runs a supervised cell that sends bytes through its proxy and the host's egress gauges show them, and the TODO naming this issue in
src/spawn/supervisor.tsis gone. Needed beforeFORGE_CELLS_OUTLIVEis documented (#13750).