is_databricks_runtime integration test — implementation plan
See the design.
- Add
tests/is_databricks_runtime_task.py(remote script: driver + UDF checks, raisesRuntimeErroron failure). - Add
test_is_databricks_runtimetotests/test_databricks.py: local negative baseline, wheel build, workspace upload,jobs.submiton serverless, result/error assertions, cleanup infinally. - Verify:
hatch test -k test_is_databricks_runtime, then a one-off inverted-assertion run to confirm the failure path shows the remote trace, thenmake formatandmake test.