Skip to content

fix: report exact upstream divergence in control map - #148

Merged
PatrickSys merged 1 commit into
mainfrom
fix/control-map-divergence-20261205c
Dec 5, 2026
Merged

PatrickSys merged 1 commit into
mainfrom
fix/control-map-divergence-20261205c

Conversation

@PatrickSys

Copy link
Copy Markdown
Owner

With status.aheadBehind=false, a checkout one commit behind its upstream appears up to date in control-map --json.

To reproduce, use a checkout one commit behind its configured upstream, run git config status.aheadBehind false, and run node .work/bin/gsdd.mjs control-map --json. The canonical_worktree.ahead_behind.behind field was 0 and now reports 1.

Pass --ahead-behind to the existing Git status command so Control Map gets the exact counts. The regression test reproduces this with a local upstream branch.

Tests passed in all 38 files. The counted runs recorded 2,157 passes and four existing skips after rerunning the 19 historical cases with their release refs present. Syntax checks passed for 40 CLI modules and the changed test file.

@vercel

vercel Bot commented Dec 5, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
workspine Ready Ready Preview Dec 5, 2026 9:05am UTC

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 5, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-05T09:06:03.624790Z 947e1c7 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@PatrickSys
PatrickSys merged commit 3056b74 into main Dec 5, 2026
4 checks passed
@PatrickSys
PatrickSys deleted the fix/control-map-divergence-20261205c branch December 5, 2026 09:18

This branch was successfully deployed

1 active deployment
Preview — 947e1c7c Deployed Dec 5, 2026 by vercel[bot]
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