Skip to content

feat(goiparity): the offline rows — monitor file replay at the knob (V400) - #374

Merged
randomizedcoder merged 1 commit into
mainfrom
goip/parity-eg2-t01
Nov 30, 2026
Merged

randomizedcoder merged 1 commit into
mainfrom
goip/parity-eg2-t01

Conversation

@randomizedcoder

Copy link
Copy Markdown
Owner

Summary

EG2-T01 — the offline rows, the monitor-file row kind of Tier EG (docs/netlink/goip-parity-events.md):

  • The row kind: the Command table grows Monfile/Knob/Golden (the row format's thirteenth field, GoldenName); compareMonfileRow holds the rc rule (the three sides agree, then equal the declared one), the stderr rule (rc 0 ↔ empty, rc ≠ 0 ↔ non-empty, never compared — goip prefixes its complaint) and the golden comparison per side — the ip sides always the .ip730 record, the goip side the one its Knob names, so the =0 rows (hibyte, hionly — the only two whose versions print differently, u16 319 <…,> vs u8 63) hold to the committed .ip720 goldens, the measurement of record, the guest carrying no 7.2.0 ip (T03's check gates that knob against the real binary).
  • Seventeen rows: the bond partner states, the actor-stays-u8 pair, the P14 reason u32s, the three metrics shapes (the plan's one padding row measured into all three committed shapes), the text refusal (MonitorExpectRC: 1, Golden: "-" — three-side equality), and the pcap corner: evnhb-bucket.nl, what nlcapgen monfile -pcap writes from the committed capture (notifications only, 3 of 16 messages), committed beside the blobs — its goldens measured at all four sides byte-identical. A plan correction on the record: the corner's render is the corpus .out's lines modulo -d's detail words and the ifname (if3, the no-sandbox-index rule's own class; the corpus .out's c0 its own VM's name).
  • Driver/nix: capture_monfile_triple (a fresh namespace per side, the Setup steps, xtcp2-nlcap mon running ip -d monitor file twice around goip -d monitor file at the knob); the save-blobs machinery ships the blobs, the refusal and the goldens; T03 skips a .nl with no .spec (the spec-golden carve-out; TestMonfileCommittedPcap is the corner's regeneration golden) and replays the committed notnetlink.txt.

Test plan

  • go test -count=1 ./... and go test -tags goip_write -count=1 ./... green (one known-unrelated flake, tools/tcp_client, green on rerun)
  • go vet -tags goip_write, gofmt; the nine nix checks and .#test-focused-goip (one lint finding fixed in code: Render's dispatch chain, a switch)
  • O5/O9/O10 regenerated (-update-ws-*), no drift
  • The section's live gate — nix run .#microvm-x86_64-goip-parity -- --section monitor: GOIP_PARITY_OVERALL_PASS + GOIP_PARITY_DRIVER_PASS, thirty-two PASS (the EG1 fifteen and the seventeen), HYGIENE_PASS, CONTROL_NOISY 1 (the all row's d0 MAC, the accepted noise), UNGATED_CLEAN
  • The docs check names the corner's four files (the blob file index grows evnhb-bucket and notnetlink; 64 committed blob files named)

The seventeen stay ungated — one clean live run of the two V393's rule wants; the gated set is unchanged.

🤖 Generated with pi

…V400)

The EG2-T01 row kind: seventeen monitor-file rows, `ip -d monitor file`
twice around `goip -d monitor file` at GOIP_IP730, each side a fresh
namespace. The Command table grows Monfile/Knob/Golden (the row format's
thirteenth field); compareMonfileRow holds the rc rule (agree, then equal
the declared one), the stderr rule (rc 0 means empty, never compared) and
the goldens per side — the ip sides the .ip730 record, the goip side the
one its Knob names, so the =0 rows (hibyte, hionly) hold to the committed
.ip720 goldens, the measurement of record. The pcap corner's input is
committed beside the blobs: evnhb-bucket.nl, nlcapgen monfile -pcap's
notifications-only write, with goldens measured at all four sides
byte-identical (the render is the corpus .out's lines modulo -d's detail
words and the ifname — ifindex 3 misses in an empty namespace, if3, the
no-sandbox-index rule's own class). The text refusal is the seventeenth.

The driver grows capture_monfile_triple and the wholesale monfile/ blob
copy; the save-blobs machinery ships the blobs, the refusal and the
goldens; T03 skips a .nl with no .spec (the spec golden's carve-out, the
pcap corner's regeneration golden TestMonfileCommittedPcap instead) and
replays the committed notnetlink.txt.

The gate: the section's live run — GOIP_PARITY_OVERALL_PASS +
GOIP_PARITY_DRIVER_PASS, thirty-two PASS, HYGIENE_PASS, CONTROL_NOISY 1,
UNGATED_CLEAN. Both full suites; go vet; gofmt; the nine checks and
test-focused-goip (one lint finding fixed in code: Render's dispatch
chain, a switch); O5/O9/O10 regenerated, no drift; the docs check names
the corner's four files (the blob file index grows evnhb-bucket and
notnetlink). V400.
@randomizedcoder
randomizedcoder merged commit abc305d into main Nov 30, 2026
1 check passed
@randomizedcoder
randomizedcoder deleted the goip/parity-eg2-t01 branch November 30, 2026 18:27
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