Skip to content

Commit 1b9a8cc

Browse files
committed
tapdb: add post migration checks
1 parent 0cb54ec commit 1b9a8cc

File tree

8 files changed

+382
-68
lines changed

8 files changed

+382
-68
lines changed

go.mod

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ require (
2020
github.com/golang-migrate/migrate/v4 v4.17.0
2121
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0
2222
github.com/grpc-ecosystem/go-grpc-middleware/providers/prometheus v1.0.0-rc.0
23-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0
23+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0
2424
github.com/jackc/pgconn v1.14.3
2525
github.com/jackc/pgerrcode v0.0.0-20240316143900-6e2875d9b438
2626
github.com/jessevdk/go-flags v1.4.0
@@ -43,9 +43,9 @@ require (
4343
golang.org/x/net v0.36.0
4444
golang.org/x/sync v0.11.0
4545
golang.org/x/term v0.29.0
46-
golang.org/x/time v0.3.0
47-
google.golang.org/grpc v1.59.0
48-
google.golang.org/protobuf v1.33.0
46+
golang.org/x/time v0.5.0
47+
google.golang.org/grpc v1.64.1
48+
google.golang.org/protobuf v1.34.2
4949
gopkg.in/macaroon-bakery.v2 v2.1.0
5050
gopkg.in/macaroon.v2 v2.1.0
5151
modernc.org/sqlite v1.34.5
@@ -55,7 +55,7 @@ require (
5555
require (
5656
dario.cat/mergo v1.0.1 // indirect
5757
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
58-
github.com/Microsoft/go-winio v0.6.1 // indirect
58+
github.com/Microsoft/go-winio v0.6.2 // indirect
5959
github.com/NebulousLabs/fastrand v0.0.0-20181203155948-6fb6489aac4e // indirect
6060
github.com/NebulousLabs/go-upnp v0.0.0-20180202185039-29b680b06c82 // indirect
6161
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5 // indirect
@@ -80,10 +80,9 @@ require (
8080
github.com/decred/dcrd/lru v1.1.2 // indirect
8181
github.com/docker/cli v28.0.1+incompatible // indirect
8282
github.com/docker/docker v28.0.1+incompatible // indirect
83-
github.com/docker/go-connections v0.4.0 // indirect
83+
github.com/docker/go-connections v0.5.0 // indirect
8484
github.com/docker/go-units v0.5.0 // indirect
8585
github.com/dustin/go-humanize v1.0.1 // indirect
86-
github.com/felixge/httpsnoop v1.0.4 // indirect
8786
github.com/fergusstrange/embedded-postgres v1.25.0 // indirect
8887
github.com/go-logr/logr v1.4.2 // indirect
8988
github.com/go-logr/stdr v1.2.2 // indirect
@@ -144,7 +143,7 @@ require (
144143
github.com/mwitkow/grpc-proxy v0.0.0-20230212185441-f345521cb9c9 // indirect
145144
github.com/ncruces/go-strftime v0.1.9 // indirect
146145
github.com/opencontainers/go-digest v1.0.0 // indirect
147-
github.com/opencontainers/image-spec v1.0.2 // indirect
146+
github.com/opencontainers/image-spec v1.1.0 // indirect
148147
github.com/opencontainers/runc v1.2.0 // indirect
149148
github.com/pkg/errors v0.9.1 // indirect
150149
github.com/pmezard/go-difflib v1.0.0 // indirect
@@ -176,25 +175,25 @@ require (
176175
go.etcd.io/etcd/raft/v3 v3.5.12 // indirect
177176
go.etcd.io/etcd/server/v3 v3.5.12 // indirect
178177
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
179-
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.46.1 // indirect
178+
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
180179
go.opentelemetry.io/otel v1.35.0 // indirect
181-
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.20.0 // indirect
180+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.29.0 // indirect
182181
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.20.0 // indirect
183182
go.opentelemetry.io/otel/metric v1.35.0 // indirect
184183
go.opentelemetry.io/otel/sdk v1.35.0 // indirect
185184
go.opentelemetry.io/otel/trace v1.35.0 // indirect
186-
go.opentelemetry.io/proto/otlp v1.0.0 // indirect
185+
go.opentelemetry.io/proto/otlp v1.3.1 // indirect
187186
go.uber.org/atomic v1.10.0 // indirect
188187
go.uber.org/multierr v1.6.0 // indirect
189188
go.uber.org/zap v1.23.0 // indirect
190189
golang.org/x/crypto v0.35.0 // indirect
191-
golang.org/x/mod v0.17.0 // indirect
190+
golang.org/x/mod v0.21.0 // indirect
192191
golang.org/x/sys v0.30.0 // indirect
193192
golang.org/x/text v0.22.0 // indirect
194-
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
195-
google.golang.org/genproto v0.0.0-20231016165738-49dd2c1f3d0b // indirect
196-
google.golang.org/genproto/googleapis/api v0.0.0-20231016165738-49dd2c1f3d0b // indirect
197-
google.golang.org/genproto/googleapis/rpc v0.0.0-20231030173426-d783a09b4405 // indirect
193+
golang.org/x/tools v0.24.0 // indirect
194+
google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9 // indirect
195+
google.golang.org/genproto/googleapis/api v0.0.0-20240513163218-0867130af1f8 // indirect
196+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240513163218-0867130af1f8 // indirect
198197
gopkg.in/errgo.v1 v1.0.1 // indirect
199198
gopkg.in/natefinch/lumberjack.v2 v2.0.0 // indirect
200199
gopkg.in/yaml.v2 v2.4.0 // indirect
@@ -209,3 +208,5 @@ require (
209208
// We want to format raw bytes as hex instead of base64. The forked version
210209
// allows us to specify that as an option.
211210
replace google.golang.org/protobuf => github.com/lightninglabs/protobuf-go-hex-display v1.33.0-hex-display
211+
212+
replace github.com/golang-migrate/migrate/v4 => github.com/guggero/migrate/v4 v4.0.0-20250328181905-0e91936b8a3b

0 commit comments

Comments
 (0)