You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Codeg task branches use internal task IDs instead of linked issue numbers #619
This is confusing because the real issue branch expected by our workflow is 152-ai-calls-reconcile, while CodeG leaves an extra empty branch/worktree task/2. Orca then shows both branches, but Orca is correct because both are real git worktrees.
Expected behavior:
For a task linked to a GitHub issue, CodeG should name the work branch/worktree from the linked issue number/title, or at least make it clear that task/2 is CodeG’s internal task branch.
Actual behavior:
CodeG creates task/<internal_task_id> and <repo>-task-<internal_task_id>, even when source_meta.number is available.
Evidence from current CodeG source: src-tauri/src/work_task/engine.rs creates:
let branch = format!("task/{}", task.id);let dir = format!("{}-task-{}", basename(&root.path), task.id);
This caused:
work_task.id = 2
GitHub issue = #152
created branch = task/2
created worktree = WowApps-task-2
files changed = 0 because it was a report/plan task
Impact:
Users see an empty task/2 branch/worktree plus their real issue branch, and it looks like Orca/CodeG duplicated or lost the work.
I’d like to work on this. I’ll reproduce the current GitHub-issue task path on the latest main, then add source-aware worktree/branch naming while preserving unique, valid Git refs and the existing behavior for non-GitHub tasks. I’ll cover creation and recovery/retry behavior with focused tests.
Activity
dawNotPoi commentedon Sep 1, 2026
I’d like to work on this. I’ll reproduce the current GitHub-issue task path on the latest main, then add source-aware worktree/branch naming while preserving unique, valid Git refs and the existing behavior for non-GitHub tasks. I’ll cover creation and recovery/retry behavior with focused tests.
chore(main): release 2.3.0 (spacering-net#619)