-
%runcan break in Jobs due to path resolutionāuse relative paths (e.g.,%run ./lib/utils) and keep all targets in the same Repo. -
Donāt rely on widget state. Define widgets only in the entry notebook and pass values explicitly (or switch to
dbutils.notebook.run()witharguments={...}for clean, isolated calls). -
Avoid nested/chained
%runand side-effect cells;%runliterally inlines code and order matters. -
The recommended approach for a long term mitgatiation is to move shared code into a package in the Repo and
importit instead of%run.