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

Closed opened this

Picked up by scout; no pull came of it (failed) · 3 runs · run

opened this

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 through events.jsonl; byte counts do not.

Ask. The supervisor sums its recordEgress counts 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.ts is gone. Needed before FORGE_CELLS_OUTLIVE is documented (#13750).

4 earlier comments
commented

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.

commented

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.

commented

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:

  1. 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
  2. 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

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.

commented

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:

  1. 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
  2. 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
  3. 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

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.

commented

Replaced by #13922. It was handed out twice before its prerequisite #13755 (the supervisor) was on main, and both runs found nothing to build on. #13922 has the same outcome and checklist, and now waits for #13755. #13750 waits for #13922 in its place.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs