plans: a flow is published to a browser that drops it, and the console has no word for a connection #2339

Merged
jaylouisw merged 1 commit from plan/1121-0037 into main 2026-11-21 01:08:22 +00:00
Owner

Forward plan only, no code.

openFlow() produces a real conversation (measured: 4000 bytes, established, 3 segments, 9 packets) and fullState() already publishes every record through describeFlow() (server/index.js:275-283, :414-415). Nothing reads it:

  • grep -n "\.flows" web/app.js returns nothing — the browser paints flow events (:2762-2769) and no table.
  • show tcp / show tcp brief / show tcp statistics / show sessions all answer % Invalid show command; SHOW_VIEW_WORDS (engine/cli.js:203-217) has no tcp entry, and a comment at server/index.js:414 claims a show flows command that does not exist.
  • a refused flow is deleted (engine/simulator.js:4304, :4333), so flowsRefused and the flow-refused event are the only trace.
  • rec.stalled (:4379) is read by nothing and cannot be set: every segment of one flow shares one tuple and one path inside one call.

The plan orders six steps: vendor research for show tcp brief; the console view; a Flows panel over the state already on the wire; a way to open one from the UI (labelled needs Jay approval); a refusal footer; and the docs plus the stale comment, including deleting stalled.

Measured on e2ac102e, 2026-11-21. Closes no open issue — the queue is #2336-#2338 (PRs open), #130 and #803.

Forward plan only, no code. `openFlow()` produces a real conversation (measured: 4000 bytes, `established`, 3 segments, 9 packets) and `fullState()` already publishes every record through `describeFlow()` (`server/index.js:275-283`, `:414-415`). Nothing reads it: - `grep -n "\.flows" web/app.js` returns nothing — the browser paints flow *events* (`:2762-2769`) and no table. - `show tcp` / `show tcp brief` / `show tcp statistics` / `show sessions` all answer `% Invalid show command`; `SHOW_VIEW_WORDS` (`engine/cli.js:203-217`) has no `tcp` entry, and a comment at `server/index.js:414` claims a `show flows` command that does not exist. - a refused flow is deleted (`engine/simulator.js:4304`, `:4333`), so `flowsRefused` and the `flow-refused` event are the only trace. - `rec.stalled` (`:4379`) is read by nothing and cannot be set: every segment of one flow shares one tuple and one path inside one call. The plan orders six steps: vendor research for `show tcp brief`; the console view; a Flows panel over the state already on the wire; a way to open one from the UI (labelled needs Jay approval); a refusal footer; and the docs plus the stale comment, including deleting `stalled`. Measured on `e2ac102e`, 2026-11-21. Closes no open issue — the queue is #2336-#2338 (PRs open), #130 and #803.
plans: a conversation is published to a reader that drops it, and the console has no word for it
All checks were successful
CI / Classify the change (pull_request) Successful in 22s
PR rebase / Rebase onto main and arm auto-merge (pull_request) Successful in 20s
CI / Test (Node 22) (pull_request) Successful in 1m0s
CI / Test (Node 20) (pull_request) Successful in 1m1s
CI / Test (Node 18) (pull_request) Successful in 1m5s
CI / Server smoke and Docker build (pull_request) Successful in 23s
CI / Arm auto-merge (pull_request) Successful in 5s
f4c001f4cd
forgejo-actions scheduled this pull request to auto merge when all checks succeed 2026-11-21 00:44:15 +00:00
jaylouisw deleted branch plan/1121-0037 2026-11-21 01:08:24 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jaylouisw/packetforge!2339
No description provided.