Skip to content

refactor(just): slim down mobile-dev to just run Flutter#801

Merged
wpfleger96 merged 1 commit into
mainfrom
wpfleger/slim-down-mobile-dev
May 30, 2026
Merged

refactor(just): slim down mobile-dev to just run Flutter#801
wpfleger96 merged 1 commit into
mainfrom
wpfleger/slim-down-mobile-dev

Conversation

@wpfleger96
Copy link
Copy Markdown
Collaborator

just mobile-dev was bundling infra concerns — running migrations, starting Docker services, and compiling and polling for the relay — alongside just launching Flutter. This made it slow and inconsistent with how desktop development works.

The desktop just dev recipe doesn't touch the relay at all; it expects the developer to run just relay separately. Mobile should follow the same pattern. The relay startup alone could take 30–90 seconds of cargo run compilation time, which isn't the mobile developer's problem to manage on every flutter run.

  • Remove just _ensure-migrations call from mobile-dev
  • Remove the relay auto-start block (port check, background cargo run, 90s polling loop, trap)
  • just relay already covers all the removed functionality (it depends on _ensure-migrations_ensure-services)

mobile-dev was bundling migrations, Docker service startup, and relay
compilation (with a 90-second polling loop) alongside the Flutter run.
The desktop dev recipe doesn't do this — it expects the relay to already
be running via `just relay`. Mobile should follow the same pattern.
@wpfleger96 wpfleger96 marked this pull request as ready for review May 30, 2026 00:44
@wpfleger96 wpfleger96 requested a review from a team as a code owner May 30, 2026 00:44
@wpfleger96 wpfleger96 merged commit 9b9cf46 into main May 30, 2026
14 checks passed
@wpfleger96 wpfleger96 deleted the wpfleger/slim-down-mobile-dev branch May 30, 2026 00:44
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