• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Altinity / clickhouse-grafana / 22968382583
45%

Build:
DEFAULT BRANCH: master
Ran 11 Mar 2026 06:36PM UTC
Jobs 1
Files 12
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Mar 2026 06:32PM UTC coverage: 41.021% (+12.0%) from 29.059%
22968382583

push

github

Slach
fix $__searchFilter in replace() for VariableSupportType.Custom variable queries

With VariableSupportType.Custom, variable queries go through queryVariables → replace()
instead of metricFindQuery. The replace() method was handling $__searchFilter only AFTER
the Go backend call, replacing it with just '%' without the search text. Additionally,
the final templateSrv.replace used an empty scopedVars instead of options.scopedVars.

Fix: handle $__searchFilter at the top of replace() by adding it to options.scopedVars
BEFORE any template replacement or backend calls, ensuring proper '%' wildcard appending
and correct propagation through all replacement stages.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

1478 of 3603 relevant lines covered (41.02%)

0.47 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
4
0.0
-20.0% pkg/requests/request_response.go
5
0.0
-62.5% pkg/main.go
54
0.0
-76.06% pkg/query.go
59
76.63
51.3% pkg/eval/eval_query.go
59
0.0
-8.44% pkg/resource_handlers.go
77
0.0
-64.71% pkg/client.go
85
0.0
-61.15% pkg/datasource.go
116
0.0
-29.9% pkg/parser.go
161
0.0
-74.19% pkg/response.go
Jobs
ID Job ID Ran Files Coverage
1 22968382583.1 11 Mar 2026 06:36PM UTC 12
41.02
GitHub Action Run
Source Files on build 22968382583
  • Tree
  • List 12
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22968382583
  • 473a8567 on github
  • Prev Build on master (#22950646304)
  • Next Build on master (#22970749301)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc