Skip to content

fix(git-graph): clear the Doctor warnings that fail check on main - #427

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

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

Conversation

@onmax

@onmax onmax commented Nov 13, 2026

Copy link
Copy Markdown
Owner

Since #418 merged, check fails on main and on every open PR: vite-doctor in packages/git-graph reports 5 warnings, and the package runs it with --max-warnings 0.

  • 4× TS0008: [...] as ElementNode on node literals in src/index.ts and src/draw.ts. These are now satisfies ElementNode, which checks the same shape without an assertion.
  • 1× TS0012: filter().map() over the commits in src/read.ts. It's one flatMap now, same order and output.

pnpm run doctor in packages/git-graph goes from 5 warnings to 0. The git-graph tests (16), pnpm run typecheck and vp check on the package pass. No behavior change.

Unblocks #419, #420, #421, #423 and #424.

@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-13T19:58:41.446690Z
We couldn’t complete this review. Comment @codex review to try again.
d22f0b7 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 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

Waiting for review checks before the next pass.

Session

Waiting for review checks before the next pass.

Session

Waiting for review checks before the next pass.

Session

Waiting for review checks before the next pass.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found. No P0 or P1 findings remain.

Reviewed changes — Reviewed all three files in the git-graph Doctor fix for type safety and behavioral equivalence.

  • Node type checks: Four node literals now use satisfies ElementNode, preserving their runtime markup while removing assertion warnings.
  • Commit folding: The combined flatMap() retains the original commit indices, output order, and merge-reference remapping while excluding folded duplicates.
  • Validation: All 16 git-graph tests pass; the package build, publint, changed-module typecheck, and vp check pass. Package Doctor reports zero warnings.

Pullfrog  | View workflow run | Using gpt-6.1-sol(xhigh) | 𝕏

@pkg-pr-new

pkg-pr-new Bot commented Nov 13, 2026

Copy link
Copy Markdown

Open in StackBlitz

comark-annotate

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-annotate@427

comark-badge

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-badge@427

comark-cards

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-cards@427

comark-carousel

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-carousel@427

comark-cast

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-cast@427

comark-charts

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-charts@427

comark-chat

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-chat@427

comark-chips

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-chips@427

comark-cjk

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-cjk@427

comark-code

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-code@427

comark-code-notes

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-code-notes@427

comark-colors

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-colors@427

comark-comments

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-comments@427

comark-critic

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-critic@427

comark-deflist

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-deflist@427

comark-details

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-details@427

comark-diagrams

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-diagrams@427

comark-diff

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-diff@427

comark-embed

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-embed@427

comark-fields

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-fields@427

comark-figure

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-figure@427

comark-file-tree

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-file-tree@427

comark-footnotes

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-footnotes@427

comark-git-graph

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-git-graph@427

comark-github

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-github@427

comark-icon

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-icon@427

comark-include

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-include@427

comark-keys

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-keys@427

comark-links

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-links@427

comark-linter

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-linter@427

comark-magic-move

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-magic-move@427

comark-mark

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-mark@427

markdown-it-to-comark

pnpm add https://pkg.pr.new/onmax/comark-ui/markdown-it-to-comark@427

marked-to-comark

pnpm add https://pkg.pr.new/onmax/comark-ui/marked-to-comark@427

comark-mathml

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-mathml@427

comark-media

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-media@427

comark-metrics

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-metrics@427

migrate-to-comark

pnpm add https://pkg.pr.new/onmax/comark-ui/migrate-to-comark@427

comark-outline

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-outline@427

comark-properties

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-properties@427

comark-qr

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-qr@427

comark-quiz

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-quiz@427

comark-reading-time

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-reading-time@427

remark-to-comark

pnpm add https://pkg.pr.new/onmax/comark-ui/remark-to-comark@427

comark-sources

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-sources@427

comark-steps

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-steps@427

comark-table

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-table@427

comark-tabs

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-tabs@427

comark-tests

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-tests@427

comark-time

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-time@427

comark-ui

pnpm add https://pkg.pr.new/onmax/comark-ui@427

comark-xref

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-xref@427

comark-zoom

pnpm add https://pkg.pr.new/onmax/comark-ui/comark-zoom@427

commit: d22f0b7

@vite-hub
vite-hub Bot merged commit 2223129 into main Nov 13, 2026
7 checks passed
@vite-hub
vite-hub Bot deleted the fix/git-graph-doctor branch November 13, 2026 20:09
@github-actions github-actions Bot mentioned this pull request Nov 13, 2026
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