Skip to content

Deprecate --progress-format flag and remove progress logger types - #3820

Merged
pietern merged 8 commits into
mainfrom
progress-logger-rm
Oct 28, 2025
Merged

Deprecate --progress-format flag and remove progress logger types#3820
pietern merged 8 commits into
mainfrom
progress-logger-rm

Conversation

@pietern

Copy link
Copy Markdown
Contributor

Changes

This change removes remaining references to the "progress logger".

All terminal I/O now goes through a single type in cmdio.

Builds on #3811, #3812, and #3818.

In-place mode was designed to update job progress in place using ANSI escape codes (e.g., showing 'PENDING' → 'RUNNING' → 'TERMINATED' on the same line). However, acceptance tests show jobs typically output only a single state transition: 'Run URL: <url>' followed by '[TIMESTAMP] "job-name" TERMINATED', suggesting the job completes before multiple states can be observed. The default mode selection logic required log-file to not be stderr AND stderr to be a terminal to enable in-place mode, which is an uncommon configuration. Additionally, only JobProgressEvent supported in-place updates while all other events (URLs, errors, pipeline events) fell back to append mode, making the feature inconsistent. The implementation added complexity with ANSI escape codes, terminal detection, and an IsInplaceSupported() interface method across all event types. Since the feature provided minimal practical value and likely was rarely (if ever) enabled by default, it has been removed in favor of the simpler append mode.
The JSON mode for progress logging was designed to output structured JSON events for machine parsing. However, this mode had several limitations: it prevented interactive prompts (Ask/AskSelect methods would error), required --auto-approve for destroy commands, and added complexity with JSON marshaling in the logger. The feature provided minimal practical value as most CLI usage is interactive, and the default append mode is sufficient for both human and machine consumption. Since the mode added unnecessary complexity without clear benefits, it has been removed in favor of the simpler append-only mode.
@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Oct 24, 2025

Copy link
Copy Markdown
Collaborator

Run: 18870840512

Env❌​FAIL🟨​KNOWN💚​RECOVERED🙈​SKIP✅​pass🙈​skip
💚​aws linux12319582
💚​aws windows12320581
💚​aws-ucws linux21439478
💚​aws-ucws windows21440477
💚​azure linux12319581
💚​azure windows12320580
🟨​azure-ucws linux21437477
🟨​azure-ucws windows21438476
❌​gcp linux2712291583
❌​gcp windows2012299582
45 failing tests:
Test Nameaws linuxaws windowsaws-ucws linuxaws-ucws windowsazure linuxazure windowsazure-ucws linuxazure-ucws windowsgcp linuxgcp windows
TestAccept💚​R💚​R💚​R💚​R💚​R💚​R🟨​K🟨​K🟨​K🟨​K
TestAccept/bundle/deployment/bind/dashboard✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p
TestAccept/bundle/deployment/bind/job/generate-and-bind✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p
TestAccept/bundle/deployment/bind/job/job-spark-python-task✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p
TestAccept/bundle/deployment/bind/model-serving-endpoint✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F
TestAccept/bundle/local_state_staleness✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F
TestAccept/bundle/local_state_staleness/DATABRICKS_BUNDLE_ENGINE=direct-exp✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F
TestAccept/bundle/resources/dashboards/detect-change✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p
TestAccept/bundle/resources/jobs/double-underscore-keys✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p
TestAccept/bundle/resources/jobs/double-underscore-keys/DATABRICKS_BUNDLE_ENGINE=terraform✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p
TestAccept/bundle/resources/jobs/fail-on-active-runs✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p
TestAccept/bundle/resources/jobs/fail-on-active-runs/DATABRICKS_BUNDLE_ENGINE=direct-exp✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p
TestAccept/bundle/resources/pipelines/lakeflow-pipeline✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F
TestAccept/bundle/resources/pipelines/lakeflow-pipeline/DATABRICKS_BUNDLE_ENGINE=terraform✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F
TestAccept/bundle/resources/synced_database_tables/basic🙈​S🙈​S💚​R💚​R🙈​S🙈​S🟨​K🟨​K🙈​S🙈​S
TestAccept/bundle/run/app-with-job🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S🙈​S
TestAccept/bundle/templates/default-python/combinations/classic✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F❌​F
TestAccept/bundle/templates/default-python/combinations/classic/DATABRICKS_BUNDLE_ENGINE=direct-exp/DLT=no/NBOOK=no/PY=no✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p
TestAccept/bundle/templates/default-python/combinations/classic/DATABRICKS_BUNDLE_ENGINE=direct-exp/DLT=no/NBOOK=no/PY=yes✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p
TestAccept/bundle/templates/default-python/combinations/classic/DATABRICKS_BUNDLE_ENGINE=direct-exp/DLT=no/NBOOK=yes/PY=no✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p
TestAccept/bundle/templates/default-python/combinations/classic/DATABRICKS_BUNDLE_ENGINE=direct-exp/DLT=yes/NBOOK=no/PY=no✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p
TestAccept/bundle/templates/default-python/combinations/classic/DATABRICKS_BUNDLE_ENGINE=direct-exp/DLT=yes/NBOOK=no/PY=yes✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F
TestAccept/bundle/templates/default-python/combinations/classic/DATABRICKS_BUNDLE_ENGINE=direct-exp/DLT=yes/NBOOK=yes/PY=no✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F
TestAccept/bundle/templates/default-python/combinations/classic/DATABRICKS_BUNDLE_ENGINE=direct-exp/DLT=yes/NBOOK=yes/PY=yes✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F
TestAccept/bundle/templates/default-python/combinations/classic/DATABRICKS_BUNDLE_ENGINE=terraform/DLT=no/NBOOK=no/PY=no✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F
TestAccept/bundle/templates/default-python/combinations/classic/DATABRICKS_BUNDLE_ENGINE=terraform/DLT=no/NBOOK=no/PY=yes✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F
TestAccept/bundle/templates/default-python/integration_classic✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F❌​F
TestAccept/bundle/templates/default-python/integration_classic/DATABRICKS_BUNDLE_ENGINE=direct-exp/UV_PYTHON=3.10✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F❌​F
TestAccept/bundle/templates/default-python/integration_classic/DATABRICKS_BUNDLE_ENGINE=direct-exp/UV_PYTHON=3.11✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p
TestAccept/bundle/templates/default-python/integration_classic/DATABRICKS_BUNDLE_ENGINE=direct-exp/UV_PYTHON=3.12✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F❌​F
TestAccept/bundle/templates/default-python/integration_classic/DATABRICKS_BUNDLE_ENGINE=direct-exp/UV_PYTHON=3.13✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F❌​F
TestAccept/bundle/templates/default-python/integration_classic/DATABRICKS_BUNDLE_ENGINE=direct-exp/UV_PYTHON=3.9✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F
TestAccept/bundle/templates/default-python/integration_classic/DATABRICKS_BUNDLE_ENGINE=terraform/UV_PYTHON=3.10✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p
TestAccept/bundle/templates/default-python/integration_classic/DATABRICKS_BUNDLE_ENGINE=terraform/UV_PYTHON=3.11✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p
TestAccept/bundle/templates/default-python/integration_classic/DATABRICKS_BUNDLE_ENGINE=terraform/UV_PYTHON=3.12✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F
TestAccept/bundle/templates/default-python/integration_classic/DATABRICKS_BUNDLE_ENGINE=terraform/UV_PYTHON=3.13✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p
TestFsCpFileToDirFileNotOverwritten✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p
TestFsCpFileToDirFileNotOverwritten/dbfs_to_dbfs✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p
TestSyncIncrementalSyncFileToPythonNotebook✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F
TestExportWithFileFlag✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p
TestImportFileFormatSource✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p
TestImportFileUsingContentFormatAuto✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p
TestImportFileUsingContentFormatSource✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F✅​p
TestFilerRecursiveDelete✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F
TestFilerRecursiveDelete/workspace_files✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p✅​p❌​F

@denikdenik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice cleanup

Base automatically changed from progress-logger-migrate-to-cmdio to mainOctober 28, 2025 09:50
@pietern
pietern merged commit c4a66fb into mainOct 28, 2025
12 of 13 checks passed
@pietern
pietern deleted the progress-logger-rm branch October 28, 2025 10:51
denik pushed a commit that referenced this pull request May 20, 2026
…3820)
## Changes
This change removes remaining references to the "progress logger".
All terminal I/O now goes through a single type in `cmdio`.
Builds on #3811, #3812, and #3818.
Sign up for freeto 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.

4 participants

@pietern@eng-dev-ecosystem-bot@denik@andrewnester