You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci: address review findings across the status-comment pipeline
Fixes for the 10 open review threads:
- ucb-build-links: URL_RE now requires /builds/<digits> under the Unity hosts, mirroring build.py's producer check — query-string-only paths (open-redirect bait) no longer validate.
- pr-comment-artifact-url: artifacts list fetched with per_page=100 so unity_build_info_* cannot fall off page 1 and fake build-ran=false; the PAT expiry probe moved to gh api HEAD /rate_limit (token via env, never argv), gained continue-on-error + a 15s ceiling + a loud warning when the expiration header is absent; the dispatch-failed marker now fires on outcome != success so upstream failures (Find latest release, section upserts) no longer leave the performance section silent.
- pr-comment-test-failures: slowest/failed test names render inside inline code with backticks/pipes stripped — markdown-shaped names read as text instead of first-party links/images.
- test.yml: duration values are clamped to finite floats (float() admits nan/inf/1e999), keeping the timings JSON valid for the consumer's jq.
- visual-regression: the two comment-writing jobs drop to contents:read + pull-requests:write. Narrowing secrets:inherit needs run-visual-suite.yml to declare workflow_call secrets first (it currently instructs callers to use inherit), so that part stays.
- upsert-ci-status: fence-existence check is whole-line (grep -qxF) matching the awk matchers, so an embedded marker in a body line can no longer wedge a section; file-passed bodies are capped at 20k chars with a visible truncation note (GitHub's 65536 ceiling is shared by all sections); SECTION is validated against the fence set and fails fast; duplicate-comment GC is skipped for NO_CREATE callers; NO_CREATE waits one round before falling back to a standalone comment.
Committed via API because repository rules require verified signatures.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
❌ Could not dispatch the bare-metal benchmark — see the [step log](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}). If it says "Repository not found, OR token has insufficient permissions", the `PERFORMANCE_TESTING_PAT` secret has expired and needs to be rotated.
379
+
❌ Could not dispatch the bare-metal benchmark (the job failed before or during the dispatch) — see the [step log](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}). If it says "Repository not found, OR token has insufficient permissions", the `PERFORMANCE_TESTING_PAT` secret has expired and needs to be rotated.
0 commit comments