woodpecker-ci: the shared chart module also owns the definitions now
This commit is contained in:
1 parent
e6d27b3775
commit
8557f636f8
1 file changed
+5
@@ -85,6 +85,11 @@ CLI, and a pinned MkDocs toolchain at `/opt/docs-venv`. It **runs as root**
|
||||
pins the copy (same pattern as the oidc client);
|
||||
`scripts/check-chart-sync.py` is the pre-deploy gate and
|
||||
`scripts/sync-chart-module.sh` re-copies + re-pins both apps in one step.
|
||||
Since 2026-11-13 the module ALSO owns the chart DEFINITIONS
|
||||
(`CHART_METRICS` + `renderChart()`): one description per chart, read by both
|
||||
UIs, so the metric list, the titles, the axis rules and the formatters cannot
|
||||
drift apart again. Each app keeps only `METRIC_SOURCE` (which fetch feeds a
|
||||
metric) and its own DOM; Money is a metric of Trends in both, not a tab.
|
||||
The vendored `tests/check-page-js.sh` in BOTH apps splices the module into
|
||||
the extracted page JS exactly as the app does — keep the two vendored
|
||||
copies byte-identical to the skill's script (md5 445cdcf59f193ff875bb634f6f790e73).
|
||||
|
||||
Reference in new issue
Block a user