Skip to content

fix: v0.110.68 — guard kills runaway room browsers on CPU breach, no WMI, team buttons, 3D office - #218

Closed
8syncdev wants to merge 1 commit into
mainfrom
fix/hq-68
Closed

8syncdev wants to merge 1 commit into
mainfrom
fix/hq-68

Conversation

@8syncdev

Copy link
Copy Markdown
Contributor

Owner 2026-10-22 (urgent): "cpu chạm 45% phải kill … fix triệt để", "mất nút mở lại team", "bấm khẩn cấp … không ai làm", "Fail connect terminal", "3D quá xấu".

  • Guard kills a room's runaway browser on a CPU breach: a room's headless Edge drew software WebGL at 40% of 32 threads (CPU 94%, threshold 45%); the guard only lowered its priority. Now, CPU ≥ threshold → any browser inside a room's tree using ≥ 15% of the machine is killed with its browser helpers (never node/claude, never the owner's browser). Test +1.
  • Shot orphan sweep without WMI: builds on fix: v0.110.67 — sweep zombie shot chỉ giết mồ côi thật #216's orphan rule but reads the native process list (owner 8sync gone) instead of Get-CimInstance Win32_Process per shot; HQ's per-minute PowerShell/WMI sweep removed, auto revive sweeps. Real Windows: two shots 0.1 s apart both write; a dead-owner Chromium is swept. Test +1.
  • Guard process listing via Win32 API (ToolHelp, GetProcessTimes, K32GetProcessMemoryInfo, NtQueryInformationProcess 60) instead of WMI every tick (WmiPrvSE 12.7 GB / 22% CPU). WMI kept as fallback. Test +1.
  • Làm ngay on a backlog/blocked card also calls rd to write AC + check in the lead's place. Test +1.
  • Terminal reconnect backoff for a minute, ≥ 22 rows; team buttons for pinned/0-room projects (/api/team accepts pinned + auto roots) and per project on Tổng quan; 3D office redesign (walls, windows, oak floor, shirts by role, state ring, compact tags; headless WebGL screenshots light/dark).

Supersedes #215 (rebased on #216). Local: cargo shot/pressure/reap/rush 47/47, vitest 41/41, typecheck 0, lint clean. Gates sec/rules/aup-audit OK.

🤖 Generated with Claude Code

…, shot sweep without WMI, team buttons for pinned projects, readable 3D office

- guard: on a CPU breach a browser a room started that uses >=15% of the
  machine is killed with its helpers (a headless Edge drew software WebGL at
  40% of 32 threads, CPU 94% with the threshold at 45%).
- shot: orphan sweep reads the native process list (owner 8sync gone),
  no Get-CimInstance per shot; HQ drops its per-minute PowerShell/WMI
  sweep, `auto revive` sweeps instead.
- guard process listing via Win32 API instead of WMI (WmiPrvSE 12.7 GB).
- Làm ngay on a backlog card also calls rd to stand in for a busy lead.
- terminal reconnect backoff, >=22 rows; team buttons for pinned/0-room
  projects and on Tổng quan; 3D office redesign.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@8syncdev

Copy link
Copy Markdown
Contributor Author

Superseded by v0.110.69 (rebased on #217).

@8syncdev 8syncdev closed this Oct 22, 2026
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