Skip to content

chore: remove Lava testnet deploy target - #18

Merged
nimrod-teich merged 1 commit into
mainfrom
chore/remove-testnet
Nov 10, 2026
Merged

nimrod-teich merged 1 commit into
mainfrom
chore/remove-testnet

Conversation

@LudiSistemas

Copy link
Copy Markdown
Contributor

DO NOT MERGE before Nov 10. Part of the Lava testnet (lava-testnet-2) sunset. Opened as a draft so it cannot be merged by accident; it will be marked ready once removal is approved.

Why

The Lava testnet is being shut down. This repo offered a testnet deployment target for the indexer. After this change the deploy workflow is mainnet-only.

What changed

  • .github/workflows/deploy.yml: testnet removed from the environment choice.
  • .github/workflows/ci.yml: push trigger no longer includes the testnet branch.
  • README.md: CI/CD section updated to match.

What is intentionally unchanged

  • The mainnet deploy path is unchanged: GitHub environment mainnet, ECS task definition lava-indexer-mainnet-indexer, same image tags.
  • build.yml and publish.yml had nothing testnet-specific.
  • Indexer code and tests that mention lava-testnet-2 (start-height handling, chain-id guard, multi-endpoint tests in internal/rpc) stay. That is generic chain logic and test data, not a testnet deployment.
  • The .env.example comment about naming compose stacks lava-mainnet / lava-testnet stays; it is a generic example.

Verification

  • CI on this PR runs go vet, go build and go test. The change touches no Go code.

Not covered here (infra, handled separately after approval)

  • GitHub environment testnet and its secrets (AWS_ROLE_ARN).
  • Any testnet git branch (CI used to trigger on it).
  • ECS service lava-indexer-testnet and its RDS instance (defined in the devops Terraform, components/lava-indexer/terraform/tfvars/testnet.tfvars). RDS keeps a final snapshot on destroy.
  • testnet-indexer-status.lavanet.xyz DNS record.

The Lava testnet (lava-testnet-2) is being sunset, so the indexer no
longer offers a testnet deployment.

- deploy.yml: testnet removed from the environment choice. The
  mainnet path (environment `mainnet`, task definition
  lava-indexer-mainnet-indexer) is unchanged.
- ci.yml: push trigger no longer includes the testnet branch.
- README: CI/CD section updated to match.

Intentionally kept: indexer code and tests that mention testnet-2
(start-height handling, chain-id guard, multi-endpoint tests). That is
generic chain logic and test data, not a testnet deployment.

Not covered here (infra, handled separately): the GitHub `testnet`
environment and its secrets, the lava-indexer-testnet ECS service and
RDS instance, and testnet-indexer-status.lavanet.xyz.
@LudiSistemas LudiSistemas self-assigned this Nov 9, 2026
@nimrod-teich nimrod-teich changed the title [DO NOT MERGE before Nov 10] chore: remove Lava testnet deploy target chore: remove Lava testnet deploy target Nov 10, 2026
@nimrod-teich
nimrod-teich marked this pull request as ready for review November 10, 2026 09:33
@nimrod-teich
nimrod-teich merged commit 1f96766 into main Nov 10, 2026
1 check passed
@nimrod-teich
nimrod-teich deleted the chore/remove-testnet branch November 10, 2026 09:34
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