Skip to content

Fix/touch contracts#10

Open
lionakhnazarov wants to merge 7 commits into
mainfrom
fix/touch-contracts
Open

Fix/touch contracts#10
lionakhnazarov wants to merge 7 commits into
mainfrom
fix/touch-contracts

Conversation

@lionakhnazarov

Copy link
Copy Markdown
Owner

No description provided.

lionakhnazarov pushed a commit that referenced this pull request Jul 12, 2026
…10)

* fix(deps): remediate Sysdig v2.5.2 image vulnerabilities

Addresses the CVE findings from the Sysdig scan of
thresholdnetwork/keep-client:v2.5.2 by bumping the Go toolchain,
golang.org/x/crypto, golang.org/x/net, go.opentelemetry.io/otel,
github.com/quic-go/quic-go, github.com/quic-go/webtransport-go,
and github.com/pion/interceptor; pulling go-libp2p forward to a
quic-go-v0.59-compatible release; and dropping the long-archived
protobuf/dev replace, go-addr-util import, and go-ipfs-config test
dependency now that equivalent APIs exist upstream.

Deferred to follow-up PRs:
- github.com/ethereum/go-ethereum v1.13.15 -> v1.17.x (major API churn)
- btcd v0.22.3 / v0.23.4 replace removal (legacy compatibility)
- Alpine base image (3.21 -> 3.22) for residual OS-package CVEs

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* ci: grant pull-requests:read so dorny/paths-filter works on tlabs-xyz

The org-level default GITHUB_TOKEN scope on tlabs-xyz/keep-core-security
does not include pull-requests access, so dorny/paths-filter@v2 fails
with "Resource not accessible by integration" before any downstream job
can run. Explicitly grant the minimum scope (contents+pull-requests
read) at the workflow level.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* fix(docker): set GOTOOLCHAIN=auto so go.mod toolchain directive resolves

The golang:1.25-alpine3.21 / golang:1.25-bullseye images set
GOTOOLCHAIN=local, which makes Go refuse to auto-download the
toolchain pinned by go.mod's `toolchain go1.25.10` directive.
Combined with the `go 1.25.7` go-directive normalized by recent
go mod tidy runs, the Docker build was failing with:

    go: go.mod requires go >= 1.25.7 (running go 1.25.5; GOTOOLCHAIN=local)

Setting GOTOOLCHAIN=auto in both build stages lets Go honor the
toolchain directive and download go1.25.10 when needed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* fix(docker): golang:1.25 dropped bullseye, switch to bookworm

The golang:1.25-bullseye tag does not exist on Docker Hub. Go 1.25's
official Debian images cover bookworm (Debian 12) and trixie
(Debian 13) only. Bullseye (Debian 11) was retired before 1.25.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* fix(docker): pin Go base image patch versions for reproducible builds

- build-sources: golang:1.25-alpine3.21 -> golang:1.25.5-alpine3.21
  (latest patch available for alpine3.21; GOTOOLCHAIN=auto still
  fetches 1.25.10 to satisfy go.mod toolchain directive)
- build-bins: golang:1.25-bookworm -> golang:1.25.10-bookworm
  (exact match to go.mod toolchain; no toolchain fetch needed)

Locks base-layer reproducibility against floating-tag drift.

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Piotr Rosłaniec <p.roslaniec@gmail.com>
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.

1 participant