Skip to content

F1 Item 1: Remove processPriority field (closes #35) - #51

Merged
curtyo18 merged 1 commit into
mainfrom
issue/F1-processPriority-removal
May 17, 2026
Merged

F1 Item 1: Remove processPriority field (closes #35)#51
curtyo18 merged 1 commit into
mainfrom
issue/F1-processPriority-removal

Conversation

@curtyo18

Copy link
Copy Markdown
Owner

Summary

F1 (#35) decision Item 1 = C) Remove. The processPriority field on ThrottleProfile was typed and stored but no code ever applied OS-level priority. UI rendered the configured value giving a false impression.

Removes the field from:

  • shared/throttle.ts — type + default profile literals
  • engine throttle module(s) — any readers
  • settings persistence
  • UI throttle render
  • spec §5.5

F1 Item 2 explicitly out of scope

The WebSocket browser delivery decision (Item 2) is being planned separately and is NOT part of this MR. @hono/node-ws stays in packages/engine/package.json until that planning round lands a follow-up.

Test plan

  • grep -r processPriority packages/ docs/ returns empty
  • All tests pass (engine + UI + shared)
  • Lint + typecheck clean

Closes #35

The processPriority field on ThrottleProfile was typed and stored
in settings but no engine code ever called SetPriorityClass (Windows),
nice/renice (POSIX), or any OS-level priority API. The UI rendered
the configured value, giving a false impression that the OS scheduler
was being adjusted.

Per the F1 (#35) decision Item 1 = C, the field is removed from:
- shared ThrottleProfile type and default profile literals
- engine throttle module readers
- settings persistence path
- UI throttle render
- spec §5.5

F1 Item 2 (WebSocket browser event delivery) is being planned
separately and is NOT touched here — @hono/node-ws stays in
packages/engine/package.json until that plan lands.

Closes #35

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@curtyo18
curtyo18 merged commit 5910be0 into main May 17, 2026
2 checks passed
@curtyo18
curtyo18 deleted the issue/F1-processPriority-removal branch May 17, 2026 21:58
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.

F1: [Decision] processPriority OS integration and spec §11 WebSocket — implement or defer?

1 participant