Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

ci: pin the analyst chart window to the trailing 7 days (#14898)

Tobias Wochingera319ab629f71
diff --git a/.github/workflows/ci-runtime-analyst.lock.yml b/.github/workflows/ci-runtime-analyst.lock.yml
index 7d24e87623..9eda7596eb 100644
--- a/.github/workflows/ci-runtime-analyst.lock.yml
+++ b/.github/workflows/ci-runtime-analyst.lock.yml
@@ -1,4 +1,4 @@
-# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"c6c68d0b4c6aeab2b8ca1ac77f7f1b8f16f3458d5c4d8702d67a5d2a0bd09880","body_hash":"babe53d3a3d528f6b4d52b528f2b6f739ca403914eace0f41eb3fa3fa134cca8","compiler_version":"v0.82.0","agent_id":"claude","agent_model":"claude-opus-4-8","engine_versions":{"claude":"2.1.195"}}
+# gh-aw-metadata: {"schema_version":"v4","frontmatter_hash":"c6c68d0b4c6aeab2b8ca1ac77f7f1b8f16f3458d5c4d8702d67a5d2a0bd09880","body_hash":"68884fd960090eddb55065b863b96d5210efca5a6d4b3e25f2771267893daf79","compiler_version":"v0.82.0","agent_id":"claude","agent_model":"claude-opus-4-8","engine_versions":{"claude":"2.1.195"}}
# gh-aw-manifest: {"version":1,"secrets":["CLAUDE_API_KEY","DOCKERHUB_TOKEN_READ","DOCKERHUB_USERNAME_READ","GH_AW_CI_ANALYST_TOKEN","GH_AW_CI_TRIGGER_TOKEN","GH_AW_GITHUB_MCP_SERVER_TOKEN","GH_AW_GITHUB_TOKEN","GITHUB_TOKEN"],"actions":[{"repo":"actions/cache/restore","sha":"55cc8345863c7cc4c66a329aec7e433d2d1c52a9","version":"v6.1.0"},{"repo":"actions/cache/save","sha":"55cc8345863c7cc4c66a329aec7e433d2d1c52a9","version":"v6.1.0"},{"repo":"actions/checkout","sha":"9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0","version":"v7.0.0"},{"repo":"actions/download-artifact","sha":"3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c","version":"v8.0.1"},{"repo":"actions/github-script","sha":"3a2844b7e9c422d3c10d287c895573f7108da1b3","version":"v9.0.0"},{"repo":"actions/setup-node","sha":"48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e","version":"v6.4.0"},{"repo":"actions/upload-artifact","sha":"043fb46d1a93c77aae656e7c1c64a875d1fc6a0a","version":"v7.0.1"},{"repo":"docker/login-action","sha":"650006c6eb7dba73a995cc03b0b2d7f5ca915bee","version":"v4.2.0"},{"repo":"github/gh-aw-actions/setup","sha":"2ad2a516e432f0a0000cfaed33d262a380f9e58f","version":"v0.82.0"},{"repo":"pnpm/action-setup","sha":"0ebf47130e4866e96fce0953f49152a61190b271","version":"v6.0.9"}],"containers":[{"image":"ghcr.io/github/gh-aw-firewall/agent:0.27.13","digest":"sha256:691a06b64961b5b35aac117eaace202fa721e91da19d1d2e22dcdd6663cd571b","pinned_image":"ghcr.io/github/gh-aw-firewall/agent:0.27.13@sha256:691a06b64961b5b35aac117eaace202fa721e91da19d1d2e22dcdd6663cd571b"},{"image":"ghcr.io/github/gh-aw-firewall/api-proxy:0.27.13","digest":"sha256:c57febf4aeeefbb4fd96f5b12c07f4279ca55edca6a700032debf9dd0787286e","pinned_image":"ghcr.io/github/gh-aw-firewall/api-proxy:0.27.13@sha256:c57febf4aeeefbb4fd96f5b12c07f4279ca55edca6a700032debf9dd0787286e"},{"image":"ghcr.io/github/gh-aw-firewall/squid:0.27.13","digest":"sha256:700b1b5a73098373b04fb684f291e95d9be0124ab559717b04f27acaf8b41bed","pinned_image":"ghcr.io/github/gh-aw-firewall/squid:0.27.13@sha256:700b1b5a73098373b04fb684f291e95d9be0124ab559717b04f27acaf8b41bed"},{"image":"ghcr.io/github/gh-aw-mcpg:v0.3.32","digest":"sha256:63e46b56dfd70895a701b6fc6dd0189e11e2d875f327f1781e81b31848735477","pinned_image":"ghcr.io/github/gh-aw-mcpg:v0.3.32@sha256:63e46b56dfd70895a701b6fc6dd0189e11e2d875f327f1781e81b31848735477"},{"image":"ghcr.io/github/gh-aw-node","digest":"sha256:529d02eb970b1161aa25c593a9c3df57fdfad5a8add328cb3b6eccef66f3183b","pinned_image":"ghcr.io/github/gh-aw-node@sha256:529d02eb970b1161aa25c593a9c3df57fdfad5a8add328cb3b6eccef66f3183b"},{"image":"ghcr.io/github/github-mcp-server:v1.5.0","digest":"sha256:e25564dccc9110a70a77b9df560cbde11aa392fcb5f08b9abe5c4ebc6d146ea4","pinned_image":"ghcr.io/github/github-mcp-server:v1.5.0@sha256:e25564dccc9110a70a77b9df560cbde11aa392fcb5f08b9abe5c4ebc6d146ea4"}]}
# This file was automatically generated by gh-aw (v0.82.0). DO NOT EDIT. To debug this workflow, load the skill at https://github.com/github/gh-aw/blob/main/debug.md
#
diff --git a/.github/workflows/ci-runtime-analyst.md b/.github/workflows/ci-runtime-analyst.md
index e03c20e2a7..be6b9b52be 100644
--- a/.github/workflows/ci-runtime-analyst.md
+++ b/.github/workflows/ci-runtime-analyst.md
@@ -659,8 +659,10 @@ full report to the GitHub job summary AND use it verbatim as the body of
whatever you emit (PR, issue, or the noop message — the noop body is what
makes a no-action run's summary readable, so never reduce it to a one-liner).
If you decided not to recompute (e.g. a manual re-trigger shortly after the
-previous analysis), fill the chart and tables from the latest
-`history/*.json` and state that the data is reused.
+previous analysis), you may fill individual days from the latest
+`history/*.json` and state that those days are reused — but reuse never
+shrinks the chart window (see below): days the history does not cover are
+computed fresh from the API in this run.
The report always contains, in order:
@@ -680,11 +682,17 @@ A PR body additionally contains:
quoted summary line) and, separately, what could not run in the sandbox
and is covered by this PR's own CI run.
-Chart templates (GitHub renders `mermaid` fenced blocks natively). Copy them
-verbatim and only fill in the data: the x-axis days (every day that has
-merge-group runs), the value lists (daily merge-group medians in seconds,
-same day order), and each y-axis maximum (largest value in that chart
-rounded up to the next 100). Everything else is load-bearing — do NOT
+Chart templates (GitHub renders `mermaid` fenced blocks natively). The
+chart window is ALWAYS the trailing 7 calendar days ending today (UTC) —
+an invariant, independent of the trigger, of ISO-week boundaries, and of
+what any earlier run already computed. Include every day in that window
+with at least one successful merge-group run (omit zero-run days, e.g.
+weekends); take a day's medians from history when available and compute
+the missing days from the API in this run. A chart that covers fewer days
+than the window has data for is wrong. Copy the templates verbatim and
+only fill in the data: the x-axis days, the value lists (daily merge-group
+medians in seconds, same day order), and each y-axis maximum (largest
+value in that chart rounded up to the next 100). Everything else is load-bearing — do NOT
change it: the `init` line pins the series colors so that the emoji legend
line above each chart identifies the lines (xychart has no built-in legend,
and colors are otherwise theme-dependent). Palette order = series order =