Commit 29b5253
Add -only-out-test-toml flag to quickly regenerate test configs
This change adds a new flag to the acceptance test framework that allows
regenerating out.test.toml configuration files without running the actual
tests, making it much faster to update test configurations.
Changes:
- Added -only-out-test-toml flag to libs/testdiff/golden.go
- Modified acceptance test runner to skip test execution when flag is set
- Added make test-regenerate-configs rule for convenience
- Regenerated all out.test.toml files to include materialized config
The new workflow is ~100x faster than running tests with -update:
- Full test run with -update: several minutes
- Config regeneration only: ~2.5 seconds
Usage:
make test-regenerate-configs
Or directly:
go test ./acceptance -run '^TestAccept$' -only-out-test-toml
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 18cab43 commit 29b5253
File tree
477 files changed
+2801
-2
lines changed- acceptance
- auth
- bundle_and_profile
- credentials
- basic
- oauth
- pat
- bundle
- apps/app_yaml
- artifacts
- artifact_path_with_volume
- volume_doesnot_exist
- volume_not_deployed
- artifact_upload_for_volumes
- artifact_upload_for_workspace
- artifact_upload_with_no_library_reference
- artifacts_dynamic_version
- build_and_files_whl
- build_and_files
- glob_exact_whl
- globs_in_files_in_include
- globs_in_files
- globs_invalid
- issue_3109
- nil_artifacts
- same_name_libraries
- shell
- bash
- basic
- cmd
- default
- err-bash
- err-sh
- invalid
- sh
- unique_name_libraries
- upload_multiple_libraries
- whl_change_version
- whl_dbfs
- whl_dynamic
- whl_explicit
- whl_implicit_custom_path
- whl_implicit_notebook
- whl_implicit
- whl_multiple
- whl_no_cleanup
- whl_prebuilt_multiple
- whl_prebuilt_outside_dynamic
- whl_prebuilt_outside
- whl_via_environment_key
- bundle_tag
- id
- url_ref
- url
- debug
- deployment
- bind
- alert
- cluster
- dashboard
- recreation
- database_instance
- experiment
- job
- generate-and-bind
- job-abort-bind
- job-spark-python-task
- noop-job
- python-job
- model-serving-endpoint
- quality-monitor
- registered-model
- schema
- secret-scope
- sql_warehouse
- volume
- unbind
- grants
- job
- permissions
- python-job
- deploy
- alerts/basic
- dashboard
- detect-change
- generate_inplace
- nested-folders
- simple_outside_bundle_root
- simple_syncroot
- simple
- empty-bundle
- experimental-python
- experiments/basic
- fail-on-active-runs
- files/no-snapshot-sync
- jobs
- check-metadata
- double-underscore-keys
- fail-on-active-runs
- task-source
- lakebase
- database-catalog
- database-instance/single-instance
- synced-database-table
- mlops-stacks
- models/basic
- pipeline
- allow-duplicate-names
- auto-approve
- lakeflow-pipeline
- recreate
- python-notebook
- registered_models/basic
- schema/auto-approve
- secret-scope
- backend-type
- permissions
- sql_warehouse
- volume/recreate
- destroy
- all-resources
- jobs-and-pipeline
- environments/dependencies
- experimental/skip_name_prefix_for_schema
- generate
- app_not_yet_deployed
- app_subfolders
- dashboard-inplace
- dashboard_existing_id_not_found
- dashboard_existing_path_nominal
- dashboard_existing_path_not_found
- dashboard
- git_job
- ipynb_job
- lakeflow_pipelines
- pipeline_with_sql
- pipeline
- python_job
- git-permerror
- help
- bundle-deployment
- bundle-deploy
- bundle-destroy
- bundle-generate-dashboard
- bundle-generate-job
- bundle-generate-pipeline
- bundle-generate
- bundle-init
- bundle-open
- bundle-run
- bundle-schema
- bundle-summary
- bundle-sync
- bundle-validate
- bundle
- includes
- glob_in_root_path
- include_outside_root
- non_yaml_in_include
- yml_outside_root
- integration_whl
- base
- custom_params
- interactive_cluster_dynamic_version
- interactive_cluster
- interactive_single_user
- serverless_custom_params
- serverless_dynamic_version
- serverless
- wrapper_custom_params
- wrapper
- libraries
- maven
- outside_of_bundle_root
- pypi
- lifecycle/prevent-destroy
- local_state_staleness
- open
- override
- clusters
- job_cluster_var
- job_cluster
- job_tasks
- merge-string-map
- pipeline_cluster
- paths
- fallback
- git_source_jobs
- invalid_pipeline_globs
- nominal
- outside_root_no_sync
- pipeline_expected_file_got_notebook
- pipeline_globs
- pipeline_root_path_doesnotexist
- pipelines_glob_include_and_root_path
- pipelines_root_path_outside_sync_root
- relative_path_outside_root
- relative_path_translation
- plan/no_upload
- presets/preset_vs_dev_mode
- python
- mutator-ordering
- pipelines-support
- resolve-variable
- resource-loading
- restricted-execution
- schemas-support
- unicode-support
- volumes-support
- quality_monitor
- refschema
- resource_deps
- bad_ref_string_to_int
- bad_syntax
- create_error
- id_chain
- job_id
- job_tasks
- jobs_update_remote
- jobs_update
- loop_jobs
- loop_self
- missing_ingestion_definition
- missing_map_key_tffix
- missing_map_key
- missing_string_field
- non_existent_field
- pipelines_recreate
- present_ingestion_definition
- remote_app_url
- remote_field_storage_location
- remote_pipeline
- resources_var_presets_implicit_deps
- resources_var_presets
- resources_var
- resources
- apps
- default_description
- update
- clusters
- deploy
- simple
- update-and-resize-autoscale
- update-and-resize
- run/spark_python_task
- independent
- jobs
- create-error
- delete_job
- delete_task
- instance_pool_and_node_type
- update_single_node
- update
- pipelines
- recreate
- change-catalog
- change-ingestion-definition
- change-storage
- update
- schemas
- recreate
- update
- volumes
- change-comment
- change-name
- change-schema-name
- remote-change-name
- remote-delete
- set-storage-location
- run_as
- allowed
- regular_user
- service_principal
- empty_override
- empty_run_as_dict
- empty_run_as
- empty_sp
- empty_user_and_sp
- empty_user
- invalid_both_sp_and_user
- model_serving_different
- model_serving_matching
- pipelines_legacy
- pipelines
- regular_user
- service_principal
- run
- app-with-job
- basic
- diagnostics
- inline-script
- basic
- cwd
- databricks-cli
- profile-is-passed/from_flag
- target-is-passed
- default
- from_flag
- no-auth
- no-bundle
- no-separator
- jobs/partial_run
- no-state
- refresh-flags
- scripts
- basic
- cwd
- databricks-cli
- profile-is-passed/from_flag
- target-is-passed
- default
- from_flag
- exit_code
- io
- no-auth
- no-interpolation
- no_content
- shell
- envvar
- math
- unique_keys
- duplicate_resource_and_script_name_root
- duplicate_resource_and_script_subconfigurations
- duplicate_script_names_in_subconfiguration
- state-wiped
- scripts
- restricted-execution
- state
- summary
- missing-libraries-file-path
- modified_status
- show-full-config
- syncroot
- dotdot-git
- dotdot-nogit
- sync
- dryrun
- telemetry
- deploy-artifact-path-type
- deploy-artifacts-variables
- deploy-compute-type
- deploy-config-file-count
- deploy-error
- deploy-experimental
- deploy-mode
- deploy-name-prefix
- custom
- mode-development
- deploy-no-uuid
- deploy-run-as
- deploy-target-count
- deploy-variable-count
- deploy-whl-artifacts
- deploy
- templates-machinery
- helper_upper_lower
- helper_username
- helpers-error
- wrong-path
- wrong-url
- templates
- dbt-sql
- default-python
- classic
- combinations
- classic
- serverless
- fail-missing-uv
- integration_classic
- no-uc
- serverless-customcatalog
- serverless
- default-sql
- experimental-jobs-as-code
- lakeflow-pipelines
- python
- sql
- telemetry
- custom-template
- dbt-sql
- default-python
- default-sql
- trampoline
- warning_message_with_new_spark
- warning_message_with_old_spark
- warning_message
- undefined_resources
- upload
- internal_server_error
- timeout
- user_agent
- validate
- dashboard_defaults
- empty_resources
- empty_def
- empty_dict
- null
- with_grants
- with_permissions
- enum
- include_locations
- job-references
- models
- missing_name
- user_id
- presets_max_concurrent_runs
- presets_name_prefix
- presets_tags
- required
- sync_patterns
- var_in_bundle_name
- volume_defaults
- variables
- arg-repeat
- complex-cross-ref
- complex-cycle-self
- complex-cycle
- complex-simple
- complex-transitive-deeper
- complex-transitive-deep
- complex-transitive
- complex-with-var-reference
- complex-within-complex
- complex_multiple_files
- complex
- cycle
- double_underscore
- empty
- env_overrides
- file-defaults
- git-branch
- host
- int
- issue_2436
- issue_3039_lookup_with_ref
- prepend-workspace-var
- resolve-builtin
- resolve-empty
- resolve-field-within-complex
- resolve-nonstrings
- resolve-resources-fields
- resolve-vars-in-root-path
- vanilla
- var_in_var
- variable_overrides_in_target
- without_definition
- volume_path
- invalid_file
- invalid_resource
- invalid_root
- invalid_state
- valid
- cmd
- account/account-help
- auth
- login
- token
- patchwhl
- psql
- completions
- failing-connection
- not-available
- simple
- sync-from-file
- sync-without-args
- sync
- dryrun
- unknown-subcommand
- workspace
- apps
- run-local-node
- run-local
- create-scope
- database/update-database-instance
- queries
- query-history
- help
- internal
- panic
- pipelines
- deploy
- auto-approve
- create-pipeline
- fail-on-active-runs
- force-lock
- oss-spark-error
- render-diagnostics-warning
- var-flag
- destroy
- auto-approve
- destroy-pipeline
- force-lock
- dry-run
- dry-run-pipeline
- no-wait
- restart
- e2e
- init
- error-cases
- python
- sql
- install-pipelines-cli
- open
- run
- no-wait
- refresh-flags
- restart
- run-info
- run-pipeline
- stop
- version
- selftest
- IsServicePrincipal
- acc_repls
- basic
- bundleconfig
- different_target
- disabled1
- disabled2
- empty
- matching
- override
- diff
- envmatrix
- inner
- envoutput
- inject_error
- record_cloud
- basic
- error
- pipeline-crud
- volume-io
- workspace-file-io
- server
- skip
- slow
- timeout
- trap
- telemetry
- failure
- partial-success
- skipped
- success
- timeout
- workspace
- jobs
- create-error
- create
- repos
- create_with_provider
- create_without_provider
- delete_by_path
- get_errors
- update
- libs/testdiff
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
477 files changed
+2801
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
66 | 70 | | |
67 | 71 | | |
68 | 72 | | |
| |||
142 | 146 | | |
143 | 147 | | |
144 | 148 | | |
145 | | - | |
| 149 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | | - | |
| 298 | + | |
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
306 | 311 | | |
307 | 312 | | |
308 | 313 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments