Repository navigation
fix(files): dispatch search indexing from Trigger workers - #7293
Conversation
Greptile SummaryThis PR routes workspace-file indexing through Trigger.dev whenever execution is already inside a Trigger worker and simplifies sandbox image builds to a stable task ID.
Confidence Score: 4/5The rollout compatibility gap should be fixed before merging because old replicas or queued revisioned tasks can leave sandbox image builds pending. The new worker removes every handler for the task ID emitted by the previous web release even though web and Trigger deployments can overlap, so builds created during that window may not execute until their pending records become stale. Files Needing Attention: apps/sim/lib/execution/remote-sandbox/image-registry.ts; apps/sim/background/sandbox-image-build.ts
|

Summary
Type of Change
Testing
bun run lintbun run type-checkbun run check:audits(39 audits)origin/stagingChecklist
staging