Skip to content

chore(tokens): decommission 3 unused hidden-leaf spells#9813

Closed
a-monteiro wants to merge 1 commit into
mainfrom
andre/cur2-2856-tokens-decommission
Closed

chore(tokens): decommission 3 unused hidden-leaf spells#9813
a-monteiro wants to merge 1 commit into
mainfrom
andre/cur2-2856-tokens-decommission

Conversation

@a-monteiro

@a-monteiro a-monteiro commented Jun 20, 2026

Copy link
Copy Markdown
Member

Decommissions 3 unused hidden-leaf spells in tokens as part of the compute-optimization quick wins.

Each spell is hidden (hide_spells() -> dune.visible=false), a leaf (no other dbt/sqlmesh model, exposure, or curated-data reference -- only its own schema tests), and unused by customers (zero enterprise/paid queries over Jan-Jun 2026 in QES, below the negligible-free bar). Removed: tokens_goerli.nft, tokens_optimism.erc20_generated, and tokens_goerli.transfers. The two Goerli spells target a long-dead testnet.

Compute here is marginal -- this batch is hygiene/completeness alongside the daily and hourly batches where the real savings sit.

Schema edits were done by hand: tokens_optimism.erc20_generated only aliased anchors defined in the surviving tokens_optimism_erc20_curated (clean removal), and tokens_goerli.transfers was declared under a non-standard goerlils: key (a pre-existing typo that dbt already ignores) -- that key is left untouched aside from dropping the one model block. dbt parse is clean and surviving sibling models are byte-identical.

Fixes CUR2-2856
Towards CUR2-2852

@github-actions github-actions Bot added WIP work in progress dbt: tokens covers the Tokens dbt subproject labels Jun 20, 2026
@a-monteiro a-monteiro marked this pull request as ready for review June 20, 2026 21:51

a-monteiro commented Jun 20, 2026

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions github-actions Bot added ready-for-review this PR development is complete, please review and removed WIP work in progress labels Jun 20, 2026
@cursor

cursor Bot commented Jun 20, 2026

Copy link
Copy Markdown

PR Summary

Low Risk
Leaf models with no remaining refs; impact is stopping unused pipeline builds, not changing live customer-facing tables.

Overview
Decommissions three hidden-leaf token spells that were already non-visible (hide_spells()), had no downstream dbt consumers, and showed no paid customer usage.

Deleted models: tokens_goerli_nft (joined curated NFT metadata with standards), tokens_optimism_erc20_generated (factory-derived receipt tokens from Aave, Granary, Yearn), and tokens_goerli_transfers (incremental enriched transfers on the defunct Goerli testnet). Matching tokens_goerli_schema.yml, tokens_optimism_schema.yml, and goerli/_schema.yml blocks for those models are removed; surviving Goerli models (e.g. tokens_goerli_nft_standards, tokens_goerli_base_transfers) are unchanged aside from a minor _updated_at description fix in the transfers schema file.

Reviewed by Cursor Bugbot for commit 066b316. Configure here.

@a-monteiro a-monteiro requested a review from a team June 22, 2026 07:11
@0xRobin 0xRobin self-assigned this Jun 22, 2026
@0xRobin

0xRobin commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

closing until we have a bigger mandate and guidance

@0xRobin 0xRobin closed this Jun 29, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 29, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dbt: tokens covers the Tokens dbt subproject ready-for-review this PR development is complete, please review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants