Skip to content

feat(design): render report charts from tokens (#4758) - #7608

Merged
dan-petty merged 2 commits into
mainfrom
feat/4758-report-charts-from-tokens
Nov 28, 2026
Merged

dan-petty merged 2 commits into
mainfrom
feat/4758-report-charts-from-tokens

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Added the optional report extra (altair==6.3.0, vl-convert-python==1.9.0.post1) to pyproject.toml and uv.lock while keeping devops_cli.design importable without those optional packages.

Implemented src/devops_cli/design/charts.py with token-driven vega_config(mode), registered Altair themes devops-light and devops-dark, render_svg_pair(chart) using vl_convert.vegalite_to_svg, and C4–C12 SRE figure builders (burn_rate_chart, error_budget_chart, latency_chart, traffic_chart, errors_chart, saturation_chart, golden_signal_charts, toil_chart), verified in tests/design/test_charts.py.

Closes #4758
Change: openspec/changes/archive/2026-11-28-4758-report-charts-from-tokens/

@dan-petty dan-petty added type/feature Type feature: a new function scope/design The design spec, its tokens and their build labels Nov 28, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 28, 2026 17:17
@dan-petty

Copy link
Copy Markdown
Owner Author

Check results

Head commit: f41dc5047c8eb6fec48653c150524f361f17267a

Check Conclusion Link
Upload Scan SARIF success run
Tests & Coverage success run
devops-cli success run
zizmor success run
trivy-config success run
Trivy success run
Service Image Tests (shard 1 of 6) success run
Service Image Tests (shard 4 of 6) success run
Service Image Tests (shard 6 of 6) success run
Service Image Tests (shard 3 of 6) success run
Service Image Tests (shard 2 of 6) success run
Service Image Tests (shard 5 of 6) success run
Changed-Test Independence success run
CodeQL success run
Plan Check skipped run
Test Job Duration skipped run
Fail-to-Pass Check skipped run
Dependency Freshness skipped run
Tests on Main skipped run
Tests & Coverage (shard 2 of 6) success run
Tests & Coverage (shard 1 of 6) success run
Tests & Coverage (shard 5 of 6) success run
Changed-Test Independence (run 3 of 3) success run
Tests & Coverage (shard 6 of 6) success run
Changed-Test Independence (run 2 of 3) success run
Tests & Coverage (shard 3 of 6) success run
Tests & Coverage (shard 4 of 6) success run
Service Image success run
Design Tokens success run
Static Analysis success run
Changed-Test Independence (run 1 of 3) success run
Docs Site Build success run
Runner Image success run
DevContainer Image success run
Service Image Build success run
Semantic PR title success run
Analyze (python) success run
Analyze (actions) success run

Skipped check: Plan Check
Skipped check: Test Job Duration
Skipped check: Fail-to-Pass Check
Skipped check: Dependency Freshness
Skipped check: Tests on Main

@dan-petty
dan-petty merged commit fdf16f7 into main Nov 28, 2026
38 checks passed
@dan-petty
dan-petty deleted the feat/4758-report-charts-from-tokens branch November 28, 2026 17:19
dan-petty-release Bot added a commit that referenced this pull request Nov 28, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.237.0](v0.236.0...v0.237.0)
(2026-11-28)


### Features

* **design:** render report charts from tokens
([#4758](#4758))
([#7608](#7608))
([fdf16f7](fdf16f7))
* **monitoring:** export outdated dependencies from Renovate
([#4911](#4911))
([#7603](#7603))
([130a7aa](130a7aa))
* **monitoring:** show soft-cap and fix-check results
([#4868](#4868))
([#7607](#7607))
([9c9ea7e](9c9ea7e))
* **output:** add Rich theme of status roles and marks
([#7606](#7606))
([82a82f6](82a82f6))
* **telemetry:** rank usage errors by proposal class
([#7609](#7609))
([dd569fd](dd569fd)),
closes [#4840](#4840)


### Bug Fixes

* **ci:** refuse other commits on release branch
([#7220](#7220))
([#7610](#7610))
([5866f42](5866f42))
* **k8s:** wire mcp-server cluster tool settings
([#7348](#7348))
([#7605](#7605))
([76f326b](76f326b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/design The design spec, its tokens and their build type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(design): render report charts from the design tokens

1 participant