Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions internal/acpproc/acp_process_memory.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,6 @@ func processTreeRSSDetailed(pid int) (parent uint64, descendants uint64, descend
return parent, descendants, descendantCount, nil
}

// descendantsRSS recursively sums the RSS of all descendants of p. Per-process
// errors are skipped so a child exiting mid-walk does not fail the whole sum.
func descendantsRSS(p *process.Process) uint64 {
total, _ := descendantsRSSDetailed(p)
return total
}

// descendantsRSSDetailed recursively sums the RSS of all descendants of p and
// counts them. Per-process errors are skipped so a child exiting mid-walk does
// not fail the whole sum.
Expand Down
6 changes: 0 additions & 6 deletions internal/web/handlers/dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,12 +262,6 @@ func itemStatus(item map[string]any) string {
return s
}

// itemType returns the "issue_type" field of an issue map as a string.
func itemType(item map[string]any) string {
s, _ := item["issue_type"].(string)
return s
}

// itemUpdatedAt returns the "updated_at" field of an issue map as a string.
// bd emits RFC 3339 timestamps so lexicographic comparison matches chronology.
func itemUpdatedAt(item map[string]any) string {
Expand Down
4 changes: 3 additions & 1 deletion internal/web/loop_runner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4016,7 +4016,9 @@ func TestLoopRunner_WorkspaceKey(t *testing.T) {
t.Error("keys should differ when WorkingDir differs")
}
// Same WorkingDir + ACPServer → same key.
if workspaceKey("/w", "a") != workspaceKey("/w", "a") {
k1 := workspaceKey("/w", "a")
k2 := workspaceKey("/w", "a")
if k1 != k2 {
t.Error("keys should match for the same pair")
}
// NUL separator is present.
Expand Down
1 change: 0 additions & 1 deletion web/static/hooks/useWebSocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -4315,7 +4315,6 @@ export function useWebSocket({
}
staggeredBackgroundTimersRef.current = {};
};
// eslint-disable-next-line preact/hooks/exhaustive-deps
}, []);

// forceReconnectActiveSession lives in useWSConnection (C1) — mitto-90f.6.2.
Expand Down
Loading