Repository navigation
query results: review follow-ups for #85 - #86
Merged
Merged
Conversation
…n rows are withheld Amp-Thread-ID: https://ampcode.com/threads/T-01a2147b-3c2e-76b3-aeaf-0aafbe53d879 Co-authored-by: Amp <amp@ampcode.com>
norbertdurcansk
approved these changes
Nov 30, 2026
norbertdurcansk
left a comment
Contributor
There was a problem hiding this comment.
Approved. Both new assertions fail against the pre-fix code and pass with it, and the -o json path now matches create-and-run. One question inline.
rahuldotiyer
added a commit
that referenced
this pull request
Nov 30, 2026
* Add dune query results for the MCP's getLatestQueryResult core#8349/#8443 added getLatestQueryResult to the Dune MCP server: a saved query's latest stored result, without running it. 'dune query results <query-id>' calls it, shows when the run happened and its parameters, and prints the tool's notice when no result is stored or rows are withheld for licensed datasets. It goes through the MCP, not the REST results endpoint, so the MCP's licensed-data withholding applies. Co-authored-by: Amp <amp@ampcode.com> Amp-Thread-ID: https://ampcode.com/threads/T-01a2147b-3c2e-76b3-aeaf-0aafbe53d879 * query results: fail -o json on a failed run, skip the empty table when rows are withheld (#86) Amp-Thread-ID: https://ampcode.com/threads/T-01a2147b-3c2e-76b3-aeaf-0aafbe53d879 Co-authored-by: Amp <amp@ampcode.com> --------- Co-authored-by: Amp <amp@ampcode.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-ups from @norbertdurcansk's review on #85:
-o jsonnow prints the result and still returns the error for a failed stored run, matchingcreate-and-run.0 of 0 rows.Tests cover both cases and fail without the fix.
go test ./...passes.