Skip to content

Bundle the arena venue pack (career stage 3) - #961

Merged
byrongamatos merged 1 commit into
mainfrom
feat/bundle-arena-pack
Jul 14, 2026
Merged

byrongamatos merged 1 commit into
mainfrom
feat/bundle-arena-pack

Conversation

@byrongamatos

@byrongamatos byrongamatos commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

The Feedback Arena (150★, career stage 3) now ships in every build, same as the dive bar: media lives at `plugins/career/venue-packs/arena/` and is served by the existing bundled-pack fallback from #927. No code changes — `venues.json` untouched (`pack: null` = bundled, bar precedent).

Contents: 4 reactive crowd loops (bored/neutral/engaged/ecstatic — state-scaled rig lighting, 200-spectator crowd), 2 stingers, 7s flyover intro (596 bodies via intro-only fill), manifest with sfx wiring. Rendered from the UE5 arena scene at 2580×1080.

  • Audio is dive-bar placeholder recordings until arena-scale ones land (file swap, no re-render).
  • Largest file 89MB — future re-renders must stay under GitHub's 100MB hard limit.
  • Also published as a release asset (`venue-arena-v1`) for manual installs.
  • Adds a bundled-media test mirroring the bar's (asserts manifest shape + all files present, incl. sfx).
  • Codex preflight unavailable (usage limit until Jul 19); suites green: 998/998 `node --test`, 42/42 career pytest.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features

    • Added the Arena venue pack with mapped loop, stinger, intro, and sound effect media assets.
  • Tests

    • Added coverage to verify the Arena venue pack manifest and all required media files are present and complete.

Feedback Arena (150 stars) now ships in every build like the bar:
4 reactive crowd loops, 2 stingers, and a flyover intro rendered
from the UE5 arena scene (200 spectators + 396-body intro fill,
state-reactive rig lighting). Served by the existing bundled-pack
fallback; venues.json unchanged. Audio files are dive-bar
placeholders until arena-scale recordings land.

Largest file is 89MB — future re-renders must stay under GitHub's
100MB hard limit.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

Adds an arena venue-pack manifest mapping its media assets and a JavaScript test confirming the manifest and referenced files are complete in the plugin checkout.

Changes

Arena venue pack

Layer / File(s) Summary
Manifest and asset validation
plugins/career/venue-packs/arena/manifest.json, tests/js/career_plugin.test.js
Defines arena metadata and mappings for loops, stingers, intro media, and SFX, then verifies filenames and non-empty asset files.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the main change: bundling the arena venue pack for career stage 3.
Description check ✅ Passed The description covers the What, feedpak behavior, and tests, but it omits the issue link plus changelog and DCO checklist details.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/bundle-arena-pack

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint install failed. For unrecoverable errors, disable the tool in CodeRabbit configuration.


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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@tests/js/career_plugin.test.js`:
- Around line 58-68: Strengthen the manifest assertions in the career plugin
test by comparing the complete manifest.loops, manifest.stingers, and
manifest.sfx objects against their expected key-to-file mappings, rather than
only checking loop keys and file existence. Preserve the existing intro
assertions and media existence checks.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 691c9c4d-93b1-4546-9fb4-54d4ec11853e

📥 Commits

Reviewing files that changed from the base of the PR and between be473dc and 6395771.

⛔ Files ignored due to path filters (10)
  • plugins/career/venue-packs/arena/arena-ambience.mp3 is excluded by !**/*.mp3
  • plugins/career/venue-packs/arena/bored.mp4 is excluded by !**/*.mp4
  • plugins/career/venue-packs/arena/cheer.mp4 is excluded by !**/*.mp4
  • plugins/career/venue-packs/arena/clap.mp4 is excluded by !**/*.mp4
  • plugins/career/venue-packs/arena/ecstatic.mp4 is excluded by !**/*.mp4
  • plugins/career/venue-packs/arena/engaged.mp4 is excluded by !**/*.mp4
  • plugins/career/venue-packs/arena/intro.mp4 is excluded by !**/*.mp4
  • plugins/career/venue-packs/arena/neutral.mp4 is excluded by !**/*.mp4
  • plugins/career/venue-packs/arena/sfx-down.mp3 is excluded by !**/*.mp3
  • plugins/career/venue-packs/arena/sfx-up.mp3 is excluded by !**/*.mp3
📒 Files selected for processing (2)
  • plugins/career/venue-packs/arena/manifest.json
  • tests/js/career_plugin.test.js

Comment on lines +58 to +68
assert.deepEqual(Object.keys(manifest.loops).sort(),
['bored', 'ecstatic', 'engaged', 'neutral']);
assert.equal(manifest.intro.video, 'intro.mp4');
assert.equal(manifest.intro.audio, 'arena-ambience.mp3');
for (const f of [
...Object.values(manifest.loops),
...Object.values(manifest.stingers),
manifest.intro.video,
manifest.intro.audio,
manifest.sfx.up,
manifest.sfx.down,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win

Assert the exact media mappings, not only file presence.

The test currently checks loop keys and that referenced files exist, so swapped loop filenames or incorrect stinger/SFX keys would still pass. Assert the complete expected loops, stingers, and sfx objects to catch incorrect runtime wiring.

Proposed test strengthening
-    assert.deepEqual(Object.keys(manifest.loops).sort(),
-        ['bored', 'ecstatic', 'engaged', 'neutral']);
+    assert.deepEqual(manifest.loops, {
+        bored: 'bored.mp4',
+        neutral: 'neutral.mp4',
+        engaged: 'engaged.mp4',
+        ecstatic: 'ecstatic.mp4',
+    });
+    assert.deepEqual(manifest.stingers, {
+        clap: 'clap.mp4',
+        cheer: 'cheer.mp4',
+    });
+    assert.deepEqual(manifest.sfx, {
+        up: 'sfx-up.mp3',
+        down: 'sfx-down.mp3',
+    });
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
assert.deepEqual(Object.keys(manifest.loops).sort(),
['bored', 'ecstatic', 'engaged', 'neutral']);
assert.equal(manifest.intro.video, 'intro.mp4');
assert.equal(manifest.intro.audio, 'arena-ambience.mp3');
for (const f of [
...Object.values(manifest.loops),
...Object.values(manifest.stingers),
manifest.intro.video,
manifest.intro.audio,
manifest.sfx.up,
manifest.sfx.down,
assert.deepEqual(manifest.loops, {
bored: 'bored.mp4',
neutral: 'neutral.mp4',
engaged: 'engaged.mp4',
ecstatic: 'ecstatic.mp4',
});
assert.deepEqual(manifest.stingers, {
clap: 'clap.mp4',
cheer: 'cheer.mp4',
});
assert.deepEqual(manifest.sfx, {
up: 'sfx-up.mp3',
down: 'sfx-down.mp3',
});
assert.equal(manifest.intro.video, 'intro.mp4');
assert.equal(manifest.intro.audio, 'arena-ambience.mp3');
for (const f of [
...Object.values(manifest.loops),
...Object.values(manifest.stingers),
manifest.intro.video,
manifest.intro.audio,
manifest.sfx.up,
manifest.sfx.down,
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@tests/js/career_plugin.test.js` around lines 58 - 68, Strengthen the manifest
assertions in the career plugin test by comparing the complete manifest.loops,
manifest.stingers, and manifest.sfx objects against their expected key-to-file
mappings, rather than only checking loop keys and file existence. Preserve the
existing intro assertions and media existence checks.

@byrongamatos
byrongamatos merged commit ea9da0a into main Jul 14, 2026
6 checks passed
@byrongamatos
byrongamatos deleted the feat/bundle-arena-pack branch July 14, 2026 12:02
byrongamatos added a commit that referenced this pull request Jul 14, 2026
CodeRabbit follow-up on #961: presence checks alone would pass with
swapped loop filenames; assert the full loops/stingers/sfx objects.

Co-authored-by: Claude Fable 5 <noreply@anthropic.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