Artifact fa9d5c075e156e7bc4c08b8b075d27367f835b94a0d2778f2e7eefd0b215f61e:
- File
observer/otel/go.mod
— part of check-in
[2de18e7747]
at
2026-07-25 01:19:03
on branch trunk
— chore: drop go.mod replace directives, unblock release (#161)
* chore: bump driver submodule requires, drop root replace directives
The db/driver submodules now have real tags under the corrected go-libfossil module path (v0.3.0 for modernc and ncruces). Root no longer needs to resolve them from local directories via replace.
go mod tidy also cleared the stale old-path (danmestas/libfossil) lines the earlier replace bridge left behind in go.sum.
* chore: drop submodule replace directives, pin root require to a pseudo-version
The three submodules required the root module (which they import directly or transitively) but no root tag has ever existed under the corrected go-libfossil path -- every prior tag (v0.1.0 through v0.6.3) still declares the old danmestas/libfossil path in its own go.mod, so pinning to any of them would reproduce the exact declares-as-X-required-as-Y failure the module rename was fixing.
Pinned each submodule's require on root to a pseudo-version of the just-pushed go.mod cleanup commit (48111c1) instead of a tag -- the standard resolution for this bootstrapping case. This is a stopgap: once the next root release tag exists, these can be bumped to point at it directly instead of the pseudo-version, but there's no functional difference in the meantime.
go mod tidy on each submodule also dropped now-unneeded indirect requires (modernc/ncruces don't actually import each other; the requires existed only to satisfy the local replace directives) and cleared the stale old-path go.sum lines.
All four go.mod files are now free of replace directives. (user: [email protected], size: 495) [annotate] [blame] [check-ins using]
module github.com/danmestas/go-libfossil/observer/otel go 1.26.0 require ( github.com/danmestas/go-libfossil v0.6.4-0.20260724230440-48111c1c984d go.opentelemetry.io/otel v1.35.0 go.opentelemetry.io/otel/metric v1.35.0 go.opentelemetry.io/otel/trace v1.35.0 ) require ( github.com/go-logr/logr v1.4.2 // indirect github.com/go-logr/stdr v1.2.2 // indirect go.opentelemetry.io/auto/sdk v1.1.0 // indirect golang.org/x/crypto v0.52.0 // indirect golang.org/x/sys v0.45.0 // indirect )