File tree Expand file tree Collapse file tree
apps/sim/app/workspace/[workspaceId]/knowledge/[id]/components/connectors-section Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -675,6 +675,14 @@ function ConnectorCard({
675675 * `syncing` lock by flipping the *connector* to `error`, and never rewrites the
676676 * log row, so a run killed mid-flight (deploy, OOM) stays `started` forever.
677677 * Past the stale-lock TTL that row is a crashed run, not a live one.
678+ *
679+ * Treating the TTL as a hard ceiling is a deliberate policy choice, not an
680+ * assumption that no run can outlive it. The in-process fallback sync runs
681+ * unawaited in the web process with no duration limit, so it genuinely can —
682+ * but nothing writes to the row between lock acquisition and completion, so a
683+ * live run past the TTL and a dead one are byte-identical to this component.
684+ * Rendering it as still running is the failure this state exists to fix; the
685+ * same TTL already governs the reclaim that takes its lock away.
678686 */
679687type SyncLogState = 'running' | 'interrupted' | 'failed' | 'completed'
680688
You can’t perform that action at this time.
0 commit comments