Commit Graph
5 Commits
Author SHA1 Message Date
Charles Yao 8c52a91ea0 feat(builder): fence task stop and synchronize safe resume 2026-10-23 16:40:43 -07:00
twwu 802ed06a37 fix(builder): restore session progress after reconnect
Restore cumulative worker progress before live SSE updates and recover missed terminal state on idle heartbeats. Keep submitted interactions hidden while the command runs and record reconnect state in trace exports.
2026-10-14 16:50:00 +08:00
Charles YaoandClaude Opus 5.5 9323e60724 fix: give one worker exclusive lease ownership and settle terminal confirmed grants
Worker activation now swaps the dispatch token for a unique owner value, so a
duplicate delivery of a running command can neither run nor release the
winner's lease. Terminal worker failures clear pending confirmed references and
settle the worker's own reloaded grant; the sweeper repairs, in a bounded pass,
reserved grants whose command already reached review/FAILED but whose
settlement write failed, never while a lease is live.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 18:48:57 -07:00
Wu Tianwei b3e3540c43 refactor: improve Dify Builder session UX (#42760) 2026-09-24 15:18:32 +08:00
Charles YaoandClaude Opus 4.8 7e83264330 refactor: rename Workflow Copilot → Dify Builder
Project rename across api/ + web/: modules, symbols, routes
(/console/api/dify-builder/*), feature flag (DIFY_BUILDER_ENABLED),
Celery queue/tasks, the 7 DB tables (via migration df1b0114de40),
and regenerated contract artifacts. Behavior unchanged; 430 tests green,
ruff clean. Branch renamed feat/copilot-py-backend → dify-builder.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-23 11:18:35 -07:00