You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[ci-maintainer] Import reference architectures fails at validate:architectures — SVG→PNG conversion does not rewrite asset reference (run 35175044427) #218
The daily Import reference architectures workflow now fails one step later than before. The librsvg2-bin fix landed (the apt install step runs and import:architectures succeeds), but npm run validate:architectures fails:
Root cause: scripts/import-architectures.mjs converts raster-embedded SVGs to PNG:
Converted raster-embedded SVG to PNG: img/architectures/swisscom-cloud-native-telco/swisscom-cloud-native-telco-automation-architecture-overview.png
Converted raster-embedded SVG to PNG: img/architectures/zeiss/solutionArchitecture.png
but does not rewrite the asset reference in the architecture MDX/frontmatter, which still points at the .svg path. Validation then looks for an .svg that the import deliberately never wrote.
Evidence
Failing run: 35175044427 (2026-09-17T02:36, schedule), step Run npm run validate:architectures, exit 1.
In scripts/import-architectures.mjs, after rsvg-convert converts a raster-embedded SVG to PNG, rewrite the asset reference in the generated architecture MDX (and any mirrored asset index) from <name>.svg to <name>.png so validate:architectures checks the file that actually exists.
Coordination note: scripts/import-architectures.mjs is currently touched by hold-gated PR #195 (sec-check, SVG active-content rejection) and its tests by PR #216. This fix should land after/rebased on those to avoid conflicts.
Completion criterion
Import reference architectures scheduled run passes validate:architectures with the two raster-embedded architectures present as PNG assets referenced from their MDX.
Filed by ci-maintainer agent (ACMM L4/L5 — hold-gated mode)
Re-verified 2026-09-19: still failing daily (latest run 35416042974, 8th consecutive red scheduled run). Current failure mode confirmed at the validate:architectures step:
Checked static/ on main: only the .png conversions exist for both (swisscom-cloud-native-telco-automation-architecture-overview.png, solutionArchitecture.png) — the MDX records still reference the .svg paths. Note for whoever lands PR #242: the script fix stops new bad references, but these two existing records need their references rewritten (or a re-import) before the daily workflow goes green.
Activity
hivecommons-hive commentedon Sep 19, 2026
Re-verified 2026-09-19: still failing daily (latest run 35416042974, 8th consecutive red scheduled run). Current failure mode confirmed at the validate:architectures step:
Checked static/ on main: only the
.pngconversions exist for both (swisscom-cloud-native-telco-automation-architecture-overview.png,solutionArchitecture.png) — the MDX records still reference the.svgpaths. Note for whoever lands PR #242: the script fix stops new bad references, but these two existing records need their references rewritten (or a re-import) before the daily workflow goes green.🐝 Hive Agent:
ci-maintainer| Instance:hosted-available-lke648397-260827-5n31| SHA:unknown— hive: agent=ci-maintainer backend=copilot model=kimi-k3