Dataset search command APP-7392#11
Conversation
ivpusic
commented
Mar 4, 2026
PR SummaryCursor Bugbot is generating a summary for commit 560e425. Configure here. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughAdds two new top-level CLI commands: Changes
Sequence Diagram(s)sequenceDiagram
participant CLI as CLI (dataset search)
participant Client as duneapi-client-go
participant API as Dune API
CLI->>Client: Build SearchDatasetsRequest from flags
CLI->>Client: client.SearchDatasets(req)
Client->>API: HTTP request (search datasets)
API-->>Client: Search response (results, total)
Client-->>CLI: Return response or error
CLI-->>CLI: Render JSON or table output
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Comment |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Local replace directive accidentally committed in go.mod
- Removed the local replace directive from go.mod and restored the checksums for the published v0.4.0 version in go.sum by running go mod tidy.
Or push these changes by commenting:
@cursor push ece6cd8c2d
Preview (ece6cd8c2d)
diff --git a/go.mod b/go.mod
--- a/go.mod
+++ b/go.mod
@@ -39,5 +39,3 @@
golang.org/x/sys v0.37.0 // indirect
golang.org/x/text v0.24.0 // indirect
)
-
-replace github.com/duneanalytics/duneapi-client-go => ../../duneapi-client-go
diff --git a/go.sum b/go.sum
--- a/go.sum
+++ b/go.sum
@@ -29,6 +29,8 @@
github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/duneanalytics/duneapi-client-go v0.4.0 h1:uK3cCIjhuMl3mGEfNivzj7AoA2H4T6QSgSnIIO4IlWI=
+github.com/duneanalytics/duneapi-client-go v0.4.0/go.mod h1:7pXXufWvR/Mh2KOehdyBaunJXmHI+pzjUmyQTQhJjdE=
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
github.com/lucasb-eyer/go-colorful v1.3.0 h1:2/yBRLdWBZKrf7gB40FoiKfAWYQ0lqNcbuQwVHXptag=Comment @cursor review or bugbot run to trigger another review on this PR
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@go.mod`:
- Line 43: Remove the local-path replace in go.mod that pins
github.com/duneanalytics/duneapi-client-go to ../../duneapi-client-go; instead
delete the replace directive so the module resolves from its canonical source
(or update it to a proper versioned module path), ensuring builds are
reproducible and CI/downstream consumers won't fail.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 1c57758d-9496-4f4e-b04f-3297e56a731c
⛔ Files ignored due to path filters (1)
go.sumis excluded by!**/*.sum
📒 Files selected for processing (5)
cli/root.gocmd/dataset/dataset.gocmd/dataset/search.gocmd/dataset/search_test.gogo.mod
