Repository navigation
fix(deps): update canvas for GCC 15 source builds - #1
Merged
juan-fernandez merged 1 commit intoNov 9, 2026
Merged
juan-fernandez merged 1 commit into
juan-fernandez merged 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📑 Summary
Shepherd's scheduled Mermaid setup intermittently fails on Ubuntu 26.04 when canvas cannot download a prebuilt binary and falls back to compiling with GCC 15.
canvas@3.2.0omits<cstdint>inCharData.h, so compilation fails before any Test Optimization workload runs.Raise Mermaid's canvas development dependency from
^3.2.0to^3.2.3and regenerate the pnpm lockfile. This consumes the existing upstream fix in Automattic/node-canvas#2546 rather than maintaining another native-source patch.Failing scheduled runs:
📏 Design Decisions
Only the canvas requirement and generated lockfile change. The lockfile also normalizes existing debug optional-peer snapshots; unrelated package versions remain unchanged. The playground's test workloads and Shepherd assertions stay intact.
Validation:
<cstdint>error; forced canvas 3.2.3 source build passes. Pixel rendering, font measurement, and PNG output pass.pnpm rebuild --pendingbefore runtime validation.pnpm test.../mermaid/package.json; the identical failure reproduces at unchanged basea2b9e5a71in a separate worktree. No failing runtime tests remain.pnpm test:check:tsc, lockfile contribution checks, andgit diff --checkpass.📋 Tasks