Skip to content

Rebind developer sessions instead of continuing - #382

Merged
zccz14 merged 1 commit into
mainfrom
fix-developer-session-rebind
May 2, 2026
Merged

zccz14 merged 1 commit into
mainfrom
fix-developer-session-rebind

Conversation

@zccz14

@zccz14 zccz14 commented May 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • Remove the OpenCode session manager continueSession API so existing sessions are only advanced by the session-manager polling path.
  • Rebind assigned pending Developer tasks to a newly created OpenCode session with fresh prompt context via taskRepository.updateTask.
  • Update regression coverage for assigned pending rebind behavior and manager API boundaries.

Tests

  • pnpm exec vitest run --config vitest.workspace.ts --project api modules/api/test/developer.test.ts modules/api/test/opencode-session-manager.test.ts
  • pnpm --filter ./modules/api run test:type
  • pnpm --filter ./modules/api run test:lint
  • pnpm --filter ./modules/api run test:vitest
  • pnpm run test:changeset

@zccz14
zccz14 enabled auto-merge (squash) May 2, 2026 02:44
@zccz14
zccz14 merged commit 7e31b7b into main May 2, 2026
1 check passed
@zccz14
zccz14 deleted the fix-developer-session-rebind branch May 2, 2026 02:47
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