feat(status): re-apply status scan parallelization from v2026.3.1/v2026.3.2#2253
Merged
alexey-pelykh merged 1 commit intomainfrom Apr 10, 2026
Merged
Conversation
…26.3.2 (#2205) Re-apply upstream performance and feature improvements that were discarded during PR #2191 wholesale restoration: Performance: - DeferredResult<T> pattern for parallelizing async operations - scanStatusJsonFast dedicated fast path for --json mode - Parallelized tailscale, update, agent, and summary probes - Security audit runs in parallel with scan in JSON mode Features: - lookupContextTokens resolves per-model context windows (fixes hardcoded 200K for non-200K models) - Configured model display replaces "unknown" in status summary - installKind/gitTag/gitBranch in update channel display - formatGitInstallLabel row in status overview - bootstrapPendingCount in agents display - thinking/reasoning/elevated level flags in session data - config passthrough in getStatusSummary avoids redundant loadConfig Code quality: - resolveGatewayProbeSnapshot DRY extraction - resolveChannelsStatus DRY extraction - groupChannelIssuesByChannel replaces inline IIFE - resolveSessionStoreTargetsOrExit replaces try/catch pattern Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Re-applies upstream performance and feature improvements to
status.scan.ts,status.command.ts,status.summary.ts, andsessions.tsthat were discarded during PR #2191 wholesale restoration.DeferredResult<T>pattern,scanStatusJsonFastdedicated JSON fast path, parallelized async probes (tailscale, update, agent, summary),Promise.allfor scan + security audit in JSON modelookupContextTokensper-model context window resolution (fixes hardcoded 200K), configured model display replacing"unknown",installKind/gitTag/gitBranchin channel info,formatGitInstallLabelrow,bootstrapPendingCountin agents display, thinking/reasoning/elevated flags,configpassthrough ingetStatusSummaryresolveGatewayProbeSnapshotandresolveChannelsStatusDRY extractions,groupChannelIssuesByChannelreplacing inline IIFE,resolveSessionStoreTargetsOrExitreplacing try/catchNo gutted subsystem code re-introduced (no memory, SecretRef, Pi-embedded, model-catalog, skills, or sandbox references).
Closes #2205
Test plan
pnpm tsgo— zero type errors in changed filespnpm lint— zero warnings/errorspnpm format:fix— cleanpnpm test— 694 test files, 5949 tests pass, 0 failures🤖 Generated with Claude Code