Skip to content

Add Dune-Origin header#46

Merged
ivpusic merged 2 commits intomainfrom
cli_headers
Mar 25, 2026
Merged

Add Dune-Origin header#46
ivpusic merged 2 commits intomainfrom
cli_headers

Conversation

@ivpusic
Copy link
Copy Markdown
Member

@ivpusic ivpusic commented Mar 25, 2026

Used for query execution attribution

@ivpusic ivpusic requested review from charisra and va3093 March 25, 2026 11:43
@cursor
Copy link
Copy Markdown

cursor bot commented Mar 25, 2026

PR Summary

Low Risk
Low risk: adds a static request header to all CLI API calls and bumps the API client dependency; behavior changes are limited to request metadata and dependency updates.

Overview
The CLI now sets env.Headers to include Dune-Origin: CLI for all API requests, enabling backend attribution of query executions.

Also bumps github.com/duneanalytics/duneapi-client-go from v0.4.4 to v0.4.5 (with corresponding go.sum updates).

Written by Cursor Bugbot for commit 4897fee. Configure here.

@ivpusic ivpusic merged commit 39b2126 into main Mar 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants