Skip to content

Update indexd#55

Merged
ChrisSchinnerl merged 3 commits intomasterfrom
christopher/update-indexd
Apr 10, 2026
Merged

Update indexd#55
ChrisSchinnerl merged 3 commits intomasterfrom
christopher/update-indexd

Conversation

@chris124567
Copy link
Copy Markdown
Member

No description provided.

@socket-security
Copy link
Copy Markdown

socket-security Bot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the project to a newer go.sia.tech/indexd release and adjusts the indexd node startup wiring to match updated client/contracts APIs.

Changes:

  • Bump go.sia.tech/indexd (and related dependencies) in go.mod/go.sum.
  • Migrate nodes/indexd.go to use go.sia.tech/indexd/client/v2 directly, add logger plumbing, and refactor contracts setup to use the new revision/locking components.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
nodes/indexd.go Updates indexd startup to new client/v2 and revised contracts initialization APIs.
go.mod Bumps indexd and other dependencies to newer versions.
go.sum Updates module checksums to match dependency bumps.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread nodes/indexd.go Outdated
Comment thread go.mod
Comment thread nodes/indexd.go Outdated
peterjan
peterjan previously approved these changes Apr 10, 2026
Copy link
Copy Markdown
Member

@peterjan peterjan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

copilot has a nit I'd apply

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@ChrisSchinnerl ChrisSchinnerl force-pushed the christopher/update-indexd branch from a90b2bb to 3d2334e Compare April 10, 2026 08:13
@ChrisSchinnerl ChrisSchinnerl merged commit 3c2f555 into master Apr 10, 2026
9 checks passed
@ChrisSchinnerl ChrisSchinnerl deleted the christopher/update-indexd branch April 10, 2026 08:17
@ChrisSchinnerl
Copy link
Copy Markdown
Member

@alexfreska this will now pull the geoip database on demand. So you'll need to update your CI to cache it like we do in the Cache GeoLite2 database step in indexd. Otherwise it pulls the database from Vercel every time.

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.

4 participants