Skip to content

Show active threads and update blockers in Host stats - #48466

Closed
flexi767 wants to merge 757 commits into
pingdotgg:mainfrom
flexi767:codex/host-stats-native-pr
Closed

flexi767 wants to merge 757 commits into
pingdotgg:mainfrom
flexi767:codex/host-stats-native-pr

Conversation

@flexi767

@flexi767 flexi767 commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Closing this draft because T3 routed the fork branch to upstream. The change is for our fork’s existing Host stats panel.

flamboh and others added 30 commits November 12, 2026 04:53
…overview

Keep the workspace pill attached to the focused pane during workspace motion and show it after overview closes.
Skip pane slides whose movement rounds to zero device pixels, avoiding synchronous animation completion during entry initialization.
Keep focus stable during background tab insertion so normalization preserves the focused empty workspace. Retain existing valid pane focus restoration.
Ignore wheel and pinch gestures from portaled layers in the overview, so the command palette keeps its own scrolling.
Send layout-tab visits only when the corresponding thread is on screen, keeping finished off-screen work unread until it becomes visible.
Measure overview pane width with the stage scale directly, avoiding a second sidebar-width reduction in the live-render cutoff.
flexi767 and others added 26 commits November 29, 2026 19:58
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…upting it

--force now pauses new turns on every host, waits for running turns to
finish however long they take, then switches; --when-idle-timeout is the
same drain with a limit. Runs waiting on a person no longer hold the switch.
Every host's staged runtime is checked before anything switches, so a
pruned runtime can no longer leave the fleet on mixed versions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e the system

The compact icon sits beside the ring in one button; clicking either compacts,
and the details on hover say why when it can't. Numeric dates and times use the
system region's patterns, as macOS does (English in Germany: 04.05.26, 09:05).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts:
#	apps/mobile/src/features/threads/thread-list-v2-items.tsx
#	apps/server/src/orchestration-v2/ThreadLaunchService.ts
#	apps/server/src/orchestration-v2/runtimeLayer.ts
#	apps/web/src/components/sidebar/SidebarThreadRow.tsx
# Conflicts:
#	apps/server/src/orchestration-v2/EffectWorker.test.ts
#	apps/server/src/orchestration-v2/ProviderSessionManager.ts
#	apps/server/src/orchestration-v2/ProviderTurnControlService.test.ts
#	apps/server/src/orchestration-v2/runtimeLayer.test.ts
#	apps/web/src/components/sidebar/SidebarThreadRow.tsx
Reuse the macOS pressure sample in a private host report snapshot. Read cached provider status and keep thread and usage data on the report cadence so Factory can avoid its duplicate probes.

GPT-6.2 Sol via Codex in T3 Code.
Read the Linux host PSI and memory files once per sampling interval and publish the host-wide admission readings when the Factory service is installed. Preserve separate cgroup-based T3 resource diagnostics.

Implemented with gpt-6.2-sol through the Codex harness.
Publish pressure every 30 seconds from the shared sampler and write thread and usage data every minute. Keep the existing report compatible with older Factory readers.

Validated with Codex in T3 Code.
…#47750)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 2674f6d)
The feedback scrubber leaves values shorter than three characters intact. Use a fixture so the assertion behaves the same on hosts with short login names.

Implemented with GPT-6.2 in Codex.
Keep live work and recoverable issue attempts in the host snapshot. Limit per-thread usage queries to the retained IDs and record producer timings.

GPT-6.2 Sol via Codex
Read Linux kernel pressure and cgroup memory in the resource monitor and get macOS available pages via Mach. Package both monitor builds alongside the matching server and retain fallback reads for older helpers.
@flexi767 flexi767 closed this Dec 3, 2026
@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:XXL 1,000+ changed lines (additions + deletions). labels Dec 3, 2026
@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

This PR changes the test suite by +70 test cases (browser +4, unit +26, server +40).

New browser test files: apps/web/src/components/chat/ComposerSurface.browser.test.tsx, apps/web/src/components/sidebar/SessionContextMeter.browser.test.tsx, apps/web/src/components/sidebar/SidebarHostStats.browser.test.tsx, apps/web/src/components/sidebar/ThreadMachineTransfer.browser.test.tsx.
Each browser test file costs CI seconds of module loading before its first test runs; a unit test costs milliseconds.

Keep tests that would fail for a real reason, and test logic below the UI where it can be. See Testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL 1,000+ changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants