Skip to content

fix(ci): Formulus Metro bundling and Desktop darwin-amd64 DMG on release#637

Open
najuna-brian wants to merge 2 commits into
OpenDataEnsemble:devfrom
najuna-brian:fix/release-ci-android-desktop
Open

fix(ci): Formulus Metro bundling and Desktop darwin-amd64 DMG on release#637
najuna-brian wants to merge 2 commits into
OpenDataEnsemble:devfrom
najuna-brian:fix/release-ci-android-desktop

Conversation

@najuna-brian
Copy link
Copy Markdown
Contributor

Description

Fixes release CI failures from v1.0.1-alpha.14:

  • Formulus Android: Metro could not bundle @ode/observation-query because @babel/runtime/helpers/interopRequireDefault was not resolved from the monorepo package path (:app:createBundleReleaseJsAndAssets failed).
  • ODE Desktop (darwin-amd64): Rust and .app bundling succeeded, but DMG creation failed via bundle_dmg.sh on the Intel macOS runner. Other matrix jobs (including darwin-arm64 for Apple Silicon) passed on the same release.

Changes

Formulus Android

  • Force-resolve @babel/runtime (and subpaths) from Formulus node_modules in formulus/metro.config.js, matching the existing react / react-native pattern.
  • Add @babel/runtime as a dependency on @ode/observation-query.
  • Add packages/observation-query/** to formulus-android.yml path filters.

ODE Desktop

  • macOS CI hardening in ode-desktop.yml (package + release jobs):
    • Pre-clean stale DMG mounts / rw.*.dmg files before build
    • tauri build --verbose
    • On macOS failure: retry with --bundles dmg only
    • If no .dmg is produced: zip .app with ditto and upload as fallback
  • darwin-amd64 runner: macos-15-intelmacos-14
  • Align desktop/package.json and tauri.conf.json version to 1.0.1 (matches Cargo.toml / release tags)

@najuna-brian najuna-brian requested a review from IamLRBA May 18, 2026 00:23
Co-authored-by: Cursor <cursoragent@cursor.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