Skip to content

Expose uncommitted worktree changes and remix divergence - #85

Merged
Mistium merged 2 commits into
mainfrom
dev-view-polish
Nov 21, 2026
Merged

Mistium merged 2 commits into
mainfrom
dev-view-polish

Conversation

@Mistium

@Mistium Mistium commented Nov 21, 2026

Copy link
Copy Markdown
Member

Summary

  • Inspect uncommitted worktree changes stored in .mwp archives against HEAD (native/gitinspection/worktree_inspect.go), expose uncommitted metadata on GET /v1/projects/:id/commits, and accept sha=worktree on commit inspection endpoints (commit detail, files, diff, summary, tree, blob, and compare).
  • Compute remix divergence (ahead / behind commit counts relative to the parent project's default branch) via gitGraph with a Go archive fallback (native/gitinspection/divergence.go, src/git/remix-divergence.osl), and expose remixFrom on project responses after verifying viewer permission on the parent project.
  • Bump version to 1.6.0.

Verification

  • go test -count=1 ./... in native/gitinspection
  • osl test src/git/pulls.test.osl src/git/remix-divergence.test.osl
  • python3 scripts/check_conventions.py --base=origin/main

@Mistium
Mistium merged commit a545c5e into main Nov 21, 2026
1 check passed
@Mistium
Mistium deleted the dev-view-polish branch November 21, 2026 10:22
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