Skip to content

Keep ABI publishes and deploys on the environment they belong to - #78

Merged
abs2023 merged 1 commit into
devfrom
fix/npm-publish-and-env-scope
Sep 22, 2026
Merged

abs2023 merged 1 commit into
devfrom
fix/npm-publish-and-env-scope

Conversation

@abs2023

@abs2023 abs2023 commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Dev publishes of @hashpower/collateral-abi update the testnet snapshot and are tagged dev (a minor bump). Main publishes update mainnet and are tagged latest. The first publish that contains real mainnet addresses is 1.0.0.
  • Keeper, market maker, vault subgraph, and points subgraph deploys skip when the only change is the other environment's config (config/prd.env on dev, config/dev.env on main).
  • Vault and points query URLs are read from VAULT_SUBGRAPH_URL and POINTS_SUBGRAPH_URL in config/dev.env and config/prd.env.

Test plan

  • Shev reviews the publish plan (collateral-abi/scripts/plan-release.mjs) and the inline config-scope step
  • Confirm a config/prd.env-only push to dev would not deploy the keeper, market maker, or subgraphs
  • Hold the merge until that review is done. Merging to dev is what publishes the dev dist-tag and redeploys dev

Made with Cursor

Dev publishes the testnet snapshot under the npm dev tag and skips a prod-config-only push. Main publishes mainnet under latest. Subgraph query URLs are read from config/dev.env and config/prd.env.

Co-authored-by: Cursor <cursoragent@cursor.com>
@abs2023
abs2023 merged commit ddf9766 into dev Sep 22, 2026
14 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.

2 participants