Skip to content

fix(cube): preserve literal YAML metadata - #75

Merged
acmeguy merged 3 commits into
mainfrom
fix/spec102-live-schema
Aug 30, 2026
Merged

fix(cube): preserve literal YAML metadata#75
acmeguy merged 3 commits into
mainfrom
fix/spec102-live-schema

Conversation

@acmeguy

@acmeguy acmeguy commented Aug 30, 2026

Copy link
Copy Markdown

Intent

Fix the Cube 1.7.30 canary failure without modifying tenant models. Cube's YAML compiler treats arbitrary strings under meta as Python f-string source; JSON-valued metadata is therefore rejected. This change applies a version- and source-guarded patch that keeps meta strings literal, and adds an aggregate-only in-cluster live-schema compatibility gate.

Validation

  • Built the exact services/cubejs Dockerfile
  • Full image test corpus: 708 passed, 0 failed
  • Regression preserves the JSON-valued lc_values string exactly
  • Patch is idempotent and refuses unknown Cube versions/source layouts
  • Live-schema gate emits no tenant IDs, filenames, source, SQL, or compiler messages

@acmeguy
acmeguy merged commit d47ca64 into main Aug 30, 2026
3 checks passed
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