singularity-forge/web/lib
Mikael Hugo 22760e03d5
Some checks are pending
CI / detect-changes (push) Waiting to run
CI / docs-check (push) Blocked by required conditions
CI / lint (push) Blocked by required conditions
CI / build (push) Blocked by required conditions
CI / integration-tests (push) Blocked by required conditions
CI / windows-portability (push) Blocked by required conditions
CI / rtk-portability (linux, blacksmith-4vcpu-ubuntu-2404) (push) Blocked by required conditions
CI / rtk-portability (macos, macos-15) (push) Blocked by required conditions
CI / rtk-portability (windows, blacksmith-4vcpu-windows-2025) (push) Blocked by required conditions
fix(sift): increase timeouts for vector retriever + scope-aware retriever for codebase_search
Vector retriever was disabled everywhere because it appeared to hang.
It was actually doing a first-time embedding index build for 57K files,
which takes ~60-90 min. Re-enable vector by increasing timeouts and
letting scope-aware retriever selection decide when vector is safe.

Changes:
- sift_search: retriever timeout 30s->300s, total 60s->600s
- codebase_search: total timeout 120s->600s
- warmup: retriever timeout 30s->300s, hard timeout 600s->3600s
- codebase_search now uses chooseSiftRetrievers() instead of hardcoded
  bm25+phrase: repo-root -> bm25+phrase (fast), scoped subdirs -> vector
- Comments updated to reflect "slow first build" not "hang"

Tests: 178 files / 1845 tests, all pass.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-15 10:46:35 +02:00
..
__tests__ fix(lint): fix all pre-existing lint failures 2026-05-11 04:02:31 +02:00
auth-guard.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
auth.ts fix(sift): increase timeouts for vector retriever + scope-aware retriever for codebase_search 2026-05-15 10:46:35 +02:00
browser-slash-command-dispatch.ts refactor: rename pi-* packages to forge-native names (Phase 1) 2026-05-10 11:28:01 +02:00
command-surface-contract.ts chore: commit current workspace state 2026-05-05 14:46:18 +02:00
dev-overrides.tsx chore: commit current workspace state 2026-05-05 14:46:18 +02:00
diagnostics-types.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
git-summary-contract.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
image-utils.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
initial-sf-header-filter.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
knowledge-captures-types.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
project-store-manager.tsx chore: commit current workspace state 2026-05-05 14:46:18 +02:00
project-url.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
pty-chat-parser.ts fix(lint): fix all pre-existing lint warnings (unused vars/imports/params) 2026-05-11 08:32:30 +02:00
pty-manager.ts chore: commit current workspace state 2026-05-05 14:46:18 +02:00
remaining-command-types.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
secure-path.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
session-browser-contract.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
settings-types.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
sf-workspace-store.tsx chore(web): upgrade all dependencies to latest stable 2026-05-10 11:52:54 +02:00
shutdown-gate.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
use-editor-font-size.ts chore: commit current workspace state 2026-05-05 14:46:18 +02:00
use-terminal-font-size.ts chore: commit current workspace state 2026-05-05 14:46:18 +02:00
use-user-mode.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
utils.ts chore: commit current workspace state 2026-05-05 14:46:18 +02:00
visualizer-types.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
workflow-action-execution.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
workflow-actions.ts fix(lint): fix all pre-existing lint failures 2026-05-11 04:02:31 +02:00
workspace-status.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
workspace-types.ts style: format repository with biome 2026-05-05 14:31:16 +02:00
xterm-theme.ts style: format repository with biome 2026-05-05 14:31:16 +02:00