Skip to content

fix: route backfill cancel through control server#57

Open
kfastov wants to merge 1 commit into
mainfrom
wb2a-cancel-via-server
Open

fix: route backfill cancel through control server#57
kfastov wants to merge 1 commit into
mainfrom
wb2a-cancel-via-server

Conversation

@kfastov

@kfastov kfastov commented Jun 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • route backfill cancel --chat through the control server with auto-start
  • route backfill jobs cancel through /control/cancel for both --job-id and --channel
  • remove the direct DB write fallback from cancel paths so queue writes stay behind the sole writer

Verification

  • RED: npx vitest run tests/backfill-client.test.js failed on the new cancel expectations before implementation
  • GREEN: npx vitest run tests/backfill-client.test.js → 16 passed
  • Full: npm test → 27 test files passed, 353 tests passed

Ops-hub item: knowledge/projects/tgcli/backlog/2026-06-12-wb2a-cancel-via-server.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant