Inspects an AshBilling deployment and reports PASS, WARN, and FAIL checks across
structural Ash contracts, PostgreSQL migrations/indexes, and optional read-only provider
connectivity.
By default, this task is strictly read-only and never mutates PostgreSQL or Stripe. Secrets, API keys, and sensitive customer identifiers are never printed.
Usage
mix ash_billing.doctor \
--customer-resource MyApp.Accounts.User \
--subscription-resource MyApp.Billing.Subscription \
--deduplication-resource MyApp.Billing.WebhookEventOptions
--customer-resource- Ash customer resource module.--subscription-resource- Ash subscription resource module.--deduplication-resource(alias--webhook-event-resource) - Ash webhook event resource module.--expected-livemode- Explicit boolean (trueorfalse) for Stripe livemode checks.--stripe-account- Optional Stripe Connect account ID.--format- Output format:text(default) orjson.--json- Shorthand for--format json.--check-database/--no-check-database- Enable/disable read-only PostgreSQL checks (defaults totruewhen PostgreSQL resources are provided).--check-provider- Enable optional read-only provider connectivity probe (defaultfalse).--strict- Exit non-zero on warnings as well as failures.--no-start- Do not start the application before running diagnostics.