Every agent's model. One place. Codex on DeepSeek, Claude Code on Kimi, from the menu bar.
proc: TestTreeRSS reads on past a first 0 kB under WSL2 (#4033)
yetoneb569d1ab77dd
diff --git a/internal/proc/rss_test.go b/internal/proc/rss_test.goindex f6f197587..932ac8489 100644--- a/internal/proc/rss_test.go+++ b/internal/proc/rss_test.go@@ -22,9 +22,11 @@ func TestTreeRSS(t *testing.T) {t.Fatal(err)}// just after its exec a command holds a few pages, until its loader- // maps what it runs on (16KiB on ubuntu CI), so it is read until it does+ // maps what it runs on (16KiB on ubuntu CI), so it is read until it+ // does; under WSL2 the first read can say 0 kB, which isn't a reading+ // (#4033)rss, ok := tree.RSS()- for end := time.Now().Add(10 * time.Second); ok && rss < 64<<10 && time.Now().Before(end); {+ for end := time.Now().Add(10 * time.Second); (!ok || rss < 64<<10) && time.Now().Before(end); {time.Sleep(20 * time.Millisecond)rss, ok = tree.RSS()}