Skip to content

feat(infra): rebuild the indexer with the testnet port open - #1457

Merged
MicBun merged 1 commit into
mainfrom
feat/indexer-testnet-port
Oct 29, 2026
Merged

MicBun merged 1 commit into
mainfrom
feat/indexer-testnet-port

Conversation

@MicBun

@MicBun MicBun commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Related:

The indexer's security group now allows TCP 8080 in the infra code, so a new stack, or a replaced group, keeps the port the testnet indexer serves on.

An indexer for testnet runs on the same host and serves its API on 8080 directly. That rule was added to the live group by hand, so the template does not have it.

What changes

  • NewIndexerInstance adds a TCP 8080 ingress from anywhere to the indexer's security group, next to the HTTPS rule from the PR this follows.
  • The indexer construct test now checks both rules.

Deploying it

The live group already has this rule, and CloudFormation accepts a template rule that already exists by hand (I checked that on a throwaway stack for the HTTPS rule). If the deploy that first carries it fails and rolls back, the revoke can take the live 8080 rule with it. After a rolled-back deploy, check that the group still allows 8080 and add it back if it does not.

Tests

  • go test ./lib/kwil-indexer/ passes in workspace mode, as the deploy workflows set it up. Changing the port in either rule makes the test fail.
  • The CDK app (go run cdk_main.go, as cdk.json runs it) builds.

@MicBun MicBun self-assigned this Oct 29, 2026
@holdex

holdex Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Time Submission Status

Member # Time Running Total Status Last Update
MicBun 1h ✅ Submitted Oct 29, 2026, 1:54 PM

Submit or update total time with:

@holdex pr submit-time 2h

Add time on top of previous submission with:

@holdex pr add-time 1h30m

See available commands to help comply with our Guidelines.

@coderabbitai

coderabbitai Bot commented Oct 29, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 29 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4f86f670-c885-4e99-83b2-15c9aa29f7b8
Commits

Reviewing files that changed from the base of the PR and between 3687d34 and a706fd4.

Files selected for processing: 2
  • deployments/infra/lib/kwil-indexer/kwil_indexer_instance.go
  • deployments/infra/lib/kwil-indexer/kwil_indexer_instance_test.go
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@MicBun

MicBun commented Oct 29, 2026

Copy link
Copy Markdown
Contributor Author

@holdex pr submit-time 1h

@MicBun
MicBun merged commit 842c245 into main Oct 29, 2026
8 checks passed
@MicBun
MicBun deleted the feat/indexer-testnet-port branch October 29, 2026 13:54
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.

Problem: operators can't recreate the testnet port from code

1 participant