Skip to content

feat: CurseForge and FTB modpacks with version pinning (spec 035) - #1055

Merged
ValgulNecron merged 71 commits into
masterfrom
feat/035-curseforge-modpacks
Nov 22, 2026
Merged

ValgulNecron merged 71 commits into
masterfrom
feat/035-curseforge-modpacks

Conversation

@ValgulNecron

@ValgulNecron ValgulNecron commented Nov 22, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Implements spec 035 (specs/035-curseforge-modpacks): CurseForge and FTB modpacks next to Modrinth, with version pinning, change/downgrade/remove, adoption of existing packs, blocked-download handling and opt-in sharing of the admin CurseForge key.

Operator

  • New GameServer.spec.modpack / status.modpack and template provider fields (apiKeyEnv); make generate manifests output included.
  • Rendering and state machine (Pending, BackingUp, Applying, Applied), backup first, adoption with OD-8 (restart once at 0 players), remove.
  • CurseForge key sharing (OD-9 A): server-owned <gs>-curseforge-key copy, CF_API_KEY via optional secretKeyRef, read through a get-only resourceNames Role (<release>-operator-modreg-key); toggles apply when the server has 0 players (OD-10 A).

API

  • POST/GET/DELETE /servers/{name}/modpack, version lists for CurseForge, Modrinth and FTB (with release type and publish date), share GET/PUT with keySource, missing-file list from pack manifests.

Agent

  • /files/read allows the two pack manifest dotfiles.

Web

  • Modpacks tab: provider switch, version picker, confirm install/change/downgrade/remove dialogs, active pack card, missing files notice, read-only state; admin share switch.
  • Design pass in design.fig with export (T012, approved T013).

Tests

  • New envtests, API tests, web tests and E2E drills (bot-fast; need egress to CurseForge and Modrinth).
  • Existing test edits were signed off by valgul (T010 install write; web install flow in Modpacks.test.tsx and endpoints_more.test.ts).

Not in this PR yet

🤖 Generated with Claude Code

The java8 images pin mc-image-helper 1.51.7-java8, which reads CF_API_KEY
but not CF_API_KEY_FILE, so the planned key file mount would not reach the
only images that need the shared key.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
Recorded FTB API responses (search, pack detail, version detail) and a
synthetic CurseForge modpack files response for spec 035 T002.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
…}/modpack

POST /servers/{name}/modpack now writes GameServer.spec.modpack instead of
patching spec.env, and returns 202 with the modpack view. GET returns the
active pack, operator phase, and backup availability. Legacy {"ref"} bodies
are still accepted as project with no pinned version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
Strip modpack-declared env names from spec.env, render the applied
provider's env, and run the Applying/Applied change state machine with
the ModpackReady condition. Legacy servers without spec.modpack or
status.modpack render unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
Adds Filter.ProjectType; with modpack the CurseForge Versions engine
also filters files client side by game version and loader tags.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
Searches api.feed-the-beast.com, resolves pack details in bounded
batches, filters by Minecraft version and loader before the page limit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
Add ReadFileForCluster to the agent client so the API can read a bounded
file below a server's data mount. A missing file maps to
ErrAgentFileNotFound. GetJSONForCluster keeps its behaviour, now sharing
the target and transport resolution with the new reader.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
Six API message ids for spec 035: five server.modpack.* errors and
server.registry.share_needs_managed_key, mirrored in the English pack.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
POST writes GameServer.spec.modpack (no spec.env patch) and validates
version, backup destination, key sharing and in-progress changes.
DELETE removes the pack via the modpack-remove annotation. GET reports
missing files from MODS_NEED_DOWNLOAD.txt through the agent and adopts
legacy servers lazily and at startup. Writes leave one explicit audit row.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
PUT/GET /admin/registries/curseforge/share set an annotation on the
managed key Secret. Enabling without a managed key answers 409, so a
startup flag alone cannot be shared.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
New test files only; no existing test changed. The MODS_NEED_DOWNLOAD.txt
sample is hand-made (no captured file exists yet). Envtest files need the
envtest tag and run in CI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
Implements spec 035 T032 (BackingUp/BackupFailed with a Backup CR),
T033 (adopted-pack rendering held until stopped or quiet) and T042
(removal with optional backup, one-shot mods wipe guarded by a
generation marker, annotations consumed once applied).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
…oval

Adds new envtest files for spec 035 T028, T029 and T039 and ticks the
related tasks (T028, T029, T032, T033, T039, T042) in tasks.md. No
existing test was edited.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
…35 T038 T041 T045 T047 done

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
…install

The versions endpoint now forwards ?type= into the registry filter so
modpack version lists resolve as modpacks. Installing a pack also clears
the gameplane.local/modpack-adopted annotation, so a legacy pin no longer
holds back a newly installed pack.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
/files/read now serves the exact root-level .modrinth-modpack-manifest.json
and .curseforge-manifest.json so the API can adopt a legacy modpack. Other
dotfiles, nested dotfiles, and write, delete and list operations are
unchanged; symlinks stay refused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
The operator reads the backup-destination label to decide whether a
destination exists for modpack removal or change backups.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
Add the spec 035 CurseForge, Modrinth and FTB modpack end-to-end tests:
- T017, T031, T040 in modpack_e2e_test.go, registered in the bot-fast bucket
- T046 blocked-mod manual download in modpack_blocked_e2e_test.go (unbucketed)
- T052 FTB install in modpack_ftb_e2e_test.go (unbucketed)
buckets.sh gains the bucket entries and an explicit unbucketed() list; specs.md
documents the drills.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
Modpack installs now write spec.modpack and return 202 instead of
rendering the pack into spec.env. Update the unit, cluster and e2e
assertions to match, and assert that home-cluster servers and spec.env
are left untouched.

Approved by valgul 2026-11-19.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
Rule 1 now states that removal applies to spec.env only, lists
apiKeyEnv as the CRD names it, and says the applied pack's env is
appended after spec.env so its values win on duplicate names.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
…retKeyRef

The operator watches the API-managed gameplane-modreg-curseforge Secret in
the control-plane namespace. When sharing is on (label, non-empty apiKey and
share annotation) each server with an applied CurseForge pack gets an owned
copy Secret <gs>-curseforge-key, and the game container receives the
template's apiKeyEnv through valueFrom.secretKeyRef. The key value never
enters the pod template, the config hash or the agent container.
status.modpack.keyShared tracks whether the env is rendered.

The control-plane namespace is always in the Secret cache and the Helm
operator-secrets Role list, since key sharing needs namespace-local reads
there in single-cluster installs too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
Covers sharing on/off and rotation (copy owned by the GameServer, CF_API_KEY
only via secretKeyRef, no key value in the pod template, no config-hash
change on rotation), key deletion and pack removal, and no copy without a
pack. Ticks T016 and T021 in specs/035-curseforge-modpacks/tasks.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
…-scoped role

The operator no longer caches Secrets in the control-plane namespace.
Instead it reads the managed CurseForge key Secret with an uncached get
(mgr.GetAPIReader()) on each reconcile. A new always-rendered Role and
RoleBinding grant get on that one Secret name only, and CurseForge
modpack servers requeue every 60s to pick up share toggles, key deletion
or rotation. The game container's secretKeyRef is optional so a briefly
missing copy Secret does not block pod start. NotFound and Forbidden are
treated as "not shared".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
…ying on a Secret watch

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
@ValgulNecron ValgulNecron added area: chart Helm chart and deployment area: e2e kind-based end-to-end suite area: operator controller-runtime operator and CRDs area: specs spec-kit feature specs and design docs area: web React dashboard type: feature New capability or user-facing addition labels Nov 22, 2026 — with Claude
@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 278 files, which is 178 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

CodeRabbit couldn't verify your organization's usage billing state, so no usage-priced review was started. Retry after the billing service recovers.

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 2812134 and fb1d14b.

Files ignored due to path filters: 234

  • assets/design-export/fig/1274632774-1258.fig is excluded by !**/*.fig
  • assets/design-export/fig/1274632774-130.fig is excluded by !**/*.fig
  • assets/design-export/fig/1274632774-1722.fig is excluded by !**/*.fig
  • assets/design-export/fig/1274632774-2112.fig is excluded by !**/*.fig
  • assets/design-export/fig/1274632774-2492.fig is excluded by !**/*.fig
  • assets/design-export/fig/1274632774-2877.fig is excluded by !**/*.fig
  • assets/design-export/fig/1274632774-3217.fig is excluded by !**/*.fig
  • assets/design-export/fig/1274632774-3559.fig is excluded by !**/*.fig
  • assets/design-export/fig/1274632774-3890.fig is excluded by !**/*.fig
  • assets/design-export/fig/1274632774-4001.fig is excluded by !**/*.fig
  • assets/design-export/fig/1274632774-4260.fig is excluded by !**/*.fig
  • assets/design-export/fig/1274632774-470.fig is excluded by !**/*.fig
  • assets/design-export/fig/1274632774-907.fig is excluded by !**/*.fig
  • assets/design-export/fig/9dBXM.fig is excluded by !**/*.fig
  • assets/design-export/fig/A8vGwM.fig is excluded by !**/*.fig
  • assets/design-export/fig/B57dG.fig is excluded by !**/*.fig
  • assets/design-export/fig/BV5ei.fig is excluded by !**/*.fig
  • assets/design-export/fig/Bbnga.fig is excluded by !**/*.fig
  • assets/design-export/fig/BdmAW.fig is excluded by !**/*.fig
  • assets/design-export/fig/Be7ZW.fig is excluded by !**/*.fig
  • assets/design-export/fig/BguST.fig is excluded by !**/*.fig
  • assets/design-export/fig/Bq2Yg.fig is excluded by !**/*.fig
  • assets/design-export/fig/Burtr.fig is excluded by !**/*.fig
  • assets/design-export/fig/C2LQE4.fig is excluded by !**/*.fig
  • assets/design-export/fig/C5Aoe.fig is excluded by !**/*.fig
  • assets/design-export/fig/C9bR6.fig is excluded by !**/*.fig
  • assets/design-export/fig/Cb3eC.fig is excluded by !**/*.fig
  • assets/design-export/fig/CqaSq.fig is excluded by !**/*.fig
  • assets/design-export/fig/D9QYZ.fig is excluded by !**/*.fig
  • assets/design-export/fig/DBQyF.fig is excluded by !**/*.fig
  • assets/design-export/fig/DMnEi.fig is excluded by !**/*.fig
  • assets/design-export/fig/DPrYX.fig is excluded by !**/*.fig
  • assets/design-export/fig/DWztv.fig is excluded by !**/*.fig
  • assets/design-export/fig/Dpb9f.fig is excluded by !**/*.fig
  • assets/design-export/fig/DxKOh.fig is excluded by !**/*.fig
  • assets/design-export/fig/E0ypH.fig is excluded by !**/*.fig
  • assets/design-export/fig/E9EEv0.fig is excluded by !**/*.fig
  • assets/design-export/fig/EKJyM.fig is excluded by !**/*.fig
  • assets/design-export/fig/EWrn0.fig is excluded by !**/*.fig
  • assets/design-export/fig/EZFW0.fig is excluded by !**/*.fig
  • assets/design-export/fig/EcoGD.fig is excluded by !**/*.fig
  • assets/design-export/fig/F9pUrx.fig is excluded by !**/*.fig
  • assets/design-export/fig/FBiMN.fig is excluded by !**/*.fig
  • assets/design-export/fig/FOVMf.fig is excluded by !**/*.fig
  • assets/design-export/fig/FtdkI.fig is excluded by !**/*.fig
  • assets/design-export/fig/GR1G9.fig is excluded by !**/*.fig
  • assets/design-export/fig/GayoL.fig is excluded by !**/*.fig
  • assets/design-export/fig/GsofJ.fig is excluded by !**/*.fig
  • assets/design-export/fig/HVhmb.fig is excluded by !**/*.fig
  • assets/design-export/fig/Hy9r0.fig is excluded by !**/*.fig
  • assets/design-export/fig/IBUqJ.fig is excluded by !**/*.fig
  • assets/design-export/fig/IMSD5.fig is excluded by !**/*.fig
  • assets/design-export/fig/IdbiB.fig is excluded by !**/*.fig
  • assets/design-export/fig/IyMFM.fig is excluded by !**/*.fig
  • assets/design-export/fig/IzuY2.fig is excluded by !**/*.fig
  • assets/design-export/fig/J5pjJ3.fig is excluded by !**/*.fig
  • assets/design-export/fig/J8GzM9.fig is excluded by !**/*.fig
  • assets/design-export/fig/K5XinZ.fig is excluded by !**/*.fig
  • assets/design-export/fig/KJdxg.fig is excluded by !**/*.fig
  • assets/design-export/fig/KaRFX.fig is excluded by !**/*.fig
  • assets/design-export/fig/KhYNc.fig is excluded by !**/*.fig
  • assets/design-export/fig/Kp48V.fig is excluded by !**/*.fig
  • assets/design-export/fig/LYPXU.fig is excluded by !**/*.fig
  • assets/design-export/fig/M2sA4u.fig is excluded by !**/*.fig
  • assets/design-export/fig/MaoHP.fig is excluded by !**/*.fig
  • assets/design-export/fig/N1GkB.fig is excluded by !**/*.fig
  • assets/design-export/fig/N2nTf.fig is excluded by !**/*.fig
  • assets/design-export/fig/NKiqf.fig is excluded by !**/*.fig
  • assets/design-export/fig/NLDDv.fig is excluded by !**/*.fig
  • assets/design-export/fig/NLu2I.fig is excluded by !**/*.fig
  • assets/design-export/fig/Ne5TA.fig is excluded by !**/*.fig
  • assets/design-export/fig/NqaaU.fig is excluded by !**/*.fig
  • assets/design-export/fig/O08uaD.fig is excluded by !**/*.fig
  • assets/design-export/fig/O5kaV.fig is excluded by !**/*.fig
  • assets/design-export/fig/OC804.fig is excluded by !**/*.fig
  • assets/design-export/fig/OecJ5.fig is excluded by !**/*.fig
  • assets/design-export/fig/P08Uw.fig is excluded by !**/*.fig
  • assets/design-export/fig/QFEg9.fig is excluded by !**/*.fig
  • assets/design-export/fig/QQtUD.fig is excluded by !**/*.fig
  • assets/design-export/fig/QgW58.fig is excluded by !**/*.fig
  • assets/design-export/fig/QpEvu.fig is excluded by !**/*.fig
  • assets/design-export/fig/R65Xyx.fig is excluded by !**/*.fig
  • assets/design-export/fig/RC3Kf.fig is excluded by !**/*.fig
  • assets/design-export/fig/RS0KZ.fig is excluded by !**/*.fig
  • assets/design-export/fig/RodrS.fig is excluded by !**/*.fig
  • assets/design-export/fig/RpHBg.fig is excluded by !**/*.fig
  • assets/design-export/fig/Rwnu3.fig is excluded by !**/*.fig
  • assets/design-export/fig/S7SCDc.fig is excluded by !**/*.fig
  • assets/design-export/fig/SUcad.fig is excluded by !**/*.fig
  • assets/design-export/fig/SUtGZ.fig is excluded by !**/*.fig
  • assets/design-export/fig/SeizD.fig is excluded by !**/*.fig
  • assets/design-export/fig/Ss0Yr.fig is excluded by !**/*.fig
  • assets/design-export/fig/T1wkiT.fig is excluded by !**/*.fig
  • assets/design-export/fig/T70dJ.fig is excluded by !**/*.fig
  • assets/design-export/fig/TBvTC.fig is excluded by !**/*.fig
  • assets/design-export/fig/TE2jI.fig is excluded by !**/*.fig
  • assets/design-export/fig/U9xSg.fig is excluded by !**/*.fig
  • assets/design-export/fig/UCNBm.fig is excluded by !**/*.fig
  • assets/design-export/fig/UMJli.fig is excluded by !**/*.fig
  • assets/design-export/fig/UdnBT.fig is excluded by !**/*.fig
  • assets/design-export/fig/Uzzje.fig is excluded by !**/*.fig
  • assets/design-export/fig/V1VhGE.fig is excluded by !**/*.fig
  • assets/design-export/fig/VM7ro.fig is excluded by !**/*.fig
  • assets/design-export/fig/VctzT.fig is excluded by !**/*.fig
  • assets/design-export/fig/VfB0Y.fig is excluded by !**/*.fig
  • assets/design-export/fig/W8idqY.fig is excluded by !**/*.fig
  • assets/design-export/fig/WZdnw.fig is excluded by !**/*.fig
  • assets/design-export/fig/Wj0V4.fig is excluded by !**/*.fig
  • assets/design-export/fig/WrmU5.fig is excluded by !**/*.fig
  • assets/design-export/fig/X405l.fig is excluded by !**/*.fig
  • assets/design-export/fig/XL5ZU.fig is excluded by !**/*.fig
  • assets/design-export/fig/XR0f9.fig is excluded by !**/*.fig
  • assets/design-export/fig/Xn5ns.fig is excluded by !**/*.fig
  • assets/design-export/fig/Y5cmvI.fig is excluded by !**/*.fig
  • assets/design-export/fig/YN8cE.fig is excluded by !**/*.fig
  • assets/design-export/fig/YPKbV.fig is excluded by !**/*.fig
  • assets/design-export/fig/Z0oyh.fig is excluded by !**/*.fig
  • assets/design-export/fig/ZU1BG.fig is excluded by !**/*.fig
  • assets/design-export/fig/ZUAq1.fig is excluded by !**/*.fig
  • assets/design-export/fig/ZlLf0.fig is excluded by !**/*.fig
  • assets/design-export/fig/a7o9C.fig is excluded by !**/*.fig
  • assets/design-export/fig/aMU7O.fig is excluded by !**/*.fig
  • assets/design-export/fig/akr4I.fig is excluded by !**/*.fig
  • assets/design-export/fig/atqRh.fig is excluded by !**/*.fig
  • assets/design-export/fig/b4eaUf.fig is excluded by !**/*.fig
  • assets/design-export/fig/bHJy6.fig is excluded by !**/*.fig
  • assets/design-export/fig/bYDHC.fig is excluded by !**/*.fig
  • assets/design-export/fig/cDiNb.fig is excluded by !**/*.fig
  • assets/design-export/fig/dBILX.fig is excluded by !**/*.fig
  • assets/design-export/fig/dPP50.fig is excluded by !**/*.fig
  • assets/design-export/fig/dQV9N.fig is excluded by !**/*.fig
  • assets/design-export/fig/dhPtX.fig is excluded by !**/*.fig
  • assets/design-export/fig/dxdEi.fig is excluded by !**/*.fig
  • assets/design-export/fig/e9FnC.fig is excluded by !**/*.fig
  • assets/design-export/fig/e9lV4.fig is excluded by !**/*.fig
  • assets/design-export/fig/eGbsg.fig is excluded by !**/*.fig
  • assets/design-export/fig/epZO2.fig is excluded by !**/*.fig
  • assets/design-export/fig/f1Vga.fig is excluded by !**/*.fig
  • assets/design-export/fig/fK8Bi.fig is excluded by !**/*.fig
  • assets/design-export/fig/fbBqA.fig is excluded by !**/*.fig
  • assets/design-export/fig/g5mEpx.fig is excluded by !**/*.fig
  • assets/design-export/fig/gWqMD.fig is excluded by !**/*.fig
  • assets/design-export/fig/gX7um.fig is excluded by !**/*.fig
  • assets/design-export/fig/hLB9Z.fig is excluded by !**/*.fig
  • assets/design-export/fig/hlwx3.fig is excluded by !**/*.fig
  • assets/design-export/fig/hmPL7.fig is excluded by !**/*.fig
  • assets/design-export/fig/i1bLR.fig is excluded by !**/*.fig
  • assets/design-export/fig/i4L0M.fig is excluded by !**/*.fig
  • assets/design-export/fig/i8wib.fig is excluded by !**/*.fig
  • assets/design-export/fig/iLm38.fig is excluded by !**/*.fig
  • assets/design-export/fig/iSA6R.fig is excluded by !**/*.fig
  • assets/design-export/fig/iYUWc.fig is excluded by !**/*.fig
  • assets/design-export/fig/j24cXg.fig is excluded by !**/*.fig
  • assets/design-export/fig/j88bl0.fig is excluded by !**/*.fig
  • assets/design-export/fig/j9W8A.fig is excluded by !**/*.fig
  • assets/design-export/fig/jXykV.fig is excluded by !**/*.fig
  • assets/design-export/fig/jmoi3.fig is excluded by !**/*.fig
  • assets/design-export/fig/kK8Ji.fig is excluded by !**/*.fig
  • assets/design-export/fig/kPmoo.fig is excluded by !**/*.fig
  • assets/design-export/fig/l64bd.fig is excluded by !**/*.fig
  • assets/design-export/fig/l7TRz9.fig is excluded by !**/*.fig
  • assets/design-export/fig/lCTci.fig is excluded by !**/*.fig
  • assets/design-export/fig/lWvcv.fig is excluded by !**/*.fig
  • assets/design-export/fig/lhKzN.fig is excluded by !**/*.fig
  • assets/design-export/fig/ljdA5.fig is excluded by !**/*.fig
  • assets/design-export/fig/m1hP1j.fig is excluded by !**/*.fig
  • assets/design-export/fig/m5kOm4.fig is excluded by !**/*.fig
  • assets/design-export/fig/mrF6f.fig is excluded by !**/*.fig
  • assets/design-export/fig/n2qdi.fig is excluded by !**/*.fig
  • assets/design-export/fig/n6Xlo.fig is excluded by !**/*.fig
  • assets/design-export/fig/nGJE1.fig is excluded by !**/*.fig
  • assets/design-export/fig/nNGDX.fig is excluded by !**/*.fig
  • assets/design-export/fig/nNL3E.fig is excluded by !**/*.fig
  • assets/design-export/fig/nfMMj.fig is excluded by !**/*.fig
  • assets/design-export/fig/o1uEP.fig is excluded by !**/*.fig
  • assets/design-export/fig/o4LH8W.fig is excluded by !**/*.fig
  • assets/design-export/fig/oMuyw.fig is excluded by !**/*.fig
  • assets/design-export/fig/oPF1n.fig is excluded by !**/*.fig
  • assets/design-export/fig/oyoTs.fig is excluded by !**/*.fig
  • assets/design-export/fig/p8QSPq.fig is excluded by !**/*.fig
  • assets/design-export/fig/pnAbF.fig is excluded by !**/*.fig
  • assets/design-export/fig/pssCT.fig is excluded by !**/*.fig
  • assets/design-export/fig/pszxE.fig is excluded by !**/*.fig
  • assets/design-export/fig/q31B6w.fig is excluded by !**/*.fig
  • assets/design-export/fig/qFLfB.fig is excluded by !**/*.fig
  • assets/design-export/fig/r0heh.fig is excluded by !**/*.fig
  • assets/design-export/fig/r139UP.fig is excluded by !**/*.fig
  • assets/design-export/fig/rJt1I.fig is excluded by !**/*.fig
  • assets/design-export/fig/sSISK.fig is excluded by !**/*.fig
  • assets/design-export/fig/sZtDi.fig is excluded by !**/*.fig
  • assets/design-export/fig/swxkJ.fig is excluded by !**/*.fig
  • assets/design-export/fig/t3IY3u.fig is excluded by !**/*.fig
  • assets/design-export/fig/t56aLu.fig is excluded by !**/*.fig
  • assets/design-export/fig/tSOeI.fig is excluded by !**/*.fig
  • assets/design-export/fig/tTSdi.fig is excluded by !**/*.fig
  • assets/design-export/fig/tY6RD.fig is excluded by !**/*.fig
  • assets/design-export/fig/tooKB.fig is excluded by !**/*.fig
  • assets/design-export/fig/tr6cE.fig is excluded by !**/*.fig
  • assets/design-export/fig/uCA23.fig is excluded by !**/*.fig
  • assets/design-export/fig/uMiwd.fig is excluded by !**/*.fig
  • assets/design-export/fig/ugDSa.fig is excluded by !**/*.fig
  • assets/design-export/fig/uoxQW.fig is excluded by !**/*.fig
  • assets/design-export/fig/uw0dB.fig is excluded by !**/*.fig
  • assets/design-export/fig/vStkb.fig is excluded by !**/*.fig
  • assets/design-export/fig/vUqMl.fig is excluded by !**/*.fig
  • assets/design-export/fig/vtExV.fig is excluded by !**/*.fig
  • assets/design-export/fig/w1QYmf.fig is excluded by !**/*.fig
  • assets/design-export/fig/w34N9.fig is excluded by !**/*.fig
  • assets/design-export/fig/wqnM9.fig is excluded by !**/*.fig
  • assets/design-export/fig/wxINm.fig is excluded by !**/*.fig
  • assets/design-export/fig/xCJlu.fig is excluded by !**/*.fig
  • assets/design-export/fig/xvlB6.fig is excluded by !**/*.fig
  • assets/design-export/fig/y3YcQ.fig is excluded by !**/*.fig
  • assets/design-export/fig/yrxK2.fig is excluded by !**/*.fig
  • assets/design-export/fig/zFiOW.fig is excluded by !**/*.fig
  • assets/design-export/fig/zM0VF.fig is excluded by !**/*.fig
  • assets/design-export/fig/zhLZN.fig is excluded by !**/*.fig
  • assets/design-export/fig/zj5a3.fig is excluded by !**/*.fig
  • assets/design-export/fig/zqzr4.fig is excluded by !**/*.fig
  • assets/design-export/screenshots/1274632774-1258.png is excluded by !**/*.png
  • assets/design-export/screenshots/1274632774-130.png is excluded by !**/*.png
  • assets/design-export/screenshots/1274632774-1722.png is excluded by !**/*.png
  • assets/design-export/screenshots/1274632774-2112.png is excluded by !**/*.png
  • assets/design-export/screenshots/1274632774-2492.png is excluded by !**/*.png
  • assets/design-export/screenshots/1274632774-2877.png is excluded by !**/*.png
  • assets/design-export/screenshots/1274632774-3217.png is excluded by !**/*.png
  • assets/design-export/screenshots/1274632774-3559.png is excluded by !**/*.png
  • assets/design-export/screenshots/1274632774-3890.png is excluded by !**/*.png
  • assets/design-export/screenshots/1274632774-4001.png is excluded by !**/*.png
  • assets/design-export/screenshots/1274632774-4260.png is excluded by !**/*.png
  • assets/design-export/screenshots/1274632774-470.png is excluded by !**/*.png
  • assets/design-export/screenshots/1274632774-907.png is excluded by !**/*.png
  • assets/design-export/screenshots/tY6RD.png is excluded by !**/*.png
  • design.fig is excluded by !**/*.fig
Files selected for processing: 278

  • agent/internal/files/files.go
  • agent/internal/files/readable_dotfiles_test.go
  • api/cmd/main.go
  • api/cmd/mounts_test.go
  • api/internal/handlers/cluster_guard_test.go
  • api/internal/handlers/destinations.go
  • api/internal/handlers/mod_target.go
  • api/internal/handlers/mod_target_test.go
  • api/internal/handlers/modpack_adopt.go
  • api/internal/handlers/modpack_adopt_envtest_test.go
  • api/internal/handlers/modpack_missing.go
  • api/internal/handlers/modpack_missing_test.go
  • api/internal/handlers/registry.go
  • api/internal/handlers/registry_cluster_test.go
  • api/internal/handlers/registry_modpack.go
  • api/internal/handlers/registry_modpack_adopt_clear_envtest_test.go
  • api/internal/handlers/registry_modpack_destination_test.go
  • api/internal/handlers/registry_modpack_envtest_test.go
  • api/internal/handlers/registry_modpack_remote_key_test.go
  • api/internal/handlers/registry_secret.go
  • api/internal/handlers/registry_share_keysource_test.go
  • api/internal/handlers/registry_share_test.go
  • api/internal/handlers/registry_test.go
  • api/internal/messages/entries_server.go
  • api/internal/registry/curseforge.go
  • api/internal/registry/curseforge_modpack_test.go
  • api/internal/registry/curseforge_version_meta_test.go
  • api/internal/registry/ftb.go
  • api/internal/registry/ftb_test.go
  • api/internal/registry/ftb_version_meta_test.go
  • api/internal/registry/modrinth.go
  • api/internal/registry/modrinth_version_meta_test.go
  • api/internal/registry/registry.go
  • api/internal/registry/registry_ftb_dialguard_test.go
  • api/internal/registry/testdata/curseforge/README.md
  • api/internal/registry/testdata/curseforge/modpack-files.json
  • api/internal/registry/testdata/ftb/README.md
  • api/internal/registry/testdata/ftb/pack-100.json
  • api/internal/registry/testdata/ftb/pack-130.json
  • api/internal/registry/testdata/ftb/pack-4.json
  • api/internal/registry/testdata/ftb/search.json
  • api/internal/registry/testdata/ftb/version-100-100359.json
  • api/internal/registry/testdata/ftb/version-130-100574.json
  • api/internal/ws/agent_client.go
  • api/specs.md
  • assets/design-export/json/1274632774-1258.json
  • assets/design-export/json/1274632774-130.json
  • assets/design-export/json/1274632774-1722.json
  • assets/design-export/json/1274632774-2112.json
  • assets/design-export/json/1274632774-2492.json
  • assets/design-export/json/1274632774-2877.json
  • assets/design-export/json/1274632774-3217.json
  • assets/design-export/json/1274632774-3559.json
  • assets/design-export/json/1274632774-3890.json
  • assets/design-export/json/1274632774-4001.json
  • assets/design-export/json/1274632774-4260.json
  • assets/design-export/json/1274632774-470.json
  • assets/design-export/json/1274632774-907.json
  • assets/design-export/json/9dBXM.json
  • assets/design-export/json/A8vGwM.json
  • assets/design-export/json/B57dG.json
  • assets/design-export/json/Bbnga.json
  • assets/design-export/json/BdmAW.json
  • assets/design-export/json/Be7ZW.json
  • assets/design-export/json/BguST.json
  • assets/design-export/json/Bq2Yg.json
  • assets/design-export/json/C2LQE4.json
  • assets/design-export/json/C9bR6.json
  • assets/design-export/json/Cb3eC.json
  • assets/design-export/json/D9QYZ.json
  • assets/design-export/json/DBQyF.json
  • assets/design-export/json/DPrYX.json
  • assets/design-export/json/Dpb9f.json
  • assets/design-export/json/DxKOh.json
  • assets/design-export/json/E0ypH.json
  • assets/design-export/json/EKJyM.json
  • assets/design-export/json/EWrn0.json
  • assets/design-export/json/EcoGD.json
  • assets/design-export/json/FBiMN.json
  • assets/design-export/json/FOVMf.json
  • assets/design-export/json/HVhmb.json
  • assets/design-export/json/IBUqJ.json
  • assets/design-export/json/IMSD5.json
  • assets/design-export/json/IdbiB.json
  • assets/design-export/json/IyMFM.json
  • assets/design-export/json/J5pjJ3.json
  • assets/design-export/json/J8GzM9.json
  • assets/design-export/json/K5XinZ.json
  • assets/design-export/json/KJdxg.json
  • assets/design-export/json/KaRFX.json
  • assets/design-export/json/LYPXU.json
  • assets/design-export/json/M2sA4u.json
  • assets/design-export/json/N2nTf.json
  • assets/design-export/json/NKiqf.json
  • assets/design-export/json/Ne5TA.json
  • assets/design-export/json/NqaaU.json
  • assets/design-export/json/O08uaD.json
  • assets/design-export/json/O5kaV.json
  • assets/design-export/json/OC804.json
  • assets/design-export/json/OecJ5.json
  • assets/design-export/json/QFEg9.json
  • assets/design-export/json/QgW58.json
  • assets/design-export/json/QpEvu.json
  • assets/design-export/json/RC3Kf.json
  • assets/design-export/json/RS0KZ.json
  • assets/design-export/json/RodrS.json
  • assets/design-export/json/RpHBg.json
  • assets/design-export/json/SUcad.json
  • assets/design-export/json/SUtGZ.json
  • assets/design-export/json/T1wkiT.json
  • assets/design-export/json/T70dJ.json
  • assets/design-export/json/TBvTC.json
  • assets/design-export/json/U9xSg.json
  • assets/design-export/json/UdnBT.json
  • assets/design-export/json/Uzzje.json
  • assets/design-export/json/VctzT.json
  • assets/design-export/json/VfB0Y.json
  • assets/design-export/json/WZdnw.json
  • assets/design-export/json/Wj0V4.json
  • assets/design-export/json/WrmU5.json
  • assets/design-export/json/XR0f9.json
  • assets/design-export/json/Y5cmvI.json
  • assets/design-export/json/YN8cE.json
  • assets/design-export/json/Z0oyh.json
  • assets/design-export/json/ZUAq1.json
  • assets/design-export/json/ZlLf0.json
  • assets/design-export/json/aMU7O.json
  • assets/design-export/json/akr4I.json
  • assets/design-export/json/b4eaUf.json
  • assets/design-export/json/bYDHC.json
  • assets/design-export/json/cDiNb.json
  • assets/design-export/json/dBILX.json
  • assets/design-export/json/dPP50.json
  • assets/design-export/json/dQV9N.json
  • assets/design-export/json/dhPtX.json
  • assets/design-export/json/dxdEi.json
  • assets/design-export/json/e9FnC.json
  • assets/design-export/json/e9lV4.json
  • assets/design-export/json/epZO2.json
  • assets/design-export/json/fK8Bi.json
  • assets/design-export/json/fbBqA.json
  • assets/design-export/json/g5mEpx.json
  • assets/design-export/json/gWqMD.json
  • assets/design-export/json/hLB9Z.json
  • assets/design-export/json/hmPL7.json
  • assets/design-export/json/i1bLR.json
  • assets/design-export/json/i4L0M.json
  • assets/design-export/json/i8wib.json
  • assets/design-export/json/iLm38.json
  • assets/design-export/json/iSA6R.json
  • assets/design-export/json/iYUWc.json
  • assets/design-export/json/j9W8A.json
  • assets/design-export/json/jXykV.json
  • assets/design-export/json/kK8Ji.json
  • assets/design-export/json/l64bd.json
  • assets/design-export/json/l7TRz9.json
  • assets/design-export/json/lCTci.json
  • assets/design-export/json/lWvcv.json
  • assets/design-export/json/m5kOm4.json
  • assets/design-export/json/mrF6f.json
  • assets/design-export/json/n2qdi.json
  • assets/design-export/json/n6Xlo.json
  • assets/design-export/json/nGJE1.json
  • assets/design-export/json/nNGDX.json
  • assets/design-export/json/nfMMj.json
  • assets/design-export/json/oPF1n.json
  • assets/design-export/json/p8QSPq.json
  • assets/design-export/json/pnAbF.json
  • assets/design-export/json/pssCT.json
  • assets/design-export/json/pszxE.json
  • assets/design-export/json/q31B6w.json
  • assets/design-export/json/qFLfB.json
  • assets/design-export/json/r0heh.json
  • assets/design-export/json/r139UP.json
  • assets/design-export/json/rJt1I.json
  • assets/design-export/json/swxkJ.json
  • assets/design-export/json/t56aLu.json
  • assets/design-export/json/tSOeI.json
  • assets/design-export/json/tTSdi.json
  • assets/design-export/json/tY6RD.json
  • assets/design-export/json/tr6cE.json
  • assets/design-export/json/uCA23.json
  • assets/design-export/json/uMiwd.json
  • assets/design-export/json/ugDSa.json
  • assets/design-export/json/uoxQW.json
  • assets/design-export/json/vtExV.json
  • assets/design-export/json/w1QYmf.json
  • assets/design-export/json/wqnM9.json
  • assets/design-export/json/wxINm.json
  • assets/design-export/json/xCJlu.json
  • assets/design-export/json/xvlB6.json
  • assets/design-export/json/y3YcQ.json
  • assets/design-export/json/yrxK2.json
  • assets/design-export/json/zM0VF.json
  • assets/design-export/json/zqzr4.json
  • assets/design-export/screens.json
  • changelog/unreleased/1055-curseforge-ftb-modpacks.md
  • charts/gameplane/charts/gameplane-crds/crds/gameplane.local_backups.yaml
  • charts/gameplane/charts/gameplane-crds/crds/gameplane.local_backupschedules.yaml
  • charts/gameplane/charts/gameplane-crds/crds/gameplane.local_clusters.yaml
  • charts/gameplane/charts/gameplane-crds/crds/gameplane.local_gameservers.yaml
  • charts/gameplane/charts/gameplane-crds/crds/gameplane.local_gametemplates.yaml
  • charts/gameplane/charts/gameplane-crds/crds/gameplane.local_modules.yaml
  • charts/gameplane/charts/gameplane-crds/crds/gameplane.local_modulesources.yaml
  • charts/gameplane/charts/gameplane-crds/crds/gameplane.local_networkcaptures.yaml
  • charts/gameplane/charts/gameplane-crds/crds/gameplane.local_restores.yaml
  • charts/gameplane/crd-manifests/gameplane.local_backups.yaml
  • charts/gameplane/crd-manifests/gameplane.local_backupschedules.yaml
  • charts/gameplane/crd-manifests/gameplane.local_clusters.yaml
  • charts/gameplane/crd-manifests/gameplane.local_gameservers.yaml
  • charts/gameplane/crd-manifests/gameplane.local_gametemplates.yaml
  • charts/gameplane/crd-manifests/gameplane.local_modules.yaml
  • charts/gameplane/crd-manifests/gameplane.local_modulesources.yaml
  • charts/gameplane/crd-manifests/gameplane.local_networkcaptures.yaml
  • charts/gameplane/crd-manifests/gameplane.local_restores.yaml
  • charts/gameplane/templates/operator.yaml
  • docs/module-authoring.md
  • docs/security.md
  • i18n/locales/en/app.json
  • operator/api/v1alpha1/gameserver_types.go
  • operator/api/v1alpha1/gametemplate_types.go
  • operator/api/v1alpha1/zz_generated.deepcopy.go
  • operator/cmd/main.go
  • operator/config/crd/gameplane.local_gameservers.yaml
  • operator/config/crd/gameplane.local_gametemplates.yaml
  • operator/internal/controller/gameserver_controller.go
  • operator/internal/controller/gameserver_modpack.go
  • operator/internal/controller/gameserver_modpack_adopt_envtest_test.go
  • operator/internal/controller/gameserver_modpack_backup_envtest_test.go
  • operator/internal/controller/gameserver_modpack_envtest_test.go
  • operator/internal/controller/gameserver_modpack_key.go
  • operator/internal/controller/gameserver_modpack_key_envtest_test.go
  • operator/internal/controller/gameserver_modpack_remove_envtest_test.go
  • operator/internal/controller/gameserver_modpack_supersede_envtest_test.go
  • operator/specs.md
  • specs/035-curseforge-modpacks/OPEN-DECISIONS.md
  • specs/035-curseforge-modpacks/contracts/api-modpack.md
  • specs/035-curseforge-modpacks/contracts/operator-modpack.md
  • specs/035-curseforge-modpacks/data-model.md
  • specs/035-curseforge-modpacks/plan.md
  • specs/035-curseforge-modpacks/quickstart.md
  • specs/035-curseforge-modpacks/research.md
  • specs/035-curseforge-modpacks/spec.md
  • specs/035-curseforge-modpacks/tasks.md
  • test/e2e/buckets.sh
  • test/e2e/gatewayparity_e2e_test.go
  • test/e2e/modpack_blocked_e2e_test.go
  • test/e2e/modpack_e2e_test.go
  • test/e2e/modpack_ftb_e2e_test.go
  • test/e2e/multicluster_e2e_test.go
  • test/e2e/specs.md
  • web/specs.md
  • web/src/components/modpack-active-card.test.tsx
  • web/src/components/modpack-active-card.tsx
  • web/src/components/modpack-confirm-dialog.test.tsx
  • web/src/components/modpack-confirm-dialog.tsx
  • web/src/components/modpack-confirm-dialog_destination.test.tsx
  • web/src/components/modpack-missing-files.test.tsx
  • web/src/components/modpack-missing-files.tsx
  • web/src/components/modpack-missing-files_guard.test.tsx
  • web/src/components/modpack-version-picker.test.tsx
  • web/src/components/modpack-version-picker.tsx
  • web/src/components/modpack-version-picker_meta.test.tsx
  • web/src/components/registry-browser.tsx
  • web/src/components/registry-browser_providers.test.tsx
  • web/src/lib/endpoints.ts
  • web/src/lib/endpoints_modpack.test.ts
  • web/src/lib/endpoints_more.test.ts
  • web/src/lib/useModRegistrySave.ts
  • web/src/routes/AdminSettings.tsx
  • web/src/routes/AdminSettings_share.test.tsx
  • web/src/routes/AdminSettings_share_keysource.test.tsx
  • web/src/routes/ServerDetail.tsx
  • web/src/routes/ServerDetail_modpack_files.test.tsx
  • web/src/routes/tabs/Modpacks.test.tsx
  • web/src/routes/tabs/Modpacks.tsx
  • web/src/routes/tabs/Modpacks_flow.test.tsx
  • web/src/types.ts

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 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

@github-actions

github-actions Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

CI Report - fb1d14b

run 45045946102 - attempt 1

0 failed - 33 passed - 0 skipped - 33m33s elapsed

Test selection: full (selection-rule change) - per-suite table

Coverage

Module Measured Gate Margin
web L94.42 S92.59 B87.27 F90.66 L92 S92 B82 F76 +0.59

Changed

Area Files +/-
assets/ 384 +19035/-147
api/ 43 +7745/-105
operator/ 16 +3446/-10
web/ 27 +2381/-132
test/ 7 +978/-11
charts/ 19 +560/-20
i18n/ 1 +336/-0
specs/ 9 +200/-92
agent/ 2 +108/-1
docs/ 2 +42/-0
changelog/ 1 +5/-0
(root) 1 +0/-0

Slowest jobs

Job Duration
e2e telemetry / amd64 (kind) 23m36s
e2e telemetry / arm64 (kind) 22m49s
e2e postgres / amd64 (kind) 19m5s
e2e operator / amd64 (kind) 14m58s
e2e restricted-workloads / amd64 (kind) 14m41s

e2e buckets run

api-agent, api-auth, api-mods, api-rbac, api-roles, backup-preparation, bot-fast, management-placement, monitoring, multicluster, network-isolation, operator, optional-components, postgres-availability, postgres-ha, postgres-pitr, ratelimit, recovery, restricted-workloads, standalone, telemetry, upgrade, wake-hostport

…onse bodies

The i18n checker only allows <b> and <link> markup, so the modpack
missing-files message now wraps the path in <b> (still rendered as code).
The new modpack e2e tests close resp.Body to satisfy bodyclose.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
…int)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
…lper (lint)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
The share-on tests set an annotation on a managed key Secret created with
share=false, whose annotations read back nil, panicking the whole controller
test package.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
…d provider

Also fix four new tests: grid role for the react-aria table, both
published dates in the version picker, and the ServerDetail access and
provider mocks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
The three CurseForge modpack drills time out with the game container
crash-looping, and the cluster dump keeps no previous logs. Print the
tail of the game container's previous and current logs on failure so
the image's own error shows in the test output.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
Fabulously Optimized is a client pack: itzg drops YACL as client-only but
keeps Controlify and Zoomify, which need it, so Fabric refuses to start
and the three drills time out. Essentials Mods [FABRIC] 1.0.0 for 26.1.2
boots as a dedicated server on the pinned image with the same env.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
The CurseForge pack now has about 125 jars, more than the API's mutation
bucket (60 burst, 1/s refill) allows in one go, so emptying the mods
folder before the Modrinth switch hit 429. Wait for Retry-After and try
again, for at most five minutes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
POST /servers/alpha/modpack now answers 202 Pending, and the admin
CurseForge share routes are mounted with the home-cluster client. Five
test changes, as signed off for spec 035:

- cmd/mounts_test.go: list handlers.MountRegistryShareWithOptions in
  homeClientMounts.
- cluster_guard_test.go: mount MountRegistryShareWithOptions in
  mountHomeClientRoutes; TestRegistry_ServesHomeClusterOnly builds a
  fresh router per query and expects 202 for the modpack POST.
- mod_target_test.go: map the modpack POST success status to 202;
  update counts unchanged.
- registry_cluster_test.go (TestClusterModRoutesEnforceScopedPermissionsAndOwnership):
  map the modpack POST owner and collaborator success to 202; 403 cases
  unchanged.
- registry_cluster_test.go (TestRegistryRemoteUsesSelectedTemplateAndWritesOnlySelectedServer):
  the remote typed client sees exactly one list of secrets with
  gameplane.local/backup-destination=true on the modpack POST, and zero
  calls on every other registry route.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
…eded by target

A repeat install after BackupFailed now carries a new install request id and
starts a fresh Backup; an unrelated spec edit no longer supersedes an
in-flight change. status.modpack records target and requestId.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
…sters as key not shared

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
…tually

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
…otation

The install annotation changed metadata on a write route that must only
change spec (mod_target_test status_only). Add spec.modpack.requestId, set
by the API on every install POST, and drop ModpackInstallAnnotation. The
operator reads it via modpackRequestID(); requestId sits outside ModpackRef
so the target comparison is unaffected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
…eted

The Backup created before a modpack change no longer carries a controller
owner reference, so deleting the GameServer keeps it and its restic
snapshot, like scheduled backups. The GameServer reconciler now watches
Backups with the modpack-change label and maps them to spec.serverRef.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
…I fields

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Claude <noreply@anthropic.com>
@ValgulNecron
ValgulNecron merged commit 71a2db1 into master Nov 22, 2026
106 checks passed
@ValgulNecron
ValgulNecron deleted the feat/035-curseforge-modpacks branch November 24, 2026 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: agent in-pod sidecar area: api REST/WebSocket gateway area: chart Helm chart and deployment area: e2e kind-based end-to-end suite area: operator controller-runtime operator and CRDs area: specs spec-kit feature specs and design docs area: web React dashboard type: feature New capability or user-facing addition

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants