Skip to content

@gustavo/refactor/folders structure - #4

Merged
gustavobftorres merged 3 commits into
mainfrom
@gustavo/refactor/folders-structure
Apr 1, 2026
Merged

gustavobftorres merged 3 commits into
mainfrom
@gustavo/refactor/folders-structure

Conversation

@gustavobftorres

Copy link
Copy Markdown
Collaborator

Is this linked to an existing issue?
No linked issue for this migration.

Fill out the following table describing your edits:

Original Updated Change Reasoning
Multiple existing Balancer query IDs Same query IDs (no ID changes) Migrated all SQL files from legacy folders (volume, liquidity, fees, tvl, revenue, token, governance, pools, dashboards) into new taxonomy under metrics/*, analysis/*, and support/* Standardize repository organization and make classification explicit by metric, analysis type, and helper intent
Manifest entries in queries.yml Same query IDs (no ID changes) Updated category: for all migrated entries to match new destination paths Keep manifest aligned with physical file locations and new structure
Repository docs Same docs pages Updated README.md, docs/DISCOVERY.md, and queries.yml inline examples/comments to reflect the new taxonomy Ensure contributor guidance matches the migrated structure

Provide any other context or screenshots that explain or justify the changes above:

  • This PR is a structural migration only: no SQL logic changes and no query ID changes.
  • Full migration is now complete under balancer/{metrics,analysis,support,views}.
  • Legacy Balancer folders were removed after migration.
  • Validation passed after migration:
    • python3 scripts/validate.py -> All checks passed.

Checklist:

  • SQL file name follows descriptive_name_{queryId}.sql convention
  • File includes -- part of a query repo header
  • Query ID is listed in queries.yml
  • SQLFluff passes locally (sqlfluff lint <file>)
  • If adding a new query: created on dune.com first, then added to repo
  • If adding new Jinja parameters: updated the relevant .sqlfluff context

@gustavobftorres
gustavobftorres merged commit b72d7d9 into main Apr 1, 2026
1 of 2 checks passed
@gustavobftorres
gustavobftorres deleted the @gustavo/refactor/folders-structure branch April 1, 2026 19:33
gustavobftorres added a commit that referenced this pull request Apr 15, 2026
…structure

@gustavo/refactor/folders structure
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.

1 participant