Skip to content

Update go version and dependencies#744

Merged
vfusco merged 6 commits intonext/2.0from
feature/update-go
Feb 27, 2026
Merged

Update go version and dependencies#744
vfusco merged 6 commits intonext/2.0from
feature/update-go

Conversation

@vfusco
Copy link
Collaborator

@vfusco vfusco commented Feb 26, 2026

go-jet has a breaking change. Did it's update and workaround on a different commit.

@vfusco vfusco added this to the 2.0.0 milestone Feb 26, 2026
@vfusco vfusco requested a review from Copilot February 26, 2026 19:13
@vfusco vfusco self-assigned this Feb 26, 2026
Copy link

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 Go toolchain and Go module dependencies (notably go-jet), and adapts the Postgres repository layer to go-jet’s updated typing for bytea/bytea[] columns by regenerating table bindings and adjusting query construction.

Changes:

  • Bump Go version (go.mod + Dockerfile) and update multiple dependencies (go.mod/go.sum), including go-jet.
  • Regenerate/update go-jet table bindings to use ColumnBytea / ColumnByteaArray and add DefaultColumns.
  • Add SubstrBytea helper and replace postgres.SUBSTR(...) call sites; adjust one nullable bytea expression in epoch writes.

Reviewed changes

Copilot reviewed 21 out of 22 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
internal/repository/postgres/util.go Adds SubstrBytea helper to build correctly typed SUBSTR expressions over bytea.
internal/repository/postgres/output.go Switches output filtering to use SubstrBytea for bytea prefix matching.
internal/repository/postgres/input.go Switches input filtering to use SubstrBytea for bytea prefix matching.
internal/repository/postgres/epoch.go Adjusts nullable tournament address handling to a typed ByteaExpression.
internal/repository/postgres/db/rollupsdb/public/table/application.go Regenerated bindings: address/hash fields become bytea, adds DefaultColumns.
internal/repository/postgres/db/rollupsdb/public/table/commitments.go Regenerated bindings: bytea columns + DefaultColumns.
internal/repository/postgres/db/rollupsdb/public/table/epoch.go Regenerated bindings: bytea/bytea[] columns + DefaultColumns.
internal/repository/postgres/db/rollupsdb/public/table/execution_parameters.go Regenerated bindings: adds DefaultColumns.
internal/repository/postgres/db/rollupsdb/public/table/input.go Regenerated bindings: bytea columns + DefaultColumns.
internal/repository/postgres/db/rollupsdb/public/table/match_advances.go Regenerated bindings: bytea columns + DefaultColumns.
internal/repository/postgres/db/rollupsdb/public/table/matches.go Regenerated bindings: bytea columns + DefaultColumns.
internal/repository/postgres/db/rollupsdb/public/table/node_config.go Regenerated bindings: adds DefaultColumns.
internal/repository/postgres/db/rollupsdb/public/table/output.go Regenerated bindings: bytea/bytea[] columns + DefaultColumns.
internal/repository/postgres/db/rollupsdb/public/table/report.go Regenerated bindings: bytea column + DefaultColumns.
internal/repository/postgres/db/rollupsdb/public/table/schema_migrations.go Regenerated bindings: adds DefaultColumns.
internal/repository/postgres/db/rollupsdb/public/table/state_hashes.go Regenerated bindings: bytea column + DefaultColumns.
internal/repository/postgres/db/rollupsdb/public/table/tournaments.go Regenerated bindings: bytea columns + DefaultColumns.
go.mod Bumps Go version and updates direct/indirect module requirements.
go.sum Updates dependency checksums consistent with go.mod changes.
THIRD_PARTY_LICENSES.md Updates recorded dependency versions/licenses to match dependency bumps.
Dockerfile Updates installed Go toolchain version and corresponding SHA256 checks.

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

mpolitzer
mpolitzer previously approved these changes Feb 26, 2026
Copy link

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

Copilot reviewed 23 out of 24 changed files in this pull request and generated 5 comments.


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

@vfusco vfusco requested a review from mpolitzer February 27, 2026 00:04
mpolitzer
mpolitzer previously approved these changes Feb 27, 2026
@vfusco vfusco merged commit 8933347 into next/2.0 Feb 27, 2026
6 checks passed
@vfusco vfusco deleted the feature/update-go branch February 27, 2026 14:25
@github-project-automation github-project-automation bot moved this from Waiting Merge to Done in Rollups SDK Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants