Skip to content

fix: add sandbox cleanup + chart metadata test script - #18

Open
WinterChenS wants to merge 1 commit into
mainfrom
feature/20260629/chart-single-source-truth-clean
Open

fix: add sandbox cleanup + chart metadata test script#18
WinterChenS wants to merge 1 commit into
mainfrom
feature/20260629/chart-single-source-truth-clean

Conversation

@WinterChenS

Copy link
Copy Markdown
Owner

Summary

Two portable fixes applied to the main branch:

  1. Sandbox file cleanup: Generated PNG and metadata.json files are now deleted after successful upload/scan, preventing disk accumulation
  2. Chart metadata test script: scripts/test_chart_metadata.py — 23 offline unit tests covering Palette, FontManager, ChartSpec, ChartResult, and render_from_spec across all 6 chart types

Why a new branch?

The original feature/20260629/chart-single-source-truth branch was based on an old commit and developed ChartSpec-first architecture. Meanwhile, PR #15 merged a different implementation of the same features into main. Rather than resolving 25+ merge conflicts, this clean branch applies only the portable fixes on top of main.

🤖 Generated with Claude Code

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