Skip to content

fix(windows): check kit rows, events flag and version header (#105) - #107

Merged
T-Crypt merged 3 commits into
mainfrom
T-Crypt/fix-105
Oct 21, 2026
Merged

T-Crypt merged 3 commits into
mainfrom
T-Crypt/fix-105

Conversation

@T-Crypt

@T-Crypt T-Crypt commented Oct 21, 2026

Copy link
Copy Markdown
Owner

Fixes #105, reported by @azrael-229.

  • Per-process rows: the label and the MiB figure are computed before the @(...) literal. In PowerShell the comma binds tighter than + and /, so "stowaway " + $s.name split into two elements and shifted every column.
  • berth status --format json has no holders key. The kit now lists squatters, plus unprotected runs (by pid, against the driver's counter).
  • berth events --json is not a flag: now --format json, with stderr kept in the report instead of a silent "returned nothing". The windows and chaos READMEs and the drain-report form named the same wrong flag and are fixed too.
  • The header prints the PowerShell version instead of the literal expression.

Proof: berth events --format json checked against a live daemon. No PowerShell on the build box: the script is not parse-checked here; the same fix was confirmed on PS 5.1 and 7.6 in the issue.

The per-process rows hoist the label and MiB figure out of the @(...)
literal, where the comma binds tighter than + and / and split one column
into two. The status has no holders key: the kit now reads squatters and
unprotected runs. berth events takes --format json, and its stderr stays
in the report. The docs that named --json follow.

Fixes #105.
@T-Crypt
T-Crypt merged commit dcf3be1 into main Oct 21, 2026
2 checks passed
@T-Crypt
T-Crypt deleted the T-Crypt/fix-105 branch October 21, 2026 13:45
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.

windows check kit: per-process section emits no rows (binary + inside an @() literal splits); berth events --json is not a flag

1 participant