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

KusionStack / karpor / 38044415156
65%

Build:
DEFAULT BRANCH: main
Ran 10 Oct 2026 10:18AM UTC
Jobs 1
Files 68
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

10 Oct 2026 10:17AM UTC coverage: 63.801%. Remained the same
38044415156

push

github

web-flow
fix: satisfy nilnil in the AI search test stub (#857)

<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
## What type of PR is this?

/kind bug

## What this PR does / why we need it:

After #855, Golang Lint fails on `pkg/core/manager/ai/search_test.go`:
`fakeAIProvider.GenerateStream` returned `nil, nil`, which `nilnil`
rejects (`return both a nil error and an invalid value`).

`GenerateStream` is only implemented so the stub satisfies
`ai.AIProvider`. `TestConvertTextToSQL` calls `Generate`, not
`GenerateStream`. The stub now returns a non-nil error (`not
implemented`) with a nil channel, which matches the real clients'
failure path and clears the linter.

## Which issue(s) this PR fixes:

No linked issue. This restores the Golang Lint check that started
failing on `main` after #855.

## Validation

- `go test ./pkg/core/manager/ai/` passes.
- `golangci-lint` v1.62.0 (same version as CI) on
`./pkg/core/manager/ai/...` exits clean, including `nilnil`.

<!-- CURSOR_AGENT_PR_BODY_END -->

<div><a
href="https://cursor.com/agents/bc-37db8b8e-afa8-5a7b-896f-fe51780d5171?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-web-light.png"><img
alt="Open in Web" width="114" height="28"
src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a>&nbsp;<a
href="https://cursor.com/background-agent?bcId=bc-37db8b8e-afa8-5a7b-896f-fe51780d5171&cursor_ref=pr_footer&cursor_cta=open_in_cursor"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img
alt="Open in Cursor" width="131" height="28"
src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a>&nbsp;</div>

Co-a... (continued)

4394 of 6887 relevant lines covered (63.8%)

0.7 hits per line

Jobs
ID Job ID Ran Files Coverage
1 38044415156.1 10 Oct 2026 10:18AM UTC 68
63.8
GitHub Action Run
Source Files on build 38044415156
  • Tree
  • List 68
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 42cdecd8 on github
  • Prev Build on main (#38034575026)
  • Next Build on main (#38127088878)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc