From 173b8beb579d6dbf0017c8258d1c4e799df7aeb1 Mon Sep 17 00:00:00 2001 From: Jan Rose Date: Thu, 19 Nov 2026 14:23:26 +0000 Subject: [PATCH] acc: show what starting a bundle-created app does to its deployments Four cloud tests for apps created with source_code_path (#6399): a plain apps start, bundle run, and lifecycle.started on create and on update. The goldens hold what the bundle asks for, so a cloud diff shows a deployment the bundle did not make or a command that fails because of one. cloud: TestAccept/bundle/resources/apps/start-triggered-deployment Co-authored-by: Isaac --- .../apps-start/app/app.py | 8 ++++ .../apps-start/app/app.yaml | 9 ++++ .../apps-start/databricks.yml.tmpl | 13 ++++++ .../apps-start/out.test.toml | 2 + .../apps-start/output.txt | 33 ++++++++++++++ .../apps-start/script | 38 ++++++++++++++++ .../bundle-run/app/app.py | 8 ++++ .../bundle-run/databricks.yml.tmpl | 13 ++++++ .../bundle-run/out.test.toml | 2 + .../bundle-run/output.txt | 40 +++++++++++++++++ .../bundle-run/script | 16 +++++++ .../lifecycle-started-on-create/app/app.py | 8 ++++ .../databricks.yml.tmpl | 15 +++++++ .../lifecycle-started-on-create/out.test.toml | 2 + .../lifecycle-started-on-create/output.txt | 35 +++++++++++++++ .../lifecycle-started-on-create/script | 13 ++++++ .../lifecycle-started-on-update/app/app.py | 8 ++++ .../databricks.yml.tmpl | 15 +++++++ .../lifecycle-started-on-update/out.test.toml | 2 + .../lifecycle-started-on-update/output.txt | 45 +++++++++++++++++++ .../lifecycle-started-on-update/script | 17 +++++++ .../start-triggered-deployment/script.prepare | 5 +++ .../apps/start-triggered-deployment/test.toml | 20 +++++++++ 23 files changed, 367 insertions(+) create mode 100644 acceptance/bundle/resources/apps/start-triggered-deployment/apps-start/app/app.py create mode 100644 acceptance/bundle/resources/apps/start-triggered-deployment/apps-start/app/app.yaml create mode 100644 acceptance/bundle/resources/apps/start-triggered-deployment/apps-start/databricks.yml.tmpl create mode 100644 acceptance/bundle/resources/apps/start-triggered-deployment/apps-start/out.test.toml create mode 100644 acceptance/bundle/resources/apps/start-triggered-deployment/apps-start/output.txt create mode 100644 acceptance/bundle/resources/apps/start-triggered-deployment/apps-start/script create mode 100644 acceptance/bundle/resources/apps/start-triggered-deployment/bundle-run/app/app.py create mode 100644 acceptance/bundle/resources/apps/start-triggered-deployment/bundle-run/databricks.yml.tmpl create mode 100644 acceptance/bundle/resources/apps/start-triggered-deployment/bundle-run/out.test.toml create mode 100644 acceptance/bundle/resources/apps/start-triggered-deployment/bundle-run/output.txt create mode 100644 acceptance/bundle/resources/apps/start-triggered-deployment/bundle-run/script create mode 100644 acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-create/app/app.py create mode 100644 acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-create/databricks.yml.tmpl create mode 100644 acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-create/out.test.toml create mode 100644 acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-create/output.txt create mode 100644 acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-create/script create mode 100644 acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-update/app/app.py create mode 100644 acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-update/databricks.yml.tmpl create mode 100644 acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-update/out.test.toml create mode 100644 acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-update/output.txt create mode 100644 acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-update/script create mode 100644 acceptance/bundle/resources/apps/start-triggered-deployment/script.prepare create mode 100644 acceptance/bundle/resources/apps/start-triggered-deployment/test.toml diff --git a/acceptance/bundle/resources/apps/start-triggered-deployment/apps-start/app/app.py b/acceptance/bundle/resources/apps/start-triggered-deployment/apps-start/app/app.py new file mode 100644 index 00000000000..07b25343270 --- /dev/null +++ b/acceptance/bundle/resources/apps/start-triggered-deployment/apps-start/app/app.py @@ -0,0 +1,8 @@ +from flask import Flask + +app = Flask(__name__) + + +@app.route("/") +def home(): + return "Hello!" diff --git a/acceptance/bundle/resources/apps/start-triggered-deployment/apps-start/app/app.yaml b/acceptance/bundle/resources/apps/start-triggered-deployment/apps-start/app/app.yaml new file mode 100644 index 00000000000..90364153d9d --- /dev/null +++ b/acceptance/bundle/resources/apps/start-triggered-deployment/apps-start/app/app.yaml @@ -0,0 +1,9 @@ +command: + - flask + - --app + - app + - run + +env: + - name: FROM_APP_YAML + value: "1" diff --git a/acceptance/bundle/resources/apps/start-triggered-deployment/apps-start/databricks.yml.tmpl b/acceptance/bundle/resources/apps/start-triggered-deployment/apps-start/databricks.yml.tmpl new file mode 100644 index 00000000000..6ddc1bbcfed --- /dev/null +++ b/acceptance/bundle/resources/apps/start-triggered-deployment/apps-start/databricks.yml.tmpl @@ -0,0 +1,13 @@ +bundle: + name: start-deployment-apps-start-$UNIQUE_NAME + +resources: + apps: + myapp: + name: $UNIQUE_NAME + source_code_path: ./app + config: + command: ["flask", "--app", "app", "run"] + env: + - name: FROM_BUNDLE_CONFIG + value: "1" diff --git a/acceptance/bundle/resources/apps/start-triggered-deployment/apps-start/out.test.toml b/acceptance/bundle/resources/apps/start-triggered-deployment/apps-start/out.test.toml new file mode 100644 index 00000000000..b229e664117 --- /dev/null +++ b/acceptance/bundle/resources/apps/start-triggered-deployment/apps-start/out.test.toml @@ -0,0 +1,2 @@ +Cloud = true +EnvMatrix.DMS = [] diff --git a/acceptance/bundle/resources/apps/start-triggered-deployment/apps-start/output.txt b/acceptance/bundle/resources/apps/start-triggered-deployment/apps-start/output.txt new file mode 100644 index 00000000000..c9f6b5f0cfd --- /dev/null +++ b/acceptance/bundle/resources/apps/start-triggered-deployment/apps-start/output.txt @@ -0,0 +1,33 @@ + +=== Deploy: the app is created stopped and nothing is deployed to it + +>>> [CLI] bundle deploy +Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/start-deployment-apps-start-[UNIQUE_NAME]/default/files... +Created apps.myapp +Files: 4 uploaded, 0 deleted +Resources: 1 created, 0 changed, 0 deleted, 0 unchanged + +>>> [CLI] apps get [UNIQUE_NAME] +{ + "active_deployment": null, + "pending_deployment": null +} + +=== Start the compute outside the bundle: the bundle has not deployed anything, so the app has no deployment + +>>> errcode [CLI] apps start [UNIQUE_NAME] +"ACTIVE" + +>>> [CLI] apps get [UNIQUE_NAME] +{ + "active_deployment": null, + "pending_deployment": null +} + +>>> [CLI] bundle destroy --auto-approve +The following resources will be deleted: + delete resources.apps.myapp + +All files and directories at the following location will be deleted: /Workspace/Users/[USERNAME]/.bundle/start-deployment-apps-start-[UNIQUE_NAME]/default + +Destroy: 1 deleted diff --git a/acceptance/bundle/resources/apps/start-triggered-deployment/apps-start/script b/acceptance/bundle/resources/apps/start-triggered-deployment/apps-start/script new file mode 100644 index 00000000000..8595ef2a3dc --- /dev/null +++ b/acceptance/bundle/resources/apps/start-triggered-deployment/apps-start/script @@ -0,0 +1,38 @@ +envsubst < databricks.yml.tmpl > databricks.yml + +cleanup() { + trace $CLI bundle destroy --auto-approve +} +trap cleanup EXIT + +# wait_for_deployments gives a deployment that the backend starts by itself time to show up +# and to finish. Only a real workspace can start one, so there is nothing to wait for locally. +wait_for_deployments() { + if [ -z "$CLOUD_ENV" ]; then + return 0 + fi + local states + for i in $(seq 60); do + sleep 10 + states=$($CLI apps get "$1" | jq -r '[.active_deployment, .pending_deployment | select(. != null) | .status.state] | join(" ")') + echo "poll $i: deployment states: [$states]" >> LOG.wait_for_deployments + if [ -z "$states" ] && [ "$i" -ge 6 ]; then + return 0 + fi + if [ -n "$states" ] && [[ "$states" != *IN_PROGRESS* ]]; then + return 0 + fi + done +} + +title "Deploy: the app is created stopped and nothing is deployed to it" +trace $CLI bundle deploy +trace $CLI apps get $UNIQUE_NAME | app_deployments + +# The source folder has an app.yaml that runs, with a different env var than the bundle's +# inline config, so a deployment made from the folder alone is told apart from the bundle's. +title "Start the compute outside the bundle: the bundle has not deployed anything, so the app has no deployment" +{ trace errcode $CLI apps start $UNIQUE_NAME | jq '.compute_status.state'; } || true +wait_for_deployments $UNIQUE_NAME +$CLI apps get $UNIQUE_NAME > LOG.app_after_start +trace $CLI apps get $UNIQUE_NAME | app_deployments diff --git a/acceptance/bundle/resources/apps/start-triggered-deployment/bundle-run/app/app.py b/acceptance/bundle/resources/apps/start-triggered-deployment/bundle-run/app/app.py new file mode 100644 index 00000000000..07b25343270 --- /dev/null +++ b/acceptance/bundle/resources/apps/start-triggered-deployment/bundle-run/app/app.py @@ -0,0 +1,8 @@ +from flask import Flask + +app = Flask(__name__) + + +@app.route("/") +def home(): + return "Hello!" diff --git a/acceptance/bundle/resources/apps/start-triggered-deployment/bundle-run/databricks.yml.tmpl b/acceptance/bundle/resources/apps/start-triggered-deployment/bundle-run/databricks.yml.tmpl new file mode 100644 index 00000000000..771a9c596c6 --- /dev/null +++ b/acceptance/bundle/resources/apps/start-triggered-deployment/bundle-run/databricks.yml.tmpl @@ -0,0 +1,13 @@ +bundle: + name: start-deployment-bundle-run-$UNIQUE_NAME + +resources: + apps: + myapp: + name: $UNIQUE_NAME + source_code_path: ./app + config: + command: ["flask", "--app", "app", "run"] + env: + - name: FROM_BUNDLE_CONFIG + value: "1" diff --git a/acceptance/bundle/resources/apps/start-triggered-deployment/bundle-run/out.test.toml b/acceptance/bundle/resources/apps/start-triggered-deployment/bundle-run/out.test.toml new file mode 100644 index 00000000000..b229e664117 --- /dev/null +++ b/acceptance/bundle/resources/apps/start-triggered-deployment/bundle-run/out.test.toml @@ -0,0 +1,2 @@ +Cloud = true +EnvMatrix.DMS = [] diff --git a/acceptance/bundle/resources/apps/start-triggered-deployment/bundle-run/output.txt b/acceptance/bundle/resources/apps/start-triggered-deployment/bundle-run/output.txt new file mode 100644 index 00000000000..3e7cc765144 --- /dev/null +++ b/acceptance/bundle/resources/apps/start-triggered-deployment/bundle-run/output.txt @@ -0,0 +1,40 @@ + +=== Deploy: the app is created stopped and nothing is deployed to it + +>>> [CLI] bundle deploy +Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/start-deployment-bundle-run-[UNIQUE_NAME]/default/files... +Created apps.myapp +Files: 3 uploaded, 0 deleted +Resources: 1 created, 0 changed, 0 deleted, 0 unchanged + +=== Run: the compute is started and the source is deployed with the inline config + +>>> errcode [CLI] bundle run myapp +You can access the app at [APP_URL] + +>>> [CLI] apps get [UNIQUE_NAME] +{ + "active_deployment": { + "command": [ + "flask", + "--app", + "app", + "run" + ], + "env_vars": [ + { + "name": "FROM_BUNDLE_CONFIG" + } + ], + "state": "SUCCEEDED" + }, + "pending_deployment": null +} + +>>> [CLI] bundle destroy --auto-approve +The following resources will be deleted: + delete resources.apps.myapp + +All files and directories at the following location will be deleted: /Workspace/Users/[USERNAME]/.bundle/start-deployment-bundle-run-[UNIQUE_NAME]/default + +Destroy: 1 deleted diff --git a/acceptance/bundle/resources/apps/start-triggered-deployment/bundle-run/script b/acceptance/bundle/resources/apps/start-triggered-deployment/bundle-run/script new file mode 100644 index 00000000000..33ac35ce602 --- /dev/null +++ b/acceptance/bundle/resources/apps/start-triggered-deployment/bundle-run/script @@ -0,0 +1,16 @@ +envsubst < databricks.yml.tmpl > databricks.yml + +cleanup() { + trace $CLI bundle destroy --auto-approve +} +trap cleanup EXIT + +# The source folder has no app.yaml: the inline config is the only place that says how to +# run the app. +title "Deploy: the app is created stopped and nothing is deployed to it" +trace $CLI bundle deploy + +title "Run: the compute is started and the source is deployed with the inline config" +trace errcode $CLI bundle run myapp +$CLI apps get $UNIQUE_NAME > LOG.app_after_run +trace $CLI apps get $UNIQUE_NAME | app_deployments diff --git a/acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-create/app/app.py b/acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-create/app/app.py new file mode 100644 index 00000000000..07b25343270 --- /dev/null +++ b/acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-create/app/app.py @@ -0,0 +1,8 @@ +from flask import Flask + +app = Flask(__name__) + + +@app.route("/") +def home(): + return "Hello!" diff --git a/acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-create/databricks.yml.tmpl b/acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-create/databricks.yml.tmpl new file mode 100644 index 00000000000..95d5438d37d --- /dev/null +++ b/acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-create/databricks.yml.tmpl @@ -0,0 +1,15 @@ +bundle: + name: start-deployment-on-create-$UNIQUE_NAME + +resources: + apps: + myapp: + name: $UNIQUE_NAME + source_code_path: ./app + config: + command: ["flask", "--app", "app", "run"] + env: + - name: FROM_BUNDLE_CONFIG + value: "1" + lifecycle: + started: true diff --git a/acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-create/out.test.toml b/acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-create/out.test.toml new file mode 100644 index 00000000000..b229e664117 --- /dev/null +++ b/acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-create/out.test.toml @@ -0,0 +1,2 @@ +Cloud = true +EnvMatrix.DMS = [] diff --git a/acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-create/output.txt b/acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-create/output.txt new file mode 100644 index 00000000000..bfc479daf08 --- /dev/null +++ b/acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-create/output.txt @@ -0,0 +1,35 @@ + +=== Deploy with lifecycle.started=true: the app is created with compute and the source is deployed with the inline config + +>>> errcode [CLI] bundle deploy +Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/start-deployment-on-create-[UNIQUE_NAME]/default/files... +Created apps.myapp +Files: 3 uploaded, 0 deleted +Resources: 1 created, 0 changed, 0 deleted, 0 unchanged + +>>> [CLI] apps get [UNIQUE_NAME] +{ + "active_deployment": { + "command": [ + "flask", + "--app", + "app", + "run" + ], + "env_vars": [ + { + "name": "FROM_BUNDLE_CONFIG" + } + ], + "state": "SUCCEEDED" + }, + "pending_deployment": null +} + +>>> [CLI] bundle destroy --auto-approve +The following resources will be deleted: + delete resources.apps.myapp + +All files and directories at the following location will be deleted: /Workspace/Users/[USERNAME]/.bundle/start-deployment-on-create-[UNIQUE_NAME]/default + +Destroy: 1 deleted diff --git a/acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-create/script b/acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-create/script new file mode 100644 index 00000000000..741504ef595 --- /dev/null +++ b/acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-create/script @@ -0,0 +1,13 @@ +envsubst < databricks.yml.tmpl > databricks.yml + +cleanup() { + trace $CLI bundle destroy --auto-approve +} +trap cleanup EXIT + +# The source folder has no app.yaml: the inline config is the only place that says how to +# run the app. +title "Deploy with lifecycle.started=true: the app is created with compute and the source is deployed with the inline config" +trace errcode $CLI bundle deploy +$CLI apps get $UNIQUE_NAME > LOG.app_after_deploy +trace $CLI apps get $UNIQUE_NAME | app_deployments diff --git a/acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-update/app/app.py b/acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-update/app/app.py new file mode 100644 index 00000000000..07b25343270 --- /dev/null +++ b/acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-update/app/app.py @@ -0,0 +1,8 @@ +from flask import Flask + +app = Flask(__name__) + + +@app.route("/") +def home(): + return "Hello!" diff --git a/acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-update/databricks.yml.tmpl b/acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-update/databricks.yml.tmpl new file mode 100644 index 00000000000..4d0a45d63ef --- /dev/null +++ b/acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-update/databricks.yml.tmpl @@ -0,0 +1,15 @@ +bundle: + name: start-deployment-on-update-$UNIQUE_NAME + +resources: + apps: + myapp: + name: $UNIQUE_NAME + source_code_path: ./app + config: + command: ["flask", "--app", "app", "run"] + env: + - name: FROM_BUNDLE_CONFIG + value: "1" + lifecycle: + started: false diff --git a/acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-update/out.test.toml b/acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-update/out.test.toml new file mode 100644 index 00000000000..b229e664117 --- /dev/null +++ b/acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-update/out.test.toml @@ -0,0 +1,2 @@ +Cloud = true +EnvMatrix.DMS = [] diff --git a/acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-update/output.txt b/acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-update/output.txt new file mode 100644 index 00000000000..f71de4087c5 --- /dev/null +++ b/acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-update/output.txt @@ -0,0 +1,45 @@ + +=== Deploy with lifecycle.started=false: the app is created stopped and nothing is deployed to it + +>>> [CLI] bundle deploy +Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/start-deployment-on-update-[UNIQUE_NAME]/default/files... +Created apps.myapp +Files: 3 uploaded, 0 deleted +Resources: 1 created, 0 changed, 0 deleted, 0 unchanged + +=== Deploy with lifecycle.started=true: the compute is started and the source is deployed with the inline config + +>>> update_file.py databricks.yml started: false started: true + +>>> errcode [CLI] bundle deploy +Uploading bundle files to /Workspace/Users/[USERNAME]/.bundle/start-deployment-on-update-[UNIQUE_NAME]/default/files... +Updated apps.myapp +Files: 1 uploaded, 0 deleted +Resources: 0 created, 1 changed, 0 deleted, 0 unchanged + +>>> [CLI] apps get [UNIQUE_NAME] +{ + "active_deployment": { + "command": [ + "flask", + "--app", + "app", + "run" + ], + "env_vars": [ + { + "name": "FROM_BUNDLE_CONFIG" + } + ], + "state": "SUCCEEDED" + }, + "pending_deployment": null +} + +>>> [CLI] bundle destroy --auto-approve +The following resources will be deleted: + delete resources.apps.myapp + +All files and directories at the following location will be deleted: /Workspace/Users/[USERNAME]/.bundle/start-deployment-on-update-[UNIQUE_NAME]/default + +Destroy: 1 deleted diff --git a/acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-update/script b/acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-update/script new file mode 100644 index 00000000000..792ff37be55 --- /dev/null +++ b/acceptance/bundle/resources/apps/start-triggered-deployment/lifecycle-started-on-update/script @@ -0,0 +1,17 @@ +envsubst < databricks.yml.tmpl > databricks.yml + +cleanup() { + trace $CLI bundle destroy --auto-approve +} +trap cleanup EXIT + +# The source folder has no app.yaml: the inline config is the only place that says how to +# run the app. +title "Deploy with lifecycle.started=false: the app is created stopped and nothing is deployed to it" +trace $CLI bundle deploy + +title "Deploy with lifecycle.started=true: the compute is started and the source is deployed with the inline config" +trace update_file.py databricks.yml "started: false" "started: true" +trace errcode $CLI bundle deploy +$CLI apps get $UNIQUE_NAME > LOG.app_after_deploy +trace $CLI apps get $UNIQUE_NAME | app_deployments diff --git a/acceptance/bundle/resources/apps/start-triggered-deployment/script.prepare b/acceptance/bundle/resources/apps/start-triggered-deployment/script.prepare new file mode 100644 index 00000000000..afc43fdcc25 --- /dev/null +++ b/acceptance/bundle/resources/apps/start-triggered-deployment/script.prepare @@ -0,0 +1,5 @@ +# app_deployments projects `apps get` to the deployments on the app. source_code_path is left +# out because a real workspace reports a per-deployment snapshot path there. +app_deployments() { + jq '{active_deployment, pending_deployment} | map_values(if . == null then null else {command, env_vars, state: .status.state} | with_entries(select(.value != null)) end)' +} diff --git a/acceptance/bundle/resources/apps/start-triggered-deployment/test.toml b/acceptance/bundle/resources/apps/start-triggered-deployment/test.toml new file mode 100644 index 00000000000..ad4b119080d --- /dev/null +++ b/acceptance/bundle/resources/apps/start-triggered-deployment/test.toml @@ -0,0 +1,20 @@ +# These tests show what starting the compute of a bundle-created app does to its deployments. +# Create records source_code_path on the app (#6399). The goldens hold what the bundle asks +# for: the only deployment an app gets is the one the CLI makes, carrying the inline config. +Cloud = true +RecordRequests = false + +# The DMS variant adds nothing here, and each variant starts app compute on every cloud. +EnvMatrix.DMS = [] + +Ignore = [".databricks", "databricks.yml"] + +# App deployment progress messages are non-deterministic on cloud (different status messages +# per poll), so filter them out entirely. +[[Repls]] +Old = '(?m)^✓ [^\n]*\n' +New = "" + +[[Repls]] +Old = 'You can access the app at \S+' +New = 'You can access the app at [APP_URL]'