GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — pm-dispatch sessions run in the primary clone and leave ~/git/code on their PR branches · Issue #12213 · developing-today/code

pm-dispatch sessions run in the primary clone and leave ~/git/code on their PR branches #12213

New issue
Copy link
New issue
Copy link
Closed
#12214
Closed
pm-dispatch sessions run in the primary clone and leave ~/git/code on their PR branches#12213
#12214
Copy link
Labels
status:done

Description

@dezren39
dezren39
opened on Nov 21, 2026
Issue body actions

What happened

On 2026-11-21 at 02:07 CST the laptop's pm-git-sync started failing: ~/git/code was on bolt/cache-notification-clock-formatters-12207, then on palette/add-tag-title, with a tracked edit in templates.rs while the session worked.

The commits came from two pm-dispatch sessions: "Scheduled Bolt — developing-today/code" (queue task #20901, issue #12207, PR #12210) and "Scheduled Palette — developing-today/code" (PR #12211). POST /v1/sessions defaults directory to the repo's primary clone (REPO_DIRS), so OpenCode runs the session in ~/git/code. That clone is the deploy checkout pm-git-sync keeps on clean main (#8171). The Palette branch was also cut from the Bolt branch, because both sessions shared one checkout. One session also set a repo-local user.name = repo-worker-tmp-code-b in ~/git/code/.git/config.

Fix

  • pm-dispatch gives every launch into a primary clone its own detached worktree at the remote default branch (PM_DISPATCH_WORKTREE_ROOT, default ~/git/fleet). It never runs a session in the primary. If the worktree can't be made, the launch fails the same way any other pre-session failure does (the task is cancelled and the issue gets a note).
  • The prompt prefix names the worktree and says the primary is off limits.
  • The pm-dispatch package puts git on its wrapper PATH.

Activity

  1. developing-today commented on Nov 21, 2026

    @developing-today
    developing-todayBot
    on Nov 21, 2026 – with developing.today
    Contributor
    More actions

    CODE-4442

  2. developing-today
    added
    status:in-review
    on Nov 21, 2026
  3. dezren39
    closed this as completedin #12214on Nov 21, 2026
  4. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.