Skip to content

fix(catalog): read the runtime_reason the web catalog now gives Mysterium and the GPU miners - #388

Open
Amigadelasmigas wants to merge 1 commit into
GeiserX:mainfrom
Amigadelasmigas:chore/catalog-runtime-reason
Open

Amigadelasmigas wants to merge 1 commit into
GeiserX:mainfrom
Amigadelasmigas:chore/catalog-runtime-reason

Conversation

@Amigadelasmigas

Copy link
Copy Markdown
Collaborator

The web catalog now says why Mysterium and the two GPU miners must run under runc, in a new docker.runtime_reason field. The web Fleet page shows that reason where the gVisor choice is locked. Desktop's strict-decode test refuses any vendored key that the loader does not read, so the next catalog sync would fail.

This PR adds RuntimeReason to catalog.DockerConfig and vendors the four changed files: the schema note, Mysterium and the two miners. Desktop offers no runtime choice, so it only carries the text. The pinned sums in gpu_miners_test.go move to the new web files, which match byte for byte.

It vendors only these four files. The rest of the drift since the last sync is left for the regular sync.

Merge after GeiserX/CashPilot#894, which adds the field. go test ./internal/... passes.

@coderabbitai

coderabbitai Bot commented Nov 27, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • 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

@codecov

codecov Bot commented Nov 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.48%. Comparing base (fdca2bd) to head (6dab5c6).
⚠️ Report is 19 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #388      +/-   ##
==========================================
- Coverage   80.70%   80.48%   -0.23%     
==========================================
  Files         186      191       +5     
  Lines       24333    24718     +385     
==========================================
+ Hits        19638    19894     +256     
- Misses       3315     3420     +105     
- Partials     1380     1404      +24     
Files with missing lines Coverage Δ
internal/catalog/catalog.go 75.41% <ø> (ø)

... and 6 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

2 participants