Repository navigation
fix(docs): drop the non-reproducible overview PNG from regeneration - #489
Merged
Merged
Conversation
The Update Overview Diagram workflow opened a spurious pull request on its first run after merging #487. The diff touched only the PNG: the SVG and Excalidraw output were byte-identical, so the diagram content was already correct. PNG export rasterises through the local font stack, so an unchanged diagram produces different bytes on a runner than on a developer machine. Nothing embeds the PNG -- README.md and docs/src/architecture.md both reference overview.svg -- so the binary was pure churn: every automated run would have proposed a new one. The PNG is removed from the tracked tree and from the automated path. '--png-out' still works for an ad hoc raster preview; the skill documents why it should not be committed. Verified: regenerating locally now produces no diff at all, and PR #488 is closed with its branch deleted.
Contributor
Up to standards ✅🟢 Issues
|
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
Follow-up to #487. Its first
Update Overview Diagramrun opened PR #488 with a diff touching only the PNG — the SVG and Excalidraw output were byte-identical, so the diagram content was already correct.Root cause: PNG export rasterises through the local font stack, so an unchanged diagram produces different bytes on a runner than on a developer machine. I confirmed the export is deterministic within an environment (two local runs are identical) but not across environments.
Why that was pure churn: nothing embeds the PNG.
README.mdanddocs/src/architecture.mdboth referenceoverview.svg.So the PNG is removed from the tracked tree and from the automated path:
Update Overview Diagramno longer generates or commits itscripts/sync-architecture.shno longer mirrors it--png-outstill works for an ad hoc raster preview; the skill documents why it shouldn't be committedI also closed #488 and deleted its branch.
Verification
bash scripts/sync-architecture.shnow produces zero diff — previously it churned the PNG./scripts/quality-gates.sh— 19/19 passtests/overview_diagram_test.sh— still passes (it checks the Excalidraw stats, not the PNG)