Skip to content

feat(tools): per-platform VST3 slicing for rig content packs#1025

Merged
byrongamatos merged 1 commit into
got-feedBack:mainfrom
mhglover:feat/rig-vst-packs
Jul 22, 2026
Merged

feat(tools): per-platform VST3 slicing for rig content packs#1025
byrongamatos merged 1 commit into
got-feedBack:mainfrom
mhglover:feat/rig-vst-packs

Conversation

@mhglover

Copy link
Copy Markdown
Contributor

Draft — stacked on #1024#1023; includes their commits until they merge. Part of the nightly-slimming effort (feedBack-desktop#122).

Core slice of the rig opt-in VST work — one of three companion PRs (rig plugin download endpoint + UI; desktop bundle strip).

What's here

  • content_packs.build_vst_pack — reproducibly zips the rig VST tree keeping only one platform's binaries (drops the two foreign Contents/<platform> dirs and the vst/src build trees), turning ~650 MB of fat .vst3 into three ~200 MB per-platform packs. Same precomputable-hash guarantee as the venue packer.
  • Tests: slice keeps target + shared / drops foreign, per-platform binary selection, reproducibility.

Companion PRs

  • feedBack-plugin-rig-builder: /download_vst_pack endpoint, loader search-path, first-run prompt, rig achievements.
  • feedBack-desktop: strip *rig-builder/vst from the bundle.

@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@byrongamatos, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 2 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 4f3d249a-3836-4dd6-be30-ece49024034b

📥 Commits

Reviewing files that changed from the base of the PR and between 59bcf33 and 2576e76.

📒 Files selected for processing (2)
  • tests/test_content_packs_vst.py
  • tools/content_packs.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

Comment @coderabbitai help to get the list of available commands.

Rebased onto merged main (was stacked on #1023/#1024, whose venue work is
now in main) so it no longer carries a stale content_packs.py that would
revert 1023's build_pack fixes.

- build_vst_pack: slice a fat .vst3 tree to one platform (keep its binary
  dir + shared bundle files, drop the two foreign platform dirs and src/
  build trees). Pins create_system=3 like build_pack — without it the same
  tree hashes differently on a Windows runner (native .vst3 are built there),
  breaking the precomputable-hash guarantee exactly where it matters.
- Publish wiring: 'python tools/content_packs.py <vst-root> --vst --version N
  --publish' builds+uploads vst-<plat>-vN releases for mac/win/linux and emits
  a platform-keyed {url,sha256,bytes} manifest — the shape rig_builder's
  data/vst_packs.json consumes. publish() refactored onto a shared
  _publish_release helper (venue behaviour unchanged).
- Tests: slice keeps target+shared/drops foreign, per-platform binary,
  reproducibility, unknown-platform reject, and a simulated-win32 guard that
  fails if the create_system pin is dropped. selfcheck covers the VST path.

Original build_vst_pack by Matthew Harris Glover; reworked for the create_system
fix, publish wiring, and rebase.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: byrongamatos <xasiklas@gmail.com>
@byrongamatos
byrongamatos marked this pull request as ready for review July 22, 2026 23:01
@byrongamatos
byrongamatos merged commit 8297afc into got-feedBack:main Jul 22, 2026
6 checks passed
@mhglover
mhglover deleted the feat/rig-vst-packs branch July 22, 2026 23:43
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