Reject bundled agent runtimes from app artifacts

Closed
AU
2mo ago
+258-0

Fixes #5674

Summary

  • add a regression guard for bundled provider/Bun runtimes in cmux app artifacts
  • verify Release, nightly, and release workflow app bundles do not ship stale provider executables or Bun runtimes
  • close the v0.64.14 bundled-runtime regression path while upstream Bun 1.3.14 remains the latest tagged release

Tests

  • ./tests/test_bundled_provider_runtime_guard.sh
  • python3 tests/test_ci_change_areas.py

Note: no local dev build or reload was run per issue instructions.

Summary by CodeRabbit

  • Bug Fixes
    • Strengthened CI, nightly, and release validations to ensure published cmux.app bundles do not include bundled agent runtimes.
    • Added checks that scan Contents/Resources/bin for unexpected executables/symlinks, missing/exact wrapper matches, and embedded runtime signature indicators.
  • Tests
    • Added a regression test that verifies the bundled-runtime guard accepts valid bundles and fails on multiple rejection scenarios, including asserting the exact offending Contents/Resources/bin/... path.