Modules
A/B testing framework for running experiments across mobile device clusters.
Subscribes to Dala.Device events on the running app over Erlang
distribution and tracks ground-truth screen/app state for the bench.
Append-only CSV log of bench probe snapshots.
Pre-run checklist for the iOS battery bench.
Multi-source state probe for the battery bench.
Auto-reconnect logic for the bench's BEAM dist connection.
Post-run analysis of a bench CSV log.
Runtime benchmarking for dala Elixir nodes.
CI/CD integration for mobile cluster testing.
Cluster visualization for dala Elixir nodes.
Orchestrates device discovery, tunnel setup, app restart, and node connection.
Parse BEAM crash dumps from devices.
Advanced debugging tools for remote Elixir nodes.
Pushes compiled BEAM files from _build/dev/lib/*/ebin/ to connected devices.
Represents a connected or available device (physical or emulator/simulator).
Discovers Android devices and emulators via adb.
Discovers iOS simulators via xcrun simctl.
List, start, and stop Android emulators (AVDs) and iOS simulators.
Pure helpers for mix dala.enable — extracted for testability.
Standardized error handling for the dala_dev codebase.
Connects to already-running device nodes and hot-pushes BEAM modules via RPC.
Generates app icons for Android and iOS from either a random robot avatar (using Avatarz) or a provided source image (using Image).
Unified log collection from dala Elixir cluster nodes.
Builds native binaries (APK for Android, .app bundle for iOS simulator) for the current Dala project.
Network utilities for dala_dev.
Network diagnostics for dala Elixir clusters.
Remote node observer inspired by :observer.start().
Downloads and caches pre-built OTP releases from GitHub for Android and iOS simulator.
Resolution helpers for paths Dala writes to outside the project tree.
Performance profiling for dala Elixir nodes using :eprof and :fprof.
Renders QR codes in the terminal using Unicode half-block characters. Uses eqrcode for matrix generation.
Build a signed, App-Store-ready iOS .ipa for the current Dala project.
Capture screenshots and record screen video from mobile devices.
LiveView for cluster visualization with D3.js.
Polls adb and simctl every 2 seconds, broadcasting device state changes via PubSub.
Holds the last N server-side Elixir log lines in memory so the dashboard
can restore them on reconnect. Fed by DalaDev.Server.ElixirLogger.
OTP logger handler that captures Elixir Logger output and forwards it
to the Dala dev server dashboard.
Holds the last N log lines in memory so the LiveView can restore them on reconnect without losing context from before a crash or page refresh.
Pure filter functions for the log stream. Extracted here so they can be unit-tested without mounting a LiveView.
Streams logcat from connected Android devices and iOS simulator console, broadcasting parsed lines via PubSub.
Isolated supervisor for LogStreamer.
Main Observer dashboard with navigation to specialized views.
LiveView for applications list display.
LiveView for ETS tables browser.
LiveView for system load display (scheduler usage, I/O stats).
LiveView for loaded modules display.
LiveView for ports information display.
LiveView for process list display with sorting and filtering.
LiveView for system information display.
LiveView for process tracing and message flow analysis.
GenServer that runs the dala.watch loop inside the dala.server process.
Main web UI layout for dala.web - provides navigation and integration for all dala_dev features in a single interface.
Distributed tracing for dala Elixir cluster nodes.
Manages port tunnels for Android and physical iOS devices.
Shared utility functions used across the dala_dev codebase.
Mix Tasks
Builds a benchmark APK, deploys it, and measures battery drain over time.
Builds a benchmark app, deploys it to a physical iPhone/iPad, and measures battery drain over time.
Run performance benchmarks on dala Elixir nodes.
Inspects every cache mix dala.* writes to outside the project tree, and
(with --clear) deletes them. Distinct from mix clean (build artifacts
in _build/) and mix deps.clean (deps in deps/) — this targets caches
in your home directory that survive across projects.
Discovers connected Android and iOS devices, sets up USB tunnels, restarts the app on each device, waits for Erlang nodes to come online, then drops into an IEx session connected to all of them.
Interactive debugging tools for remote Elixir nodes.
Compiles the project then pushes BEAM files to all connected Android devices and iOS simulators.
Scans for connected Android devices (via adb) and iOS simulators/physical devices (via xcrun simctl / ideviceinfo) and prints their status.
Checks your environment, project configuration, OTP caches, and connected devices, reporting any issues with specific fix instructions.
Manage virtual devices: Android emulators (AVDs) and iOS simulators.
Enables one or more optional Dala features by patching mix.exs, manifest
files, and generating any required source files.
Generates a paired Dala.Screen and Phoenix LiveView for LiveView mode apps.
Generates platform icons for the current Dala project.
Runs first-time setup for a Dala project generated by mix dala.new.
Collects, streams, and exports logs from dala Elixir cluster nodes.
Start the Dala Observer web interface for remote node monitoring.
Registers your app's bundle ID with Apple and downloads an iOS provisioning profile.
Uploads a release-signed .ipa to App Store Connect using xcrun altool
with App Store Connect API key authentication. The build then appears in
TestFlight after Apple finishes processing (typically 5-15 minutes).
Uploads a release-signed .aab to Google Play Console using the Google Play
Developer API.
Compiles the project and hot-pushes updated BEAM modules to all running Android and iOS devices — no app restart.
Builds a release-signed iOS .ipa ready to upload to App Store Connect.
Builds a release-signed Android App Bundle (.aab) ready to upload to Google Play.
Walks all lib/**/*.ex files and checks that every module passed to
push_screen/2, reset_to/2, or pop_to/2 resolves to a loadable module.
Capture screenshots, record screen video, or start live screen preview from connected mobile devices.
Starts the Dala dev server and opens it in the browser.
Interactive distributed tracing UI for dala Elixir clusters.
Watches lib/ for source changes and automatically compiles + hot-pushes
updated modules to all running Android and iOS devices.
Stops a running mix dala.watch process.
Start the Dala Web UI - a comprehensive web interface for all dala_dev features.