Skip to content

refactor(shell): remove the unused background shell collect and waiter API - #1261

Merged
TheGreatAxios merged 2 commits into
mainfrom
cl-9624-remove-the-unused-background-shell-collect-and-waiter-api
Oct 2, 2026
Merged

TheGreatAxios merged 2 commits into
mainfrom
cl-9624-remove-the-unused-background-shell-collect-and-waiter-api

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

  • Removes collect, releaseWaiters, the waiter bookkeeping, the completed-run ring, and the collect wait cap from the background shell registry. Results arrive through onExit and run_shell stop=<id> cancels.
  • Drops the tests that only exercised collect semantics and moves the rest onto an onExit recorder.

Verification

  • bun run check passes (7,868 tests across 521 files).

Fixes CL-9624

@linear-code

linear-code Bot commented Sep 30, 2026

Copy link
Copy Markdown

CL-9624

@TheGreatAxios
TheGreatAxios force-pushed the cl-9624-remove-the-unused-background-shell-collect-and-waiter-api branch from 0f0aaed to 94d0f96 Compare September 30, 2026 17:35
@TheGreatAxios
TheGreatAxios removed this pull request from stack #1260 September 30, 2026 17:49
@TheGreatAxios
TheGreatAxios force-pushed the cl-9624-remove-the-unused-background-shell-collect-and-waiter-api branch from 94d0f96 to 57342ff Compare September 30, 2026 18:05
@TheGreatAxios
TheGreatAxios removed this pull request from stack #1263 September 30, 2026 18:12
@TheGreatAxios
TheGreatAxios removed this pull request from stack #1266 September 30, 2026 20:26
@TheGreatAxios
TheGreatAxios removed this pull request from stack #1273 September 30, 2026 20:41
@TheGreatAxios
TheGreatAxios removed this pull request from stack #1277 September 30, 2026 20:56
@TheGreatAxios
TheGreatAxios removed this pull request from stack #1279 September 30, 2026 23:49
@TheGreatAxios
TheGreatAxios force-pushed the cl-9624-remove-the-unused-background-shell-collect-and-waiter-api branch from 57342ff to 0aee266 Compare September 30, 2026 23:49
@TheGreatAxios
TheGreatAxios force-pushed the cl-9624-remove-the-unused-background-shell-collect-and-waiter-api branch 4 times, most recently from c4b2775 to dd9b137 Compare October 2, 2026 16:28
Base automatically changed from cl-9622-apply_patch-re-enforces-secret-guard-and-realpath-workspace to main October 2, 2026 16:31
…r API

Nothing polls a background shell since shell_collect was removed: results
arrive through onExit and run_shell stop cancels. Drop collect,
releaseWaiters, the completed-run ring, and the collect wait cap, and move
the registry tests onto onExit.
@TheGreatAxios
TheGreatAxios force-pushed the cl-9624-remove-the-unused-background-shell-collect-and-waiter-api branch from dd9b137 to 35d5148 Compare October 2, 2026 16:31
@TheGreatAxios
TheGreatAxios merged commit bb831d2 into main Oct 2, 2026
13 checks passed
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