DashboardcraftgetWorkspaceGlobMatches keeps globSync

getWorkspaceGlobMatches keeps globSync

Category: decision
Confidence: 0.80
ID: 01a081b1-1286-7339-bbd4-3c882b07c73c
Project ID: e16af391-c497-4837-b681-c849a5514499
Cross-project: No
Recalled in other projects: 0
Source session: 1Okgn0vvN7hdZmhlc
Created: 2026-09-08 15:44:20
Updated: 2026-09-08 15:44:20

Content

Chose synchronous, sorted globSync() workspace expansion over reusing the CLI async parallel walker because configuration loading is deterministic and release-safety-critical, while workspace discovery does relatively little I/O. The walker overlaps directory reads but yields completion-order results and would force async propagation through configuration resolution; retain lexical and realpath containment plus sorted output. Revisit bounded concurrency only after profiling demonstrates expansion is a bottleneck.

Move to: