Skip to content
This repository was archived by the owner on Nov 5, 2026. It is now read-only.

fix(deps): pin @hoprnet/hopr-sdk to a published version - #744

Open
Teebor-Choka wants to merge 1 commit into
mainfrom
kauki/fix/deps/pin-published-hopr-sdk
Open

Teebor-Choka wants to merge 1 commit into
mainfrom
kauki/fix/deps/pin-published-hopr-sdk

Conversation

@Teebor-Choka

Copy link
Copy Markdown
Contributor

What

Pin @hoprnet/hopr-sdk to 4.0.0-rc.0-commit.5f06421 (was 4.0.0-rc.0-pr.159). Changes only package.json and yarn.lock.

Why

The 4.0.0-rc.0-pr.159 pre-release artifact is gone from the Artifact Registry, so yarn --frozen-lockfile fails with a 404 and Build and Docker are red on every PR.

hopr-sdk PR #159 ("Hoprd v4") merged as commit 3c1fa8d, which is the v4.0.0-rc.0 tag. Neither 4.0.0-rc.0 nor any stable 4.x is published to the registry. 4.0.0-rc.0-commit.5f06421 is the lowest published 4.x version. It differs from v4.0.0-rc.0 only in CI and nix files (GitHub compare: 7 commits, 9 files, all under .github/ or flake.*), so it has the same SDK source as PR #159. The newest published 3.x (3.0.8) predates the Hoprd v4 work.

How verified

  • yarn install --frozen-lockfile with the new lockfile: OK.
  • yarn build (tsc && vite build): OK, no code changes.
  • CI: see checks on this PR.

Note: -commit.<sha> versions are CI-built pre-releases and could be pruned like the -pr. one. Move to a stable 4.x once one is published.

4.0.0-rc.0-pr.159 no longer exists on the Artifact Registry, so
yarn install --frozen-lockfile fails with a 404. Pin
4.0.0-rc.0-commit.5f06421 instead.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 5, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 1 minute.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: ce56b0aa-c536-4d51-a916-1ad4a64429b0
Commits

Reviewing files that changed from the base of the PR and between b6e9f10 and 87b2743.

Files ignored due to path filters: 1

  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
Files selected for processing: 1

  • package.json
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@augmentcode

augmentcode Bot commented Nov 5, 2026

Copy link
Copy Markdown

GitHub Linear Sync Agent⚡ Linear ↔ GitHub sync

ℹ️ No Linked Linear Issue Found

This pull request does not currently link to any Linear issue, and no matching open tickets were found.

🎫 Create an accompanying ticket?

Would you like me to create an accompanying Linear ticket for this PR and link it?

Reply to this comment with:

@augmentcode[bot] create ticket (or reply confirming ticket creation)

I will create a ticket in Linear titled "fix(deps): pin @hoprnet/hopr-sdk to a published version" and link this PR to it with closing semantics.

@augmentcode augmentcode Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docs Reviewer Agent📚

Review completed with 0 suggestions. No documentation issues were found; the diff changes only dependency pins in package.json and yarn.lock.

Reviewed commit: 87b2743

@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown

🔎 Trivy Security Report

Target Package Installed Severity CVE
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) brotli-libs 1.2.0-r0 CRITICAL CVE-2026-111497
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) c-ares 1.34.6-r0 HIGH CVE-2026-33630
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) curl 8.17.0-r1 HIGH CVE-2026-11352
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) curl 8.17.0-r1 HIGH CVE-2026-11586
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) curl 8.17.0-r1 HIGH CVE-2026-12064
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) curl 8.17.0-r1 HIGH CVE-2026-5773
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) curl 8.17.0-r1 HIGH CVE-2026-6276
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) curl 8.17.0-r1 HIGH CVE-2026-8286
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) curl 8.17.0-r1 HIGH CVE-2026-8458
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) curl 8.17.0-r1 HIGH CVE-2026-8925
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) curl 8.17.0-r1 HIGH CVE-2026-8927
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) curl 8.17.0-r1 HIGH CVE-2026-92392
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) curl 8.17.0-r1 HIGH CVE-2026-9547
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libcrypto3 3.5.6-r0 HIGH CVE-2026-14456
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libcrypto3 3.5.6-r0 HIGH CVE-2026-45447
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libcurl 8.17.0-r1 HIGH CVE-2026-11352
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libcurl 8.17.0-r1 HIGH CVE-2026-11586
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libcurl 8.17.0-r1 HIGH CVE-2026-12064
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libcurl 8.17.0-r1 HIGH CVE-2026-5773
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libcurl 8.17.0-r1 HIGH CVE-2026-6276
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libcurl 8.17.0-r1 HIGH CVE-2026-8286
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libcurl 8.17.0-r1 HIGH CVE-2026-8458
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libcurl 8.17.0-r1 HIGH CVE-2026-8925
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libcurl 8.17.0-r1 HIGH CVE-2026-8927
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libcurl 8.17.0-r1 HIGH CVE-2026-92392
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libcurl 8.17.0-r1 HIGH CVE-2026-9547
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libexpat 2.7.5-r0 HIGH CVE-2026-113351
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libexpat 2.7.5-r0 HIGH CVE-2026-117610
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libexpat 2.7.5-r0 HIGH CVE-2026-118370
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libexpat 2.7.5-r0 HIGH CVE-2026-45186
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libexpat 2.7.5-r0 HIGH CVE-2026-66046
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libexpat 2.7.5-r0 HIGH CVE-2026-76641
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libexpat 2.7.5-r0 HIGH CVE-2026-76956
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libexpat 2.7.5-r0 HIGH CVE-2026-76957
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libexpat 2.7.5-r0 HIGH CVE-2026-77214
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libexpat 2.7.5-r0 HIGH CVE-2026-93990
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libssl3 3.5.6-r0 HIGH CVE-2026-14456
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libssl3 3.5.6-r0 HIGH CVE-2026-45447
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libuuid 2.41.4-r0 HIGH CVE-2026-53612
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libuuid 2.41.4-r0 HIGH CVE-2026-53613
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libuuid 2.41.4-r0 HIGH CVE-2026-53614
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libuuid 2.41.4-r0 HIGH CVE-2026-76642
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libuuid 2.41.4-r0 HIGH CVE-2026-78408
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libuuid 2.41.4-r0 HIGH CVE-2026-78410
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) libxml2 2.13.9-r0 HIGH CVE-2026-6732
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) nghttp2-libs 1.68.0-r0 HIGH CVE-2026-27135
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) pcre2 10.47-r0 HIGH CVE-2026-103111
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) pcre2 10.47-r0 HIGH CVE-2026-86145
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) pcre2 10.47-r0 HIGH CVE-2026-89157
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) pcre2 10.47-r0 HIGH CVE-2026-89161
europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopr-admin:4.0.0-rc.4-commit.87b2743-linux-amd64 (alpine 3.23.4) tiff 4.7.1-r0 HIGH CVE-2026-4775

Teebor-Choka added a commit to hoprnet/hopr-workflows that referenced this pull request Nov 5, 2026
## What

Set `BUILDX_NO_DEFAULT_ATTESTATIONS=1` on the two build steps of
`build-docker.yaml` (release and debug image).

## Why

`Docker / Multi-Arch` fails for callers with `docker_image_format:
docker`:

```
...:3.4.0-commit.bcbb90e-linux-amd64 is a manifest list
##[error]Process completed with exit code 1.
```

The build log of the failing run shows buildx exporting `attestation
manifest` and `manifest list`. `docker push` publishes that list under
the per-arch tag, and `docker manifest create --amend` in
`multi-arch-manifest` rejects a list. Seen in
hoprnet/webapi-hoprnet-org#128 and hoprnet/notification-service#47; the
same workflow passed for webapi on 2026-11-04. Callers with
`docker_image_format: skopeo` are not affected (hose#24 passes), because
skopeo copies a single-platform archive.

I did not find which update turned provenance on. The callee tag was
unchanged between the passing and failing runs; the repos' flake lock
bumps (docker 29.9.1, buildx 0.35.0) are the likely source.

## How verified

- The pre-commit hooks pass (actionlint, pinact, commitizen).
- Real build: a throwaway PR in webapi-hoprnet-org ran `build-docker` at
the v3.4.1 commit plus this change (commit 4ba7435, same two env lines).
`Docker / Multi-Arch` passed (run 42030627320). The same code without
the change failed with `is a manifest list` (run 42022037289). Main here
is 23 commits ahead of v3.4.1, so the test used v3.4.1 as the base, not
this branch.
- Also seen failing the same way: hoprnet/notification-service#47 and
hoprnet/node-admin-ui#744, both `docker_image_format: docker`.

## Trade-off

Images lose the default provenance attestation. The workflow already
uploads SBOMs to a bucket and scans with Trivy, and nothing in this repo
reads the attestation. If provenance is wanted later,
`multi-arch-manifest` should switch to `docker buildx imagetools
create`, which accepts manifest lists.

## Follow-up

- After merge, repin the `build-docker` callers (new release tag).

Relates to hoprnet/hopr-devops#372

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
@Teebor-Choka
Teebor-Choka marked this pull request as ready for review November 6, 2026 12:27

This branch has not been deployed

No deployments
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant