Skip to content

Add change summary and diagram to competitive matrix PRs#55

Merged
jpr5 merged 3 commits intomainfrom
feat/competitive-matrix-pr-summary
Mar 23, 2026
Merged

Add change summary and diagram to competitive matrix PRs#55
jpr5 merged 3 commits intomainfrom
feat/competitive-matrix-pr-summary

Conversation

@jpr5
Copy link
Copy Markdown
Contributor

@jpr5 jpr5 commented Mar 23, 2026

Summary

  • The update-competitive-matrix.ts script now accepts --summary <path> to write a markdown summary with a change table and mermaid flowchart grouped by competitor
  • The workflow uses --body-file to inject the summary directly into the PR body, avoiding shell interpolation of mermaid backtick fences
  • Mermaid node labels are quoted and subgraph IDs sanitized to handle special characters (parentheses, slashes, quotes)
  • Unit tests cover formatting, mermaid structure, escaping, and edge cases

Test plan

  • pnpm test — 1318 tests pass (13 new)
  • pnpm run format:check — clean
  • pnpm run lint — clean
  • pnpm run build — clean
  • Trigger workflow via workflow_dispatch and confirm PR body renders correctly

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 23, 2026

Open in StackBlitz

npm i https://pkg.pr.new/CopilotKit/llmock/@copilotkit/llmock@55

commit: be8bd34

jpr5 added 3 commits March 23, 2026 16:15
Writes a markdown file with a change table and mermaid flowchart
grouped by competitor. Mermaid node labels are quoted and subgraph
IDs sanitized to handle special characters in competitor/capability
names.
Covers markdown table generation, mermaid flowchart structure,
special character escaping (parentheses, quotes, slashes),
competitor grouping, node ID uniqueness, and file I/O.
Pass --summary to the script and use gh pr create --body-file to
inject the markdown directly, avoiding shell interpolation of
backticks from the mermaid code fences.
@jpr5 jpr5 force-pushed the feat/competitive-matrix-pr-summary branch from 04468b1 to be8bd34 Compare March 23, 2026 23:17
@jpr5 jpr5 merged commit 604e447 into main Mar 23, 2026
10 checks passed
@jpr5 jpr5 deleted the feat/competitive-matrix-pr-summary branch March 23, 2026 23: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