async.ts ×1
Frontier kind: Code frontier
unlabeled · c_f725667ca064
106 tests · 6958 LOC · 31 files · introduces 0 tests · 2 LOC · 1 file
Introduces — evidence that enters the hierarchy at this concept
Code
1 range 2 lines · 1 files
Tests
0 tests
Contains — complete concept membership
Neighbourhood graph
The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.
Focus concept
Ancestors (broader)
Descendants (narrower)
Introduced files
Introduced tests
Introduced files, introduced tests, and structurally relevant concept specialization
In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.
Graph controls are ready.
Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.
JavaScript is disabled; use the native relationship evidence on this page to explore the same evidence.
Native relationship evidence
Every exact file and test below is linked only from the concept that introduces it.
async.ts ×1 — Focused concept
Introduced files:
copilotAgent.ts ×4 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×4 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotSessionLauncher.ts ×3 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
agentService.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.test|title=CopilotAgent contextSize to contextTier mapping uses long_context when model has no surcharge, no explicit selection and preferLongContext is enabled|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.test|title=CopilotAgent createSession activeClient eager-claim getSessionCustomizations coalesces burst watcher changes into one discovered refresh publish|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.test|title=CopilotAgent contextSize to contextTier mapping leaves the SDK on its default tier when model has no surcharge and no explicit selection|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.test|title=CopilotAgent contextSize to contextTier mapping maps the default numeric context size to default|occurrence=1, copilotAgent.test|title=CopilotAgent contextSize to contextTier mapping maps the largest numeric context size to long_context|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotSessionLauncher.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentService.test|title=AgentService (node dispatcher) empty-session GC a session with at least one turn is not GC-disposed|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotSessionLauncher.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotSessionLauncher.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgent.test|title=CopilotAgent createSession activeClient eager-claim getSessionCustomizations publishes discovered files as Directory customizations|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.test|title=CopilotAgent provisional sessions materialization skips managed shell tools when root config disables the custom terminal tool|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.test|title=CopilotAgent createSession activeClient eager-claim getSessionCustomizations clears discovered files when the root disappears|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×4 — Ancestor (broader)
Introduced files:
Introduced tests:
sessionCustomizationDiscovery.ts ×3 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×2 — Ancestor (broader)
Introduced files:
sessionCustomizationDiscovery.ts ×6 — Ancestor (broader)
Introduced files:
copilotAgent.test|title=CopilotAgent provisional sessions materialization passes VS Code-specific system message to the SDK|occurrence=1, copilotAgent.test|title=CopilotAgent provisional sessions materialization forwards the GitHub token to the SDK at the session level (#318693)|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.test|title=CopilotAgent provisional sessions sendMessage on the default chat materializes the parent provisional session|occurrence=1, copilotAgent.test|title=CopilotAgent customization anchoring materialization without a worktree keeps the anchor on the original folder|occurrence=1, +1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×7 — Ancestor (broader)
Introduced files:
agentService.ts ×4 — Ancestor (broader)
Introduced files:
Introduced tests:
agentService.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentService.test|title=AgentService (node dispatcher) empty-session GC GC is rearmed after a resubscribe-then-unsubscribe cycle|occurrence=1, agentService.test|title=AgentService (node dispatcher) empty-session GC an empty unsubscribed session is disposed after the grace period|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
agentService.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentService.test|title=AgentService (node dispatcher) subscriber refcount eviction a restored idle session is evicted when its last subscriber drops|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×4 — Ancestor (broader)
Introduced files:
copilotAgent.test|title=CopilotAgent _resumeSession dedup shutdown during resume cancels the in-flight resume|occurrence=1 — Ancestor (broader)
Introduced tests:
agentService.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×2 — Ancestor (broader)
Introduced files:
agentService.ts ×5 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×3 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×6 — Ancestor (broader)
Introduced files:
agentService.ts ×10 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.test|title=CopilotAgent createSession activeClient eager-claim getSessionCustomizations starts initial discovery without debounce|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×8 — Ancestor (broader)
Introduced files:
restore round-trip createChat side chat forks hidden context and filters inherited turns|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×3 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×4 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×4 — Ancestor (broader)
Introduced files:
Introduced tests:
restore round-trip createChat forks the source chat into a new peer chat and returns the forked chat providerData|occurrence=1 — Ancestor (broader)
Introduced tests:
restore round-trip createChat materializes a peer chat, records its backing, and returns providerData (no copilot.chats write)|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×3 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.test|title=CopilotAgent chat surface (IAgentChats) createChat creates a peer chat and returns its providerData|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×12 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.test|title=CopilotAgent restart on startup config change re-enumerates models after a startup-config restart|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.test|title=CopilotAgent restart on startup config change drops an in-flight catalog from the previous client generation|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.test|title=CopilotAgent configSchema shows only long context option when long_context tier has no surcharge and preferLongContext is enabled|occurrence=1 — Ancestor (broader)
Introduced tests:
agentModelPricing.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×17 — Ancestor (broader)
Introduced files:
copilotAgent.test|title=CopilotAgent does not publish an in-flight model refresh after shutdown|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.test|title=CopilotAgent configSchema shows both context options by default when long_context tier has no surcharge|occurrence=1 — Ancestor (broader)
Introduced tests:
agentModelPricing.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.test|title=CopilotAgent configSchema emits a numeric contextSize property when long_context tier exceeds default|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgent.test|title=CopilotAgent configSchema omits contextSize when long_context tier is missing or not larger|occurrence=1 — Ancestor (broader)
Introduced tests:
agentModelPricing.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.test|title=CopilotAgent models include billing multiplier metadata when SDK provides it|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.test|title=CopilotAgent keeps the previously loaded models when a later refresh fails|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.test|title=CopilotAgent retries refreshing models after a transient failure|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.test|title=CopilotAgent passes the GitHub token when refreshing models|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.test|title=CopilotAgent restart on startup config change does not start a replacement client while the previous client is stopping|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.test|title=CopilotAgent peer chat routing and lifecycle disposeSession disposes the session's peer chats|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.test|title=CopilotAgent restart on startup config change restarts and disposes active sessions when the config changes|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×8 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.test|title=CopilotAgent restart on startup config change does not restart when an unrelated config key changes|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.test|title=CopilotAgent listSessions only returns sessions with a database|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.test|title=CopilotAgent chat surface (IAgentChats) disposeChat disposes the peer chat|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.test|title=CopilotAgent listSessions reads stored metadata from sessions with a database|occurrence=1, copilotAgent.test|title=CopilotAgent listSessions does not itself re-emit the workspaceless tag (AgentService overlays it centrally)|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×3 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.test|title=CopilotAgent restart on startup config change passes the configured log level to the Copilot SDK client|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×5 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×2 — Ancestor (broader)
Introduced files:
agentPeerChats.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.test|title=CopilotAgent routes exact targets using the current auth token and reflects token changes|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×9 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×7 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×3 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.test|title=CopilotAgent does not stop the client when the auth token changes|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgent.test|title=CopilotAgent provisional sessions createSession does not call client.createSession or create worktrees|occurrence=1, copilotAgent.test|title=CopilotAgent createSession activeClient eager-claim createSession without activeClient does not sync customizations|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×13 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×8 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
copilotAgent.ts ×2 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.test|title=CopilotAgent restart on startup config change uses trace when the agent host log level is trace|occurrence=1, copilotAgent.test|title=CopilotAgent restart on startup config change uses info when neither the setting nor agent host enables trace|occurrence=1 — Ancestor (broader)
Introduced tests:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×3 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×1 — Ancestor (broader)
Introduced files:
copilotAgent.ts ×15 — Ancestor (broader)
Introduced files:
agentHostTelemetryReporter.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentSideEffects.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostToolCallTelemetry.test|title=AgentSideEffects — tool call telemetry replaces confirmation tracking with client execution tracking|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostTelemetryReporter.ts ×1 — Ancestor (broader)
Introduced files:
protocolServerHandler.test|title=ProtocolServerHandler owned tool call is failed after the last overlapping transport closes|occurrence=1 — Ancestor (broader)
Introduced tests:
protocolServerHandler.ts ×2 — Ancestor (broader)
Introduced files:
Introduced tests:
protocolServerHandler.test|title=ProtocolServerHandler client disconnect fails owned streaming tool calls after grace period|occurrence=1 — Ancestor (broader)
Introduced tests:
protocolServerHandler.test|title=ProtocolServerHandler a later orphaned tool call does not extend an earlier one past the grace window|occurrence=1 — Ancestor (broader)
Introduced tests:
protocolServerHandler.test|title=ProtocolServerHandler client tool timeout tells model it may retry when replacement active client provides the tool|occurrence=1, protocolServerHandler.test|title=ProtocolServerHandler client disconnect retains active client during grace, then removes it and fails owned tool calls after grace period|occurrence=1 — Ancestor (broader)
Introduced tests:
protocolServerHandler.test|title=ProtocolServerHandler client tool call stamped for a disconnected protocol client fails after the grace period|occurrence=1 — Ancestor (broader)
Introduced tests:
protocolServerHandler.ts ×1 — Ancestor (broader)
Introduced files:
protocolServerHandler.ts ×2 — Ancestor (broader)
Introduced files:
agentHostFileMonitorService.test|title=AgentHostFileMonitorService filters known repository metadata noise before debouncing|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostFileMonitorService.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostFileMonitorService.test|title=AgentHostFileMonitorService filters custom excludes before debouncing|occurrence=1 — Ancestor (broader)
Introduced tests:
agentHostFileMonitorService.ts ×3 — Ancestor (broader)
Introduced files:
agentHostFileMonitorService.ts ×2 — Ancestor (broader)
Introduced files:
agentHostFileSystemProvider.ts ×1 — Ancestor (broader)
Introduced files:
Introduced tests:
agentHostFileSystemProvider.ts ×2 — Ancestor (broader)
Introduced files:
userActivityService.test|title=UserActivityService markActive sets active whenHeldFor|occurrence=1 — Ancestor (broader)
Introduced tests:
async.test|title=Async disposableTimeout store managed success|occurrence=1 — Ancestor (broader)
Introduced tests:
async.test|title=Async disposableTimeout handler only success|occurrence=1 — Ancestor (broader)
Introduced tests:
paging.test|title=PagedModel same page cancellation works|occurrence=1 — Ancestor (broader)
Introduced tests:
async.ts ×1 — Ancestor (broader)
Introduced files:
async.ts ×2 — Descendant (narrower)
Introduced files:
async.ts ×202 — Descendant (narrower)
Introduced files:
resources.ts ×23 — Descendant (narrower)
Introduced files:
network.ts ×20 — Descendant (narrower)
Introduced files:
extpath.ts ×17 — Descendant (narrower)
Introduced files:
strings.ts ×101 — Descendant (narrower)
Introduced files:
event.ts ×3 — Descendant (narrower)
Introduced files:
cancellation.ts ×18 — Descendant (narrower)
Introduced files:
event.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×3 — Descendant (narrower)
Introduced files:
event.ts ×4 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×2 — Descendant (narrower)
Introduced files:
event.ts ×93 — Descendant (narrower)
Introduced files:
utils.ts ×3 — Descendant (narrower)
Introduced files:
linkedList.ts ×13 — Descendant (narrower)
Introduced files:
lifecycle.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×4 — Descendant (narrower)
Introduced files:
lifecycle.ts ×6 — Descendant (narrower)
Introduced files:
lazy.ts ×1 — Descendant (narrower)
Introduced files:
lazy.ts ×3 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
uint.ts ×2 — Descendant (narrower)
Introduced files:
lifecycle.ts ×1 — Descendant (narrower)
Introduced files:
map.ts ×97 — Descendant (narrower)
Introduced files:
Introduced tests
Every collected test enters the hierarchy at exactly one concept.
No tests are introduced at this concept. Its intent tests are introduced by other concepts.
Introduced code
Every collected source range enters the hierarchy at exactly one concept.
1 file ranked by introduced lines: 2 introduced LOC across 1 ranges.
Expand a file to inspect source; the > gutter marks introduced lines.
src/vs/base/common/async.ts 2 introduced LOC · 1 range
Open complete file
613
export function disposableTimeout ( handler : () => void , timeout = 0 , store? : DisposableStore ) : IDisposable {
614
const timer = setTimeout (() => {
616
>
if ( store ) {
617
disposable . dispose ();
618
}