Skip to content

feat(git-graph): add comark-git-graph, commit graphs from pasted git output - #418

Merged
vite-hub[bot] merged 1 commit into
mainfrom
feat/git-graph
Nov 13, 2026
Merged

vite-hub[bot] merged 1 commit into
mainfrom
feat/git-graph

Conversation

@onmax

@onmax onmax commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner

Agents keep drawing git graphs for plans and PR evidence (backports, stacks, release lines), and Mermaid's gitGraph stops being readable past a dozen commits: a cherry-pick is an arrow across every lane in between, and labels collide in a 728px column.

This adds comark-git-graph. The block holds what git printed, pasted as is: git log --graph --oneline --decorate --parents for the commits, branches, merges and tags, and for a backport git cherry -v plus a git cherry-pick dry run. Forks and merges come from the parent hashes, not from git's ASCII drawing. A pick sits on its source's row, numbered in the order it ran, with the conflicting files under the commit. A stack splits into one lane per branch, and a merged and deleted branch gets its name from the merge message. Props follow git log: reverse and max-count, plus title and #title/#footer slots. The layout follows Sapling's smartlog, with the graph as a narrow gutter, inside the same card as ::diff. It went through three rounds on a prototype canvas.

It's registered in comark-ui's preset for HTML, Vue, React and Svelte, in comark-linter (COMARK4701 to 4707, each with a doctor page), in the docs rail and in the comark-ui skill.

New block, so the evidence is after only: after on Drop

The tests read real transcripts that packages/git-graph/scripts/fixtures.sh records from scratch repos with fixed dates. e2e/git-graph.e2e.ts checks that every dot sits on the middle of its row under a host's prose styles, at 360 and 760px, light and dark. pnpm ready passes here except remark-to-comark's CLI test "refuses to migrate with no git repository", which timed out at 5s under load on a shared machine; it doesn't touch this package.

@pullfrog

pullfrog Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

This run was cancelled before it finished.

Pullfrog  | View workflow run | via Pullfrog

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

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

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-13T15:45:41.613950Z
We couldn’t complete this review. Comment @codex review to try again.
b8d69f0 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@vite-hub
vite-hub Bot merged commit f69708d into main Nov 13, 2026
1 of 2 checks passed
@vite-hub
vite-hub Bot deleted the feat/git-graph branch November 13, 2026 15:45
@vite-hub

vite-hub Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor
Session Status Started Duration
Pending Completed Not started —

Latest result

Pull request merged.

Final answers

Session

Pull request merged.

Session

Pull request merged.

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