Repository navigation
build: modernize dependencies and toolchains - #2826
Merged
Merged
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
Output and compatibility
Go 1.26 reordered exported fields in
net/url.URL. D2 previously included that raw JSON representation in its diagram hash, so the toolchain update would have changed SVG IDs without changing diagram content. This adds a structural hash serializer and a cross-version regression test so Go 1.25.12 and Go 1.26.5 retain the same IDs.The 68 Go 1.26 JSON golden updates are key-order-only and canonicalize to identical data. No SVG golden was accepted for the toolchain bump.
The intentional render changes come from Chroma 2.27 and the maintained sfnt decoder. Font line metrics, advances, missing-glyph behavior, and kerning remain compatible; reviewed outline-bound corrections change board geometry by at most 4 px.
The maintained PDF fork preserves page sizes, internal/external links, and pixel-identical rendered pages.
d2.js artifact comparison
Go 1.26 emits non-trapping float-to-integer WASM instructions, so the Binaryen step now explicitly enables that feature. Binaryen still removes 899,293 bytes from the raw Go 1.26 module.
Validation
CI=1 go test ./... -count=1CI=1 go test -race ./...go vet ./...govulncheck ./...— no vulnerabilities foundgo mod tidy -diff,actionlint, shell/YAML syntax, checksums, andgit diff --checkOwner follow-up
The Windows MSI workflow lets pull requests validate release inputs while skipping EULA-dependent MSI steps until a repository owner reviews the WiX OSMF/EULA terms and sets
WIX7_EULA_ACCEPTED=true. Tag-triggered and manually dispatched MSI builds still fail closed when the variable is absent. Docker and MSI execution were not available locally; their definitions passed static validation.