Skip to content

fix: GPU dashboard queries fail to parse (invalid regex escapes) - #758

Merged
jeefy merged 1 commit into
cncf:mainfrom
jeefy:gpu-dashboard-fix-regex
Oct 15, 2026
Merged

jeefy merged 1 commit into
cncf:mainfrom
jeefy:gpu-dashboard-fix-regex

Conversation

@jeefy

@jeefy jeefy commented Oct 15, 2026

Copy link
Copy Markdown
Member

Fixes the broken GPU dashboard from #757: re.escape produced \- which RE2 rejects, and a plain \. is also invalid inside a PromQL double-quoted string (Go escaping). Literal dots are now written as [.], which needs no escaping anywhere.

Verified: all 37 panel queries parse against Prometheus v3.5.0 (/api/v1/query returns success for each). The $Scaleset variable regex still matches exactly the four GPU scale sets and excludes cncf-c-ubuntu-2-8-x86.

Signed-off-by: Jeffrey Sica <me@jeefy.dev>
@github-actions github-actions Bot added needs-kind Indicates an issue or PR that is missing an issue type or kind (a kind/foo label) needs-area Indicates an issue or PR missing an area label needs-priority Indicates an issue or PR missing a priority label needs-status Indicates an issue or PR missing a status label area/ci CI/CD infrastructure and automation labels Oct 15, 2026
@github-actions github-actions Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 15, 2026
@github-actions

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jeefy

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jeefy
jeefy merged commit d9af42c into cncf:main Oct 15, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/ci CI/CD infrastructure and automation needs-area Indicates an issue or PR missing an area label needs-kind Indicates an issue or PR that is missing an issue type or kind (a kind/foo label) needs-priority Indicates an issue or PR missing a priority label needs-status Indicates an issue or PR missing a status label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant