Skip to content

fix: remove dead code flagged by Copilot static analysis#177

Merged
everett4320 merged 1 commit intoOpenLAIR:redo-session-lifecycle-after-167-revertfrom
everett4320:topic/upstream/pr170-review-fixes
Apr 14, 2026
Merged

fix: remove dead code flagged by Copilot static analysis#177
everett4320 merged 1 commit intoOpenLAIR:redo-session-lifecycle-after-167-revertfrom
everett4320:topic/upstream/pr170-review-fixes

Conversation

@everett4320
Copy link
Copy Markdown
Collaborator

  • Remove unused inferProviderFromMessageType wrapper from server/index.js; no call sites exist after the sessionLifecycle.js extraction.
  • Remove always-false (isLoading && isCurrentViewSession) sub-condition from isCodexSessionBusy; isLoading is always false at that point.

No behavior change. All 149 tests pass.

- Remove unused inferProviderFromMessageType wrapper from server/index.js;
  no call sites exist after the sessionLifecycle.js extraction.
- Remove always-false (isLoading && isCurrentViewSession) sub-condition
  from isCodexSessionBusy; isLoading is always false at that point.

No behavior change. All 149 tests pass.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@everett4320 everett4320 merged commit 65c771f into OpenLAIR:redo-session-lifecycle-after-167-revert Apr 14, 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