Skip to content

ci: skip exit code on Mermaid SVG render step for git submodule conflicts#52

Open
Copilot wants to merge 2 commits intobigtreefrom
copilot/skip-git-exit-code
Open

ci: skip exit code on Mermaid SVG render step for git submodule conflicts#52
Copilot wants to merge 2 commits intobigtreefrom
copilot/skip-git-exit-code

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 2, 2026

The render-diagrams workflow fails at step 6 ("Render Mermaid to SVG") with git exit code 128 — caused by orphaned submodule gitlink entries in the index (Networkbuster.net, android/antigravity/app/*, etc.) with no corresponding .gitmodules file, which trips up git operations during the mermaid-cli/Puppeteer process.

Change

  • Added continue-on-error: true to the "Render Mermaid to SVG" step so a git-related failure doesn't abort the workflow, allowing subsequent steps (PNG render, artifact upload) to still execute.
- name: Render Mermaid to SVG
  continue-on-error: true
  run: npx -y @mermaid-js/mermaid-cli -i "docs/diagrams/*.mmd" -o docs/diagrams -f svg
Original prompt

https://github.com/NetworkBuster/networkbuster.net/actions/runs/21741091669/job/65452859744#step:6:1 skip exit code for git reasons


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 2, 2026

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

Project Deployment Actions Updated (UTC)
.git Error Error Mar 2, 2026 7:37pm
dashboard Error Error Mar 2, 2026 7:37pm
networkbuster-net Ready Ready Preview, Comment Mar 2, 2026 7:37pm
networkbuster.net Ready Ready Preview, Comment Mar 2, 2026 7:37pm

Request Review

Co-authored-by: Cleanskiier27 <220620570+Cleanskiier27@users.noreply.github.com>
Copilot AI changed the title [WIP] Skip exit code for git reasons ci: skip exit code on Mermaid SVG render step for git submodule conflicts Mar 2, 2026
@Cleanskiier27 Cleanskiier27 marked this pull request as ready for review March 2, 2026 23:06
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.

2 participants