Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub. |
7645fda to
6a19a76
Compare
There was a problem hiding this comment.
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/ColumnByteaArrayand addDefaultColumns. - Add
SubstrByteahelper and replacepostgres.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.
6a19a76 to
1c45a5f
Compare
There was a problem hiding this comment.
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.
1c45a5f to
f1e7bf6
Compare
07c46bb to
8933347
Compare
go-jet has a breaking change. Did it's update and workaround on a different commit.