Optimize push-to-Dune CI: sync only changed SQL queries#20
Optimize push-to-Dune CI: sync only changed SQL queries#20VaitaR wants to merge 2 commits intoduneanalytics:mainfrom
Conversation
…y those in Dune; add error handling for query ID extraction
PR SummaryMedium Risk Overview
Written by Cursor Bugbot for commit 6eff0f3. Configure here. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
Comment @cursor review or bugbot run to trigger another review on this PR
What this PR changes
Optimize CI/CD for query sync: on push, only changed
queries/*.sqlfiles are pushed to Dune instead of all queries fromqueries.yml.Also adds:
FULL_SYNC=true)Is this linked to an existing issue
N/A
Fill out the following table describing your edits:
.github/workflows/push_to_dune.yml.github/workflows/push_to_dune.ymlscripts/push_to_dune.pyscripts/push_to_dune.pyCHANGED_QUERY_FILES) with full-sync fallback and ID parsing guardsREADME.mdREADME.mdFULL_SYNC=trueoverrideProvide any other context or screenshots that explain or justify the changes above:
Validated locally:
py_compile) forscripts/push_to_dune.py