Skip to content

Fix Balancer CoWSwap liquidity label source dependency#9546

Closed
tomfutago wants to merge 1 commit intomainfrom
cursor/fix-balancer-cowswap-label-source-5872
Closed

Fix Balancer CoWSwap liquidity label source dependency#9546
tomfutago wants to merge 1 commit intomainfrom
cursor/fix-balancer-cowswap-label-source-5872

Conversation

@tomfutago
Copy link
Copy Markdown
Contributor

@tomfutago tomfutago commented Apr 9, 2026

Thank you for contributing to Spellbook 🪄

Please open the PR in draft and mark as ready when you want to request a review.

Description:

Replace labels.balancer_cowswap_amm_pools dependencies in daily Spellbook models with chain-specific Balancer CoWSwap labels tables.

This avoids Trino analyzing the invalid stored view that references a missing hive.labels.balancer_cowswap_amm_pools_arbitrum table.

Changes included:

  • Added chain-specific label sources in sources/_subprojects_outputs/dex/_sources.yml
  • Updated Balancer CoWSwap AMM liquidity models (ethereum/base/arbitrum/gnosis) to read source('labels', 'balancer_cowswap_amm_pools_<chain>')
  • Updated labels_addresses to union chain-specific Balancer CoWSwap labels tables directly

Validation:

  • Could not run dbt compile in this cloud runtime because both pipenv and dbt are unavailable (pipenv: command not found, python3 -m dbt: No module named dbt)
  • Static verification confirms all previous direct references to source('labels', 'balancer_cowswap_amm_pools') were removed from daily models

quick links for more information:

Slack Thread

Open in Web Open in Cursor 

Co-authored-by: tomfutago <tomfutago@users.noreply.github.com>
@github-actions github-actions bot added WIP work in progress dbt: daily covers the Daily dbt subproject labels Apr 9, 2026
@tomfutago tomfutago closed this Apr 10, 2026
@github-actions github-actions bot locked and limited conversation to collaborators Apr 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dbt: daily covers the Daily dbt subproject WIP work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants