scrum4me-mcp/__tests__
janpeter visser 8ebf4ff895 feat: integrate push into update_job_status DONE transition
On status=done, calls pushBranchForJob before DB write:
- pushed=true → DONE + pushed_at + branch set + worktree cleanup (keepBranch=true)
- no-changes → DONE without pushed_at + worktree cleanup
- push failure → FAILED with error message + worktree preserved for manual inspection

Also adds pushed_at to vendored prisma schema + regenerates client.
6 unit tests for prepareDoneUpdate covering all push outcomes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-01 12:00:30 +02:00
..
git feat: add pushBranchForJob helper (src/git/push.ts) 2026-05-01 11:57:14 +02:00
get-claude-context-filter.test.ts test: add unit tests for tasks-status-update helper and get-claude-context filter 2026-04-30 18:22:55 +02:00
tasks-status-update.test.ts test: add unit tests for tasks-status-update helper and get-claude-context filter 2026-04-30 18:22:55 +02:00
update-job-status-push.test.ts feat: integrate push into update_job_status DONE transition 2026-05-01 12:00:30 +02:00
update-job-status-worktree.test.ts feat: cleanup worktree in update_job_status on terminal transitions 2026-05-01 11:52:16 +02:00
verify-plan.test.ts test+docs: verify-plan tests and README for verify_task_against_plan 2026-04-30 19:36:43 +02:00
wait-for-job-snapshot.test.ts test: snapshot capture + stale reset in wait_for_job 2026-04-30 19:27:56 +02:00
wait-for-job-worktree.test.ts feat: integrate createWorktreeForJob into wait_for_job tool 2026-05-01 11:50:51 +02:00