… drop the aicode mutator
A relative-directory code_source_path is no longer auto-packaged at bundle
deploy. convert-to-dabs now emits an explicit tgz artifact for every code_source
(previously only for a git/include_paths snapshot), so packaging is expressed in
the generated databricks.yml rather than synthesized at deploy time.
- convert-to-dabs: codeArtifactFor emits the tgz artifact for the plain whole-dir
case too (path = the dir's parent, include = its basename); git / include_paths
continue to map onto the artifact's git / include.
- Remove bundle/config/mutator/aicode (PackageCodeSource + Validate) and its two
initialize-phase wirings.
- Drop the local-dir packaging acceptance tests; regenerate the convert-to-dabs
golden to show the emitted artifact block.
Reverts the user-facing local-dir shorthand from #6110 / #6494.
Co-authored-by: Isaac <no-reply@databricks.com>
Basically, remove the aicode mutator entirely. That way
convert-to-dabsjust calls theartifactsblock. Clean up the code.Reverts the user-facing local-dir shorthand from #6110 / #6494.
Changes
Why
We should simplify the UJ to limit ways to upload code.
Tests
Setup
Run convert-to-dabs:
Validate and deploy:
Run: