Skip to content

fix(visualize): tolerate UTF-8 BOM and redacted product YAML - #58

Merged
fmenesesg merged 1 commit into
mainfrom
fix/visualize-bom-redacted-yaml
Jul 9, 2026
Merged

fix(visualize): tolerate UTF-8 BOM and redacted product YAML#58
fmenesesg merged 1 commit into
mainfrom
fix/visualize-bom-redacted-yaml

Conversation

@fmenesesg

Copy link
Copy Markdown
Collaborator

Summary

  • Strip UTF-8 BOM when loading manifest, backends, proxy JSON, applications, and product YAML
  • Ignore strict product YAML parse errors so redacted toolbox exports still visualize (fallback to system_name)

Test plan

  • go test ./internal/visualize/...
  • TestStripUTF8BOM, TestLoadExportWithUTF8BOM

Made with Cursor

Strip BOM from manifest, backend, proxy, and application JSON reads.
Skip strict product YAML parse failures so redacted toolbox exports still
visualize with system_name as display fallback.

Co-authored-by: Cursor <cursoragent@cursor.com>
@fmenesesg
fmenesesg requested a review from pcastelo as a code owner July 9, 2026 20:37
@fmenesesg
fmenesesg merged commit af30c0b into main Jul 9, 2026
1 check passed
@fmenesesg
fmenesesg deleted the fix/visualize-bom-redacted-yaml branch July 9, 2026 20:38
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.

1 participant