acc: run bundle/deploy/mlops-stacks locally#5829
Draft
radakam wants to merge 2 commits into
Draft
Conversation
Flip bundle/deploy/mlops-stacks to Local = true so it runs against the local testserver in addition to cloud. Local runs cannot git-clone mlops-stacks from GitHub, so vendor a pinned copy of the template under acceptance/bundle/deploy/mlops-stacks/template/ and use it when CLOUD_ENV is unset. A test.toml Repl normalizes the init command in output so local and cloud golden files stay unified.
The offline copy vendored for the local run only needs the files required to render this test's config and satisfy its assertions: the template machinery (schema, library, run_validations, update_layout), the asserted root README, databricks.yml, the three included resource YAMLs, and the four referenced notebooks (BatchInference, Train, ModelValidation, ModelDeployment). Drop the remaining 112 files (docs, images, CICD workflows, tests, feature-store/MLflow-recipe/monitoring variants, binary parquet fixtures). They are either FS/recipe-gated (never rendered for this config) or synced but unreferenced, so removing them leaves output.txt byte-identical and the test passing on both engines. The cloud run is unaffected; it still clones mlops-stacks from GitHub.
Collaborator
Integration test reportCommit: 8560b8e
19 interesting tests: 15 SKIP, 4 RECOVERED
Top 5 slowest tests (at least 2 minutes):
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
bundle/deploy/mlops-stackstoLocal = trueso it runs against the local testserver in addition to cloud1c87ae24) for local runs, sincebundle init mlops-stacksrequires a GitHub clone that local acceptance tests cannot reachCLOUD_ENVis unset; cloud runs still clone from GitHub. Atest.tomlRepl normalizes the init command in output so golden files stay unified