pipeloom 0.3.0__tar.gz → 0.5.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (519) hide show
  1. {pipeloom-0.3.0 → pipeloom-0.5.0}/CHANGELOG.md +57 -1
  2. {pipeloom-0.3.0 → pipeloom-0.5.0}/PKG-INFO +7 -3
  3. {pipeloom-0.3.0 → pipeloom-0.5.0}/pyproject.toml +51 -8
  4. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/api.py +31 -1
  5. pipeloom-0.5.0/src/pipeloom/artifacts/finalize.py +203 -0
  6. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/artifacts/io.py +26 -1
  7. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/artifacts/results.py +27 -7
  8. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/builtins/filesystem.py +2 -1
  9. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/cli/__init__.py +3 -1
  10. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/cli/_events.py +18 -6
  11. pipeloom-0.5.0/src/pipeloom/cli/_ext.py +127 -0
  12. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/cli/_options.py +37 -12
  13. pipeloom-0.5.0/src/pipeloom/cli/finalize.py +172 -0
  14. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/cli/plugins.py +24 -4
  15. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/cli/run.py +53 -6
  16. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/config/bind.py +46 -5
  17. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/config/load.py +1 -1
  18. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/config/models.py +5 -0
  19. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/config/schema.py +1 -0
  20. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/diagnostics/codes.py +127 -4
  21. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/engine/errors.py +6 -0
  22. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/engine/protocols.py +6 -0
  23. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/engine/types.py +24 -0
  24. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/events/model.py +1 -1
  25. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/plan/compile.py +4 -0
  26. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/plan/manifest.py +19 -9
  27. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/plan/model.py +2 -0
  28. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/platform.py +13 -0
  29. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/plugins/__init__.py +14 -5
  30. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/runtime/context.py +5 -0
  31. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/runtime/executors/process.py +5 -1
  32. pipeloom-0.5.0/src/pipeloom/runtime/finalize_run.py +413 -0
  33. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/runtime/retry.py +3 -1
  34. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/runtime/run.py +87 -25
  35. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/runtime/runner.py +124 -13
  36. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/runtime/states.py +2 -1
  37. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/secrets/interpolation.py +37 -7
  38. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/secrets/redaction.py +6 -0
  39. pipeloom-0.5.0/src/pipeloom/secrets/resolve.py +139 -0
  40. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/testing/contract/engine.py +63 -0
  41. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/testing/contract/state.py +5 -3
  42. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/testing/memory.py +46 -1
  43. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/validate/capabilities.py +12 -2
  44. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/validate/semantics.py +12 -0
  45. pipeloom-0.5.0/tests/artifacts/test_intermediate_ttl.py +180 -0
  46. pipeloom-0.5.0/tests/cases/PLC509.yml +15 -0
  47. pipeloom-0.5.0/tests/cases/PLD001.yml +16 -0
  48. pipeloom-0.5.0/tests/cases/PLD003.yml +22 -0
  49. pipeloom-0.5.0/tests/cases/PLD004.yml +17 -0
  50. pipeloom-0.5.0/tests/cases/PLD005.yml +17 -0
  51. pipeloom-0.5.0/tests/cases/PLD006.yml +20 -0
  52. pipeloom-0.5.0/tests/cases/PLD007.yml +20 -0
  53. pipeloom-0.5.0/tests/cases/PLD008.yml +20 -0
  54. pipeloom-0.5.0/tests/cases/PLD009.yml +20 -0
  55. pipeloom-0.5.0/tests/cases/PLD010.yml +20 -0
  56. pipeloom-0.5.0/tests/cases/PLD011.yml +14 -0
  57. pipeloom-0.5.0/tests/cases/PLD012.yml +23 -0
  58. pipeloom-0.5.0/tests/cases/PLD013.yml +23 -0
  59. pipeloom-0.5.0/tests/cases/PLD014.yml +20 -0
  60. pipeloom-0.5.0/tests/cases/PLD015.yml +22 -0
  61. pipeloom-0.5.0/tests/cases/PLM207.yml +14 -0
  62. pipeloom-0.3.0/tests/cases/PLC509.yml → pipeloom-0.5.0/tests/cases/PLP413.yml +4 -1
  63. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLU001.yml +1 -1
  64. pipeloom-0.5.0/tests/cases/PLX108.yml +14 -0
  65. pipeloom-0.5.0/tests/cases/PLX109.yml +15 -0
  66. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/config/test_cases.py +81 -0
  67. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/conftest.py +9 -0
  68. pipeloom-0.5.0/tests/extcmd.py +20 -0
  69. pipeloom-0.5.0/tests/fixtures/databricks_live/models/models.yml +13 -0
  70. pipeloom-0.5.0/tests/fixtures/databricks_live/pipeloom.yml +34 -0
  71. pipeloom-0.5.0/tests/fixtures/databricks_live/src/live/models.py +5 -0
  72. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLC509.json +4 -4
  73. pipeloom-0.5.0/tests/goldens/diagnostics/PLC509.txt +2 -0
  74. pipeloom-0.5.0/tests/goldens/diagnostics/PLD001.json +13 -0
  75. pipeloom-0.5.0/tests/goldens/diagnostics/PLD001.txt +2 -0
  76. pipeloom-0.5.0/tests/goldens/diagnostics/PLD003.json +15 -0
  77. pipeloom-0.5.0/tests/goldens/diagnostics/PLD003.txt +2 -0
  78. pipeloom-0.5.0/tests/goldens/diagnostics/PLD004.json +10 -0
  79. pipeloom-0.5.0/tests/goldens/diagnostics/PLD004.txt +2 -0
  80. pipeloom-0.5.0/tests/goldens/diagnostics/PLD005.json +12 -0
  81. pipeloom-0.5.0/tests/goldens/diagnostics/PLD005.txt +1 -0
  82. pipeloom-0.5.0/tests/goldens/diagnostics/PLD006.json +21 -0
  83. pipeloom-0.5.0/tests/goldens/diagnostics/PLD006.txt +1 -0
  84. pipeloom-0.5.0/tests/goldens/diagnostics/PLD007.json +21 -0
  85. pipeloom-0.5.0/tests/goldens/diagnostics/PLD007.txt +1 -0
  86. pipeloom-0.5.0/tests/goldens/diagnostics/PLD008.json +23 -0
  87. pipeloom-0.5.0/tests/goldens/diagnostics/PLD008.txt +1 -0
  88. pipeloom-0.5.0/tests/goldens/diagnostics/PLD009.json +23 -0
  89. pipeloom-0.5.0/tests/goldens/diagnostics/PLD009.txt +1 -0
  90. pipeloom-0.5.0/tests/goldens/diagnostics/PLD010.json +21 -0
  91. pipeloom-0.5.0/tests/goldens/diagnostics/PLD010.txt +1 -0
  92. pipeloom-0.5.0/tests/goldens/diagnostics/PLD011.json +23 -0
  93. pipeloom-0.5.0/tests/goldens/diagnostics/PLD011.txt +1 -0
  94. pipeloom-0.5.0/tests/goldens/diagnostics/PLD012.json +26 -0
  95. pipeloom-0.5.0/tests/goldens/diagnostics/PLD012.txt +1 -0
  96. pipeloom-0.5.0/tests/goldens/diagnostics/PLD013.json +22 -0
  97. pipeloom-0.5.0/tests/goldens/diagnostics/PLD013.txt +4 -0
  98. pipeloom-0.5.0/tests/goldens/diagnostics/PLD014.json +24 -0
  99. pipeloom-0.5.0/tests/goldens/diagnostics/PLD014.txt +1 -0
  100. pipeloom-0.5.0/tests/goldens/diagnostics/PLD015.json +23 -0
  101. pipeloom-0.5.0/tests/goldens/diagnostics/PLD015.txt +1 -0
  102. pipeloom-0.5.0/tests/goldens/diagnostics/PLM207.json +18 -0
  103. pipeloom-0.5.0/tests/goldens/diagnostics/PLM207.txt +2 -0
  104. pipeloom-0.5.0/tests/goldens/diagnostics/PLP413.json +17 -0
  105. pipeloom-0.5.0/tests/goldens/diagnostics/PLP413.txt +2 -0
  106. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLU001.json +4 -4
  107. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLU001.txt +1 -1
  108. pipeloom-0.5.0/tests/goldens/diagnostics/PLX108.json +13 -0
  109. pipeloom-0.5.0/tests/goldens/diagnostics/PLX108.txt +2 -0
  110. pipeloom-0.5.0/tests/goldens/diagnostics/PLX109.json +13 -0
  111. pipeloom-0.5.0/tests/goldens/diagnostics/PLX109.txt +2 -0
  112. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/run_results/shop.json +3 -1
  113. pipeloom-0.5.0/tests/goldens/schema/project.deploy.json +1376 -0
  114. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/schema/project.json +39 -0
  115. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/schema/project.plugins.json +39 -0
  116. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/plugins/fakes.py +60 -3
  117. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/plugins/test_registry.py +7 -7
  118. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/runtime/fakes.py +42 -2
  119. pipeloom-0.5.0/tests/runtime/test_api04.py +278 -0
  120. pipeloom-0.5.0/tests/runtime/test_intermediate.py +130 -0
  121. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/test_catalog.py +5 -1
  122. pipeloom-0.5.0/tests/test_cli_ext.py +87 -0
  123. pipeloom-0.5.0/tests/test_cli_finalize.py +492 -0
  124. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/test_cli_plugins.py +5 -4
  125. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/test_cli_run.py +41 -0
  126. pipeloom-0.5.0/tests/test_databricks_live.py +354 -0
  127. pipeloom-0.5.0/tests/test_deploy_block.py +168 -0
  128. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/test_engine_types.py +1 -1
  129. pipeloom-0.5.0/tests/test_secrets_resolve.py +244 -0
  130. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/test_versions.py +32 -0
  131. pipeloom-0.5.0/tests/validate/__init__.py +0 -0
  132. pipeloom-0.5.0/tests/validate/test_catalog_caps.py +36 -0
  133. pipeloom-0.3.0/src/pipeloom/artifacts/finalize.py +0 -91
  134. pipeloom-0.3.0/tests/goldens/diagnostics/PLC509.txt +0 -2
  135. {pipeloom-0.3.0 → pipeloom-0.5.0}/.gitignore +0 -0
  136. {pipeloom-0.3.0 → pipeloom-0.5.0}/LICENSE +0 -0
  137. {pipeloom-0.3.0 → pipeloom-0.5.0}/NOTICE +0 -0
  138. {pipeloom-0.3.0 → pipeloom-0.5.0}/README.pypi.md +0 -0
  139. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/__init__.py +0 -0
  140. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/__main__.py +0 -0
  141. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/artifacts/__init__.py +0 -0
  142. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/artifacts/layout.py +0 -0
  143. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/builtins/__init__.py +0 -0
  144. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/builtins/fs_table.py +0 -0
  145. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/builtins/fs_write.py +0 -0
  146. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/builtins/naming.py +0 -0
  147. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/builtins/secrets_env.py +0 -0
  148. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/cli/_select.py +0 -0
  149. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/cli/_signals.py +0 -0
  150. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/cli/compile.py +0 -0
  151. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/cli/graph.py +0 -0
  152. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/cli/ls.py +0 -0
  153. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/cli/schema.py +0 -0
  154. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/cli/validate.py +0 -0
  155. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/config/__init__.py +0 -0
  156. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/config/discover.py +0 -0
  157. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/config/errors.py +0 -0
  158. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/config/resolve.py +0 -0
  159. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/config/types.py +0 -0
  160. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/config/yaml.py +0 -0
  161. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/diagnostics/__init__.py +0 -0
  162. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/engine/__init__.py +0 -0
  163. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/engine/portable.py +0 -0
  164. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/events/__init__.py +0 -0
  165. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/events/bus.py +0 -0
  166. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/events/sinks/__init__.py +0 -0
  167. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/events/sinks/buffered.py +0 -0
  168. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/events/sinks/console.py +0 -0
  169. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/events/sinks/jsonl.py +0 -0
  170. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/events/sinks/runfile.py +0 -0
  171. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/graph/__init__.py +0 -0
  172. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/graph/dag.py +0 -0
  173. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/graph/selectors.py +0 -0
  174. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/plan/__init__.py +0 -0
  175. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/plan/units.py +0 -0
  176. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/plugins/builtin.py +0 -0
  177. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/py.typed +0 -0
  178. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/quality/__init__.py +0 -0
  179. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/quality/judge.py +0 -0
  180. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/quality/quarantine.py +0 -0
  181. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/quality/specs.py +0 -0
  182. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/runtime/__init__.py +0 -0
  183. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/runtime/control.py +0 -0
  184. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/runtime/errors.py +0 -0
  185. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/runtime/executors/__init__.py +0 -0
  186. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/runtime/executors/thread.py +0 -0
  187. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/runtime/incremental.py +0 -0
  188. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/runtime/loader.py +0 -0
  189. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/runtime/memo.py +0 -0
  190. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/runtime/scheduler.py +0 -0
  191. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/runtime/schema_policy.py +0 -0
  192. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/secrets/__init__.py +0 -0
  193. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/state/__init__.py +0 -0
  194. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/state/codec.py +0 -0
  195. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/state/jsondir.py +0 -0
  196. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/state/lease.py +0 -0
  197. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/state/sqlite.py +0 -0
  198. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/state/types.py +0 -0
  199. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/testing/__init__.py +0 -0
  200. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/testing/clock.py +0 -0
  201. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/testing/contract/__init__.py +0 -0
  202. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/testing/recording.py +0 -0
  203. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/testing/reference.py +0 -0
  204. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/testing/sim.py +0 -0
  205. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/validate/__init__.py +0 -0
  206. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/validate/references.py +0 -0
  207. {pipeloom-0.3.0 → pipeloom-0.5.0}/src/pipeloom/validate/static.py +0 -0
  208. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/__init__.py +0 -0
  209. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/artifacts/__init__.py +0 -0
  210. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/artifacts/test_artifacts.py +0 -0
  211. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLC501.yml +0 -0
  212. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLC502.yml +0 -0
  213. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLC503.yml +0 -0
  214. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLC504.yml +0 -0
  215. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLC505.yml +0 -0
  216. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLC506.yml +0 -0
  217. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLC507.yml +0 -0
  218. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLC508.yml +0 -0
  219. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLC510.yml +0 -0
  220. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLE401.yml +0 -0
  221. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLG301.yml +0 -0
  222. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLG302.yml +0 -0
  223. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLG303.yml +0 -0
  224. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLG304.yml +0 -0
  225. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLG305.yml +0 -0
  226. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLG306.yml +0 -0
  227. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLK601.yml +0 -0
  228. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLK602.yml +0 -0
  229. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLK603.yml +0 -0
  230. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLK604.yml +0 -0
  231. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLK605.yml +0 -0
  232. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLM201.yml +0 -0
  233. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLM202.yml +0 -0
  234. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLM203.yml +0 -0
  235. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLM204.yml +0 -0
  236. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLM205.yml +0 -0
  237. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLM206.yml +0 -0
  238. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLP401.yml +0 -0
  239. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLP402.yml +0 -0
  240. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLP403.yml +0 -0
  241. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLP404.yml +0 -0
  242. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLP405.yml +0 -0
  243. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLP406.yml +0 -0
  244. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLP407.yml +0 -0
  245. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLP408.yml +0 -0
  246. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLP409.yml +0 -0
  247. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLP410.yml +0 -0
  248. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLP411.yml +0 -0
  249. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLP412.yml +0 -0
  250. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLQ301.yml +0 -0
  251. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLQ302.yml +0 -0
  252. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLR201.yml +0 -0
  253. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLR202.yml +0 -0
  254. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLR203.yml +0 -0
  255. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLR204.yml +0 -0
  256. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLR205.yml +0 -0
  257. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLR206.yml +0 -0
  258. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLR207.yml +0 -0
  259. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLS101.yml +0 -0
  260. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLS102.yml +0 -0
  261. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLS103.yml +0 -0
  262. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLS104.yml +0 -0
  263. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLS105.yml +0 -0
  264. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLS106.yml +0 -0
  265. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLS107.yml +0 -0
  266. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLS108.yml +0 -0
  267. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLU002.yml +0 -0
  268. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLU003.yml +0 -0
  269. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLX101.yml +0 -0
  270. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLX102.yml +0 -0
  271. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLX103.yml +0 -0
  272. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLX104.yml +0 -0
  273. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLX105.yml +0 -0
  274. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLX106.yml +0 -0
  275. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLX107.yml +0 -0
  276. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLY001.yml +0 -0
  277. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLY002.yml +0 -0
  278. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLY003.yml +0 -0
  279. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/cases/PLY004.yml +0 -0
  280. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/config/__init__.py +0 -0
  281. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/config/test_bind.py +0 -0
  282. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/config/test_errors.py +0 -0
  283. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/config/test_interpolation.py +0 -0
  284. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/config/test_load.py +0 -0
  285. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/config/test_models.py +0 -0
  286. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/config/test_resolve.py +0 -0
  287. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/config/test_schema.py +0 -0
  288. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/config/test_yaml.py +0 -0
  289. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/events/__init__.py +0 -0
  290. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/events/fakes.py +0 -0
  291. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/events/test_bus.py +0 -0
  292. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/events/test_console_run.py +0 -0
  293. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/events/test_model.py +0 -0
  294. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/events/test_redaction.py +0 -0
  295. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/events/test_sinks.py +0 -0
  296. {pipeloom-0.3.0/tests/fixtures/quality/src/quality → pipeloom-0.5.0/tests/fixtures/databricks_live/src/live}/__init__.py +0 -0
  297. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/fixtures/minimal/models/_defaults.yml +0 -0
  298. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/fixtures/minimal/models/staging/orders.yml +0 -0
  299. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/fixtures/minimal/pipeloom.yml +0 -0
  300. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/fixtures/quality/models/models.yml +0 -0
  301. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/fixtures/quality/models/sources.yml +0 -0
  302. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/fixtures/quality/pipeloom.yml +0 -0
  303. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/fixtures/quality/raw/orders.csv +0 -0
  304. {pipeloom-0.3.0/tests/graph → pipeloom-0.5.0/tests/fixtures/quality/src/quality}/__init__.py +0 -0
  305. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/fixtures/quality/src/quality/models.py +0 -0
  306. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/fixtures/shop/models/marts/marts.yml +0 -0
  307. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/fixtures/shop/models/staging/_defaults.yml +0 -0
  308. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/fixtures/shop/models/staging/sources.yml +0 -0
  309. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/fixtures/shop/models/staging/stg.yml +0 -0
  310. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/fixtures/shop/pipeloom.yml +0 -0
  311. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/fixtures/shop/src/shop/__init__.py +0 -0
  312. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/fixtures/shop/src/shop/enrich.py +0 -0
  313. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/fixtures/shop/src/shop/marts.py +0 -0
  314. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/fixtures/smoke/models/models.yml +0 -0
  315. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/fixtures/smoke/models/sources.yml +0 -0
  316. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/fixtures/smoke/pipeloom.yml +0 -0
  317. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/fixtures/smoke/raw/customers.csv +0 -0
  318. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/fixtures/smoke/raw/orders.csv +0 -0
  319. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/fixtures/smoke/src/smoke/__init__.py +0 -0
  320. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/fixtures/smoke/src/smoke/models.py +0 -0
  321. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/fixtures/smoke-pandas/models/models.yml +0 -0
  322. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/fixtures/smoke-pandas/models/sources.yml +0 -0
  323. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/fixtures/smoke-pandas/pipeloom.yml +0 -0
  324. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/fixtures/smoke-pandas/raw/customers.csv +0 -0
  325. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/fixtures/smoke-pandas/raw/orders.csv +0 -0
  326. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/fixtures/smoke-pandas/src/smoke/__init__.py +0 -0
  327. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/fixtures/smoke-pandas/src/smoke/models.py +0 -0
  328. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLC501.json +0 -0
  329. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLC501.txt +0 -0
  330. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLC502.json +0 -0
  331. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLC502.txt +0 -0
  332. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLC503.json +0 -0
  333. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLC503.txt +0 -0
  334. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLC504.json +0 -0
  335. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLC504.txt +0 -0
  336. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLC505.json +0 -0
  337. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLC505.txt +0 -0
  338. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLC506.json +0 -0
  339. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLC506.txt +0 -0
  340. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLC507.json +0 -0
  341. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLC507.txt +0 -0
  342. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLC508.json +0 -0
  343. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLC508.txt +0 -0
  344. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLC510.json +0 -0
  345. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLC510.txt +0 -0
  346. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLE401.json +0 -0
  347. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLE401.txt +0 -0
  348. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLG301.json +0 -0
  349. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLG301.txt +0 -0
  350. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLG302.json +0 -0
  351. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLG302.txt +0 -0
  352. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLG303.json +0 -0
  353. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLG303.txt +0 -0
  354. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLG304.json +0 -0
  355. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLG304.txt +0 -0
  356. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLG305.json +0 -0
  357. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLG305.txt +0 -0
  358. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLG306.json +0 -0
  359. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLG306.txt +0 -0
  360. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLK601.json +0 -0
  361. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLK601.txt +0 -0
  362. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLK602.json +0 -0
  363. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLK602.txt +0 -0
  364. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLK603.json +0 -0
  365. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLK603.txt +0 -0
  366. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLK604.json +0 -0
  367. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLK604.txt +0 -0
  368. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLK605.json +0 -0
  369. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLK605.txt +0 -0
  370. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLM201.json +0 -0
  371. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLM201.txt +0 -0
  372. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLM202.json +0 -0
  373. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLM202.txt +0 -0
  374. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLM203.json +0 -0
  375. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLM203.txt +0 -0
  376. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLM204.json +0 -0
  377. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLM204.txt +0 -0
  378. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLM205.json +0 -0
  379. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLM205.txt +0 -0
  380. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLM206.json +0 -0
  381. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLM206.txt +0 -0
  382. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLP401.json +0 -0
  383. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLP401.txt +0 -0
  384. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLP402.json +0 -0
  385. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLP402.txt +0 -0
  386. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLP403.json +0 -0
  387. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLP403.txt +0 -0
  388. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLP404.json +0 -0
  389. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLP404.txt +0 -0
  390. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLP405.json +0 -0
  391. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLP405.txt +0 -0
  392. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLP406.json +0 -0
  393. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLP406.txt +0 -0
  394. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLP407.json +0 -0
  395. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLP407.txt +0 -0
  396. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLP408.json +0 -0
  397. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLP408.txt +0 -0
  398. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLP409.json +0 -0
  399. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLP409.txt +0 -0
  400. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLP410.json +0 -0
  401. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLP410.txt +0 -0
  402. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLP411.json +0 -0
  403. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLP411.txt +0 -0
  404. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLP412.json +0 -0
  405. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLP412.txt +0 -0
  406. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLQ301.json +0 -0
  407. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLQ301.txt +0 -0
  408. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLQ302.json +0 -0
  409. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLQ302.txt +0 -0
  410. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLR201.json +0 -0
  411. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLR201.txt +0 -0
  412. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLR202.json +0 -0
  413. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLR202.txt +0 -0
  414. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLR203.json +0 -0
  415. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLR203.txt +0 -0
  416. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLR204.json +0 -0
  417. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLR204.txt +0 -0
  418. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLR205.json +0 -0
  419. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLR205.txt +0 -0
  420. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLR206.json +0 -0
  421. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLR206.txt +0 -0
  422. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLR207.json +0 -0
  423. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLR207.txt +0 -0
  424. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLS101.json +0 -0
  425. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLS101.txt +0 -0
  426. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLS102.json +0 -0
  427. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLS102.txt +0 -0
  428. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLS103.json +0 -0
  429. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLS103.txt +0 -0
  430. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLS104.json +0 -0
  431. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLS104.txt +0 -0
  432. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLS105.json +0 -0
  433. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLS105.txt +0 -0
  434. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLS106.json +0 -0
  435. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLS106.txt +0 -0
  436. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLS107.json +0 -0
  437. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLS107.txt +0 -0
  438. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLS108.json +0 -0
  439. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLS108.txt +0 -0
  440. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLU002.json +0 -0
  441. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLU002.txt +0 -0
  442. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLU003.json +0 -0
  443. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLU003.txt +0 -0
  444. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLX101.json +0 -0
  445. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLX101.txt +0 -0
  446. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLX102.json +0 -0
  447. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLX102.txt +0 -0
  448. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLX103.json +0 -0
  449. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLX103.txt +0 -0
  450. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLX104.json +0 -0
  451. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLX104.txt +0 -0
  452. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLX105.json +0 -0
  453. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLX105.txt +0 -0
  454. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLX106.json +0 -0
  455. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLX106.txt +0 -0
  456. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLX107.json +0 -0
  457. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLX107.txt +0 -0
  458. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLY001.json +0 -0
  459. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLY001.txt +0 -0
  460. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLY002.json +0 -0
  461. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLY002.txt +0 -0
  462. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLY003.json +0 -0
  463. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLY003.txt +0 -0
  464. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLY004.json +0 -0
  465. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/diagnostics/PLY004.txt +0 -0
  466. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/events/console.txt +0 -0
  467. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/events/console_run.txt +0 -0
  468. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/events/console_unit.txt +0 -0
  469. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/events/console_warn.txt +0 -0
  470. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/events/model_schema_changed.json +0 -0
  471. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/graph/small.dot +0 -0
  472. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/graph/small.mmd +0 -0
  473. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/manifest/shop-ci.json +0 -0
  474. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/run_results/quality.json +0 -0
  475. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/schema/defaults.json +0 -0
  476. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/goldens/schema/models.json +0 -0
  477. {pipeloom-0.3.0/tests/plan → pipeloom-0.5.0/tests/graph}/__init__.py +0 -0
  478. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/graph/test_dag.py +0 -0
  479. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/graph/test_selectors.py +0 -0
  480. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/graph/test_unit_selector.py +0 -0
  481. {pipeloom-0.3.0/tests/plugins → pipeloom-0.5.0/tests/plan}/__init__.py +0 -0
  482. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/plan/test_plan.py +0 -0
  483. {pipeloom-0.3.0/tests/runtime → pipeloom-0.5.0/tests/plugins}/__init__.py +0 -0
  484. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/plugins/test_builtins.py +0 -0
  485. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/plugins/test_memory.py +0 -0
  486. {pipeloom-0.3.0/tests/state → pipeloom-0.5.0/tests/runtime}/__init__.py +0 -0
  487. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/runtime/test_cancel.py +0 -0
  488. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/runtime/test_frame_api.py +0 -0
  489. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/runtime/test_incremental.py +0 -0
  490. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/runtime/test_process.py +0 -0
  491. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/runtime/test_quality.py +0 -0
  492. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/runtime/test_retries_sim.py +0 -0
  493. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/runtime/test_retry.py +0 -0
  494. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/runtime/test_run_control.py +0 -0
  495. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/runtime/test_runner.py +0 -0
  496. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/runtime/test_scheduler.py +0 -0
  497. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/runtime/test_schema_policy.py +0 -0
  498. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/runtime/test_support.py +0 -0
  499. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/runtime/test_timeouts.py +0 -0
  500. {pipeloom-0.3.0/tests/testing → pipeloom-0.5.0/tests/state}/__init__.py +0 -0
  501. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/state/test_stores.py +0 -0
  502. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/test_cli.py +0 -0
  503. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/test_cli_compile.py +0 -0
  504. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/test_cli_events.py +0 -0
  505. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/test_cli_select.py +0 -0
  506. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/test_cli_validate.py +0 -0
  507. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/test_coverage_config.py +0 -0
  508. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/test_diagnostics.py +0 -0
  509. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/test_docs_hooks.py +0 -0
  510. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/test_engine_contract.py +0 -0
  511. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/test_fs_table.py +0 -0
  512. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/test_fs_write.py +0 -0
  513. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/test_platform.py +0 -0
  514. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/test_portable.py +0 -0
  515. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/test_version.py +0 -0
  516. {pipeloom-0.3.0/tests/validate → pipeloom-0.5.0/tests/testing}/__init__.py +0 -0
  517. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/testing/test_reference.py +0 -0
  518. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/validate/test_sql_check.py +0 -0
  519. {pipeloom-0.3.0 → pipeloom-0.5.0}/tests/validate/test_validate.py +0 -0
@@ -6,6 +6,60 @@ All notable changes to this project are documented here. The format follows
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.5.0] - 2026-11-05
10
+
11
+ pipeloom 0.5 adds the `pipeloom-databricks` plugin: rendering to Databricks Jobs and bundles, direct deploy, run, repair and finalize with task states, the `unity` catalog and a `databricks` secret provider. The core gains generic orchestration hooks: the `deploy` block, plugin commands, runtime secret resolution, `--orchestrator-id` and `pipeloom finalize`. Plugin API stays (0, 4).
12
+
13
+ ### Added
14
+
15
+ - `pipeloom-databricks`: the `unity` catalog (`catalog: {kind: unity, catalog: main}`, Spark engine only; three-part backticked names, the schema is created only when absent) and the `databricks` secret provider (`${secret:databricks/<scope>/<key>}`, no profile auto-selection, failures are PLX109 without the value).
16
+ - Docs for 0.5: the Databricks plugin page (install, connection rules, deploy block, compute, grouping, bundle and direct deploy, run, repair, finalize, task values, secrets, Unity catalog, limits), a CLI reference page for `pipeloom databricks`, the architecture sections 4, 6, 7, 11, 12, 13, 14, 15 and 16 as delivered, and the Databricks diagram redrawn for the shipped design.
17
+ - `databricks-live`, a manually dispatched workflow (protected environment `databricks-live`, never triggered by regular CI) that deploys `tests/fixtures/databricks_live`, runs, selects and repairs it on a real workspace and prints `CHECK <fact> ok|failed` for the facts no offline test can confirm. `tools/databricks_live.py` holds the checks; its flow is unit-tested against `FakeDatabricks`. CONTRIBUTING explains the environment and secrets.
18
+ - Orchestration hooks in the core (ADR-0034, plugin API stays (0, 4)): a `deploy` runtime key, bound against the `renderers` group and never built by the core, with its validated options recorded in the manifest as `metadata.deploy` outside the plan hash; `manifest_bytes(plan, stable=True)` and `write_manifest(..., stable=True)` give byte-stable manifests.
19
+ - The `pipeloom.commands` entry-point group adds plugin commands to the CLI. They are discovered from metadata and imported only when invoked; built-in names win, duplicate names resolve by distribution name, a command that cannot be imported exits 1, and `PIPELOOM_DISABLE_PLUGIN_AUTOLOAD` hides them. `plugins list --group commands` lists them.
20
+ - `${secret:provider/path}` references in plugin options resolve at run time (`run`), through the `secret_providers` group, and are masked in events, attempt files, state rows and `run_results.json`, in both boundaries, also under secret-like keys. `$${secret:...}` stays literal text. They are never resolved by compile or validate, and never reach the manifest. PLX109 reports one that cannot be resolved (the blueprint's PLX108 was already taken).
21
+ - `run --orchestrator-id KEY=VALUE` (repeatable) records orchestrator ids in every attempt file, in `orchestrator_ids` of each result row and of the run, and in the `context` of every event (`orchestrator_id.<key>`). Bad keys or values are exit 2. `RunOptions.orchestrator_ids` is the API.
22
+ - `pipeloom finalize --run-id ID` (`Project.finalize`) merges the unit results of a run an orchestrator drove unit by unit: attempt file, else the state in `--unit-states` (`pipeloom.unit_states/1`), else `skipped`: `upstream_failed` when an upstream failed, otherwise the new reason `not_run`, which does not fail the run; `excluded` drops the unit. It refuses (PLX105, exit 1) while a `pipeloom run` of the same run id is live (its lock is held and its run record is `running`). It records the run, deletes expired intermediates, emits `run.completed` and rewrites the same result when repeated. Exit 0, 1 or 130; a failed unit wins over a cancelled one.
23
+ - `write_json_once` creates the file with an exclusive open when the file system refuses hard links (EPERM, ENOTSUP, EOPNOTSUPP, EXDEV, ENOSYS), such as a network volume.
24
+ - `pipeloom-databricks` (ADR-0035, first half), new in this release: a renderer for the `deploy` block (`kind: databricks`) that turns a plan into Databricks Jobs settings JSON, bundle YAML and `runs/submit` bodies. Rendering is pure (no network, no SDK, no credentials) and byte-deterministic. Supports serverless and job-cluster compute, `compute_rules`, several pipelines, `task_grouping` (`none`, `by_tag`, `by_folder`) and a finalize task. Install with `pipeloom[databricks]`.
25
+ - PLD001 (more than 1,000 tasks), PLD003 (task groups form a cycle), PLD004 (invalid Databricks deploy options) and the warning PLD005 (a compute rule matches no model). PLD002 stays reserved and is never emitted.
26
+ - `tools/versions.py` checks and bumps a member that pins another member (`pipeloom-spark~=X.Y.0` in `pipeloom-databricks`). `import-linter` keeps the core free of `pipeloom_databricks` and `databricks`, and the SDK out of every plugin module except the client ones.
27
+ - `pipeloom databricks bundle --target T --out DIR` (command added by `pipeloom-databricks` through `pipeloom.commands`) writes a job file and a stable manifest per pipeline into a Declarative Automation Bundle, with `${workspace.file_path}` paths; `--check` lists stale files and exits 1. Tasks run the new `pipeloom_databricks_task` wrapper, which resolves the run id, rejects unresolved `{{...}}` parameters (PLD013), calls the core in process, sets a size-capped task value (best effort) and exits with the core's code.
28
+ - `pipeloom_databricks.testing.jobsim.simulate_job` runs a rendered job locally through the wrapper, with `run_if`, `only` and repairs.
29
+ - PLD013: a task parameter still holds a `{{...}}` reference.
30
+ - `pipeloom-spark`: with `DATABRICKS_RUNTIME_VERSION` set and no active session, mode `active` attaches with `SparkSession.builder.getOrCreate()` and no conf (a wheel task starts without a session). The session is never configured or stopped. `active_session()` tries the thread's session first, then the default session another thread built.
31
+ - `pipeloom databricks deploy` (ADR-0036): uploads the project to the workspace, content addressed, and creates or resets one job per pipeline, found by its `pipeloom_job` tag. `--dry-run` prints the settings and connects to nothing; `--profile` is a group option and no profile is ever picked automatically (`DATABRICKS_CONFIG_PROFILE`, `DATABRICKS_HOST`, the runtime, else PLD010). The client calls the Jobs API 2.2 through the SDK's `api_client.do`; `pipeloom_databricks.api` and `pipeloom_databricks.testing.fake.FakeDatabricks` are new.
32
+ - PLD006 (two jobs carry the same `pipeloom_job` tag), PLD009 (Databricks API request failed), PLD010 (no Databricks connection configured) and PLD012 (a project file cannot be uploaded: a notebook, above 10 MB or outside the project).
33
+ - `pipeloom databricks run` (start the deployed job, `--ensure`, `--ephemeral`, `--select`, `--wait`) and `pipeloom databricks repair` (rerun failed, cancelled and skipped tasks). The finalize task now reads task states from the Jobs API, so a task that died without an attempt file fails or cancels the run. `pipeloom_databricks.api` gains `run_job`, `find_run`, `repair` and `task_states`; `simulate_job` takes a `FakeDatabricks` to publish task states.
34
+ - PLD007 (job or run not found), PLD008 (deployed job out of date), PLD011 (task ended without a unit result), PLD014 (run still active) and the warning PLD015 (a selection covers part of a task group; the whole group runs). `run` and `repair` take `--timeout SECONDS` (default 24 hours) for `--wait`.
35
+
36
+ ## [0.4.0] - 2026-11-05
37
+
38
+ pipeloom 0.4 adds the `pipeloom-spark` engine (Spark classic and Spark Connect) with Delta writes, idempotent commits, metrics from the commit history, quality checks and a Delta table state store, plus intermediate models on every engine, on plugin API (0, 4).
39
+
40
+ ### Added
41
+
42
+ - `intermediate` materialization on the memory, polars and pandas engines (ADR-0030, amends ADR-0007): the result is written to `<artifacts.root>/runs/<run_id>/intermediate/<model>` and read by its consumers; `relation_name` in `run_results` is that location. PLP413 rejects `incremental`, a strategy other than overwrite and `partition_by` on an intermediate.
43
+ - `artifacts.intermediate_ttl` (default 1d; 0 deletes at the end of a succeeded run). Finalize deletes expired intermediates; a deletion error is reported in the new `run.warnings` of `run_results`, never as a failure.
44
+ - `EngineContract` gains the intermediate tests (write then read, repeated token, one folder per run id).
45
+ - Plugin API (0, 4), ADR-0030: `RuntimeContext` gains `run_started_at` and `artifacts_root`; `EngineSession` gains `write_intermediate`; `CatalogCapabilities(views=)` and `IntermediateRef` are new types. Plugins built for (0, 3) fail with PLU001.
46
+ - `run --run-started-at ISO8601` (environment `PIPELOOM_RUN_STARTED_AT`) sets the start time every engine sees. It needs an offset and `--run-id`; a reused run id keeps its recorded start, and a different value is PLX108 (exit 2).
47
+ - The engine session opens before any state-store call and the run lock (so it has no `run_started_at`; engines read `WriteConfig.run_started_at`, new and additive), and `unit_scope` now spans a unit's reads, body, checks and write.
48
+ - PLC507 also fires when the catalog declares no views (`CatalogCapabilities(views=False)`).
49
+ - `pipeloom-spark` (ADR-0031): a Spark engine, new in this release, with the `delta_path` and `spark_catalog` catalogs. It reads `delta`, `parquet`, `csv`, `json` and `ndjson`, runs SQL models with DataFrame-bound aliases (no session temp views), cancels through Spark job tags, and opens a `local`, `connect` or `active` session; it never sets conf on a session it did not build. pyspark is not a hard dependency: `pipeloom[spark]` pulls `pipeloom-spark[local]` (`pyspark[connect]` 4.0.1 to 4.2, `delta-spark` 4.1 to 4.4).
50
+ - CI has a `spark` job (Java 17, three parallel legs: classic contract, classic rest and Connect), not yet a required check, and `typecheck` covers the Spark plugin. `make spark-test` prints the WSL recipe. Spark tests opt in with `PIPELOOM_TEST_SPARK=classic|connect`.
51
+ - `tools/versions.py` accepts a root extra that pins a distribution with an extra, as in `pipeloom-spark[local]==X.Y.Z`.
52
+ - Spark Delta writes (ADR-0032): `append`, `overwrite`, `merge` and `replace_partitions` (`replaceWhere`), the `view`, `incremental` and `intermediate` materializations, idempotent writes (`txnAppId`, `txnVersion` and a token in `userMetadata`; a MERGE is followed by an empty token commit) and row and byte metrics read from the commit history. No Spark conf is set.
53
+ - PLM207: Delta skipped the write because a later transaction version exists for the model (a newer or overlapping run, or clock skew); permanent for retries. `txn_guard: false` turns the guard off.
54
+ - `EngineContract`: `test_metrics` and `test_two_threads_materialize_at_once` skip for an engine without the `overwrite` strategy.
55
+ - Spark expectations and quarantine: the Spark engine declares `quality` and evaluates every count and aggregate of a model's checks in one Spark job; dropped rows go to the quarantine table with the usual `_pipeloom_*` columns.
56
+ - `table` state store in `pipeloom-spark` (ADR-0033): watermarks, runs, units and the run lock in one Delta table, by catalog name (`table`) or by path (`path`). Compare-and-set and the lease lock are single `MERGE` statements, Delta conflicts are retried, and the store reuses the engine's Spark session. It is shared (`shared=True`), so `boundary: task` can use it.
57
+ - Spark tests that start a second JVM opt in with `PIPELOOM_TEST_SPARK_HEAVY=1`. CI does not set it yet: on CI the child JVM stalled while resolving the Delta packages.
58
+
59
+ ### Fixed
60
+
61
+ - Intermediate cleanup no longer keeps a resumed run that crashed again forever: a run whose manifest is newer than its `run_results.json` is now judged like a run without results (deleted once idle for `max(ttl, 1h)`), so an active resumed run is still kept.
62
+
9
63
  ## [0.3.0] - 2026-11-04
10
64
 
11
65
  pipeloom 0.3 adds incremental models, merge and replace_partitions, schema-change policies, expectations with quarantine, retries, timeouts and cancellation, on plugin API (0, 3).
@@ -149,7 +203,9 @@ once used it.
149
203
  - CI, release and docs workflows.
150
204
  - Apache-2.0 license, contributing guide, code of conduct, security policy and governance.
151
205
 
152
- [Unreleased]: https://github.com/emanuel-luis/pipeloom/compare/v0.3.0...HEAD
206
+ [Unreleased]: https://github.com/emanuel-luis/pipeloom/compare/v0.5.0...HEAD
207
+ [0.5.0]: https://github.com/emanuel-luis/pipeloom/compare/v0.4.0...v0.5.0
208
+ [0.4.0]: https://github.com/emanuel-luis/pipeloom/compare/v0.3.0...v0.4.0
153
209
  [0.3.0]: https://github.com/emanuel-luis/pipeloom/compare/v0.2.0...v0.3.0
154
210
  [0.2.0]: https://github.com/emanuel-luis/pipeloom/compare/v0.1.0...v0.2.0
155
211
  [0.1.0]: https://github.com/emanuel-luis/pipeloom/compare/v0.0.2...v0.1.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: pipeloom
3
- Version: 0.3.0
3
+ Version: 0.5.0
4
4
  Summary: Declarative, engine-agnostic data pipelines in YAML.
5
5
  Project-URL: Repository, https://github.com/emanuel-luis/pipeloom
6
6
  Project-URL: Documentation, https://emanuel-luis.github.io/pipeloom/
@@ -25,10 +25,14 @@ Requires-Dist: narwhals>=2.0
25
25
  Requires-Dist: pydantic>=2.12
26
26
  Requires-Dist: pyyaml>=6.0.2
27
27
  Requires-Dist: rich>=13.7
28
+ Provides-Extra: databricks
29
+ Requires-Dist: pipeloom-databricks==0.5.0; extra == 'databricks'
28
30
  Provides-Extra: pandas
29
- Requires-Dist: pipeloom-pandas==0.3.0; extra == 'pandas'
31
+ Requires-Dist: pipeloom-pandas==0.5.0; extra == 'pandas'
30
32
  Provides-Extra: polars
31
- Requires-Dist: pipeloom-polars==0.3.0; extra == 'polars'
33
+ Requires-Dist: pipeloom-polars==0.5.0; extra == 'polars'
34
+ Provides-Extra: spark
35
+ Requires-Dist: pipeloom-spark[local]==0.5.0; extra == 'spark'
32
36
  Provides-Extra: sqlglot
33
37
  Requires-Dist: sqlglot>=26; extra == 'sqlglot'
34
38
  Description-Content-Type: text/markdown
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "pipeloom"
7
- version = "0.3.0"
7
+ version = "0.5.0"
8
8
  description = "Declarative, engine-agnostic data pipelines in YAML."
9
9
  readme = "README.pypi.md"
10
10
  requires-python = ">=3.11"
@@ -32,8 +32,10 @@ dependencies = [
32
32
  ]
33
33
 
34
34
  [project.optional-dependencies]
35
- polars = ["pipeloom-polars==0.3.0"]
36
- pandas = ["pipeloom-pandas==0.3.0"]
35
+ polars = ["pipeloom-polars==0.5.0"]
36
+ pandas = ["pipeloom-pandas==0.5.0"]
37
+ spark = ["pipeloom-spark[local]==0.5.0"]
38
+ databricks = ["pipeloom-databricks==0.5.0"]
37
39
  sqlglot = ["sqlglot>=26"]
38
40
 
39
41
  [project.urls]
@@ -61,6 +63,7 @@ dev = [
61
63
  "pyarrow>=26.0.1",
62
64
  "sqlglot>=26",
63
65
  ]
66
+ spark = ["pipeloom-spark[local]"]
64
67
  docs = ["mkdocs-material", "mkdocstrings[python]", "mkdocs-click", "mike"]
65
68
 
66
69
  [tool.uv.workspace]
@@ -69,6 +72,8 @@ members = ["plugins/*"]
69
72
  [tool.uv.sources]
70
73
  pipeloom-polars = { workspace = true }
71
74
  pipeloom-pandas = { workspace = true }
75
+ pipeloom-spark = { workspace = true }
76
+ pipeloom-databricks = { workspace = true }
72
77
 
73
78
  [tool.hatch.build.targets.wheel]
74
79
  packages = ["src/pipeloom"]
@@ -79,7 +84,14 @@ only-include = ["src", "tests", "CHANGELOG.md"]
79
84
  [tool.ruff]
80
85
  extend-exclude = ["docs"]
81
86
  line-length = 100
82
- src = ["src", "tests", "plugins/pipeloom-polars/src", "plugins/pipeloom-pandas/src"]
87
+ src = [
88
+ "src",
89
+ "tests",
90
+ "plugins/pipeloom-polars/src",
91
+ "plugins/pipeloom-pandas/src",
92
+ "plugins/pipeloom-spark/src",
93
+ "plugins/pipeloom-databricks/src",
94
+ ]
83
95
 
84
96
  [tool.ruff.lint]
85
97
  extend-select = ["BLE", "I", "UP", "B"]
@@ -93,17 +105,26 @@ files = [
93
105
  "plugins/pipeloom-polars/tests",
94
106
  "plugins/pipeloom-pandas/src",
95
107
  "plugins/pipeloom-pandas/tests",
108
+ "plugins/pipeloom-spark/src",
109
+ "plugins/pipeloom-spark/tests",
110
+ "plugins/pipeloom-databricks/src",
111
+ "plugins/pipeloom-databricks/tests",
96
112
  ]
97
113
 
98
114
  [[tool.mypy.overrides]]
99
- module = ["pandas", "pandas.*", "pyarrow", "pyarrow.*"]
115
+ # pyspark is not installed by the default environment (only by the `spark` group).
116
+ module = ["pandas", "pandas.*", "pyarrow", "pyarrow.*", "pyspark", "pyspark.*", "delta", "delta.*", "py4j", "py4j.*"]
100
117
  ignore_missing_imports = true
101
118
 
102
119
  [tool.pytest.ini_options]
103
120
  addopts = "-ra --strict-markers --strict-config --import-mode=importlib"
104
121
  timeout = 60
105
- testpaths = ["tests", "plugins/pipeloom-polars/tests", "plugins/pipeloom-pandas/tests"]
122
+ testpaths = ["tests", "plugins/pipeloom-polars/tests", "plugins/pipeloom-pandas/tests", "plugins/pipeloom-spark/tests", "plugins/pipeloom-databricks/tests"]
106
123
  pythonpath = ["."]
124
+ markers = [
125
+ "spark: needs local Spark (PIPELOOM_TEST_SPARK=classic, Linux or macOS, Java)",
126
+ "spark_connect: needs a local Spark Connect server (PIPELOOM_TEST_SPARK=connect)",
127
+ ]
107
128
 
108
129
  [tool.coverage.run]
109
130
  # Directories, never package names: for a package name coverage imports it inside
@@ -113,10 +134,12 @@ source = [
113
134
  "src/pipeloom",
114
135
  "plugins/pipeloom-polars/src/pipeloom_polars",
115
136
  "plugins/pipeloom-pandas/src/pipeloom_pandas",
137
+ "plugins/pipeloom-spark/src/pipeloom_spark",
138
+ "plugins/pipeloom-databricks/src/pipeloom_databricks",
116
139
  ]
117
140
 
118
141
  [tool.importlinter]
119
- root_package = "pipeloom"
142
+ root_packages = ["pipeloom", "pipeloom_databricks"]
120
143
  include_external_packages = true
121
144
  exclude_type_checking_imports = true
122
145
 
@@ -173,9 +196,29 @@ forbidden_modules = ["pipeloom.testing"]
173
196
  name = "No dataframe or SQL parsing library in the core"
174
197
  type = "forbidden"
175
198
  source_modules = ["pipeloom"]
176
- forbidden_modules = ["polars", "pandas", "pyarrow", "sqlglot"]
199
+ forbidden_modules = ["polars", "pandas", "pyarrow", "sqlglot", "pyspark", "delta", "py4j"]
177
200
  ignore_imports = ["pipeloom.validate.static -> sqlglot"]
178
201
 
202
+ [[tool.importlinter.contracts]]
203
+ name = "The core never imports the Databricks plugin or SDK"
204
+ type = "forbidden"
205
+ source_modules = ["pipeloom"]
206
+ forbidden_modules = ["pipeloom_databricks", "databricks"]
207
+
208
+ # Only the modules that talk to a workspace may import the SDK. They arrive with the client
209
+ # (PR32) and the task wrapper (PR31), so an ignored import that matches nothing is fine for now.
210
+ [[tool.importlinter.contracts]]
211
+ name = "Only the client and task value modules import databricks.sdk"
212
+ type = "forbidden"
213
+ source_modules = ["pipeloom_databricks"]
214
+ forbidden_modules = ["databricks"]
215
+ ignore_imports = [
216
+ "pipeloom_databricks.client.sdk -> databricks",
217
+ "pipeloom_databricks.client.connect -> databricks",
218
+ "pipeloom_databricks.task_values -> databricks",
219
+ ]
220
+ unmatched_ignore_imports_alerting = "none"
221
+
179
222
  [[tool.importlinter.contracts]]
180
223
  name = "Only pipeloom.engine.portable imports narwhals"
181
224
  type = "forbidden"
@@ -18,7 +18,10 @@ from pipeloom.plan.model import Plan
18
18
  from pipeloom.platform import Clock, Identity, IdentityProvider, LocalIdentity, SystemClock
19
19
  from pipeloom.plugins import PluginRegistry
20
20
  from pipeloom.runtime.control import RunControl
21
+ from pipeloom.runtime.finalize_run import FinalizeOptions, finalize_run
21
22
  from pipeloom.runtime.run import RunOptions, RunOutcome, execute_run
23
+ from pipeloom.secrets.redaction import Redactor
24
+ from pipeloom.secrets.resolve import SecretResolver
22
25
  from pipeloom.validate import validate_project
23
26
  from pipeloom.validate.references import check_references
24
27
 
@@ -36,8 +39,12 @@ class Project:
36
39
  clock: Clock | None = None,
37
40
  identity: IdentityProvider | None = None,
38
41
  invocation_id: str | None = None,
42
+ redactor: Redactor | None = None,
39
43
  ) -> None:
40
44
  self.options = options
45
+ self.redactor = redactor or Redactor()
46
+ """Holds every secret the run resolves; pass the same one to the event bus."""
47
+ self._secrets: SecretResolver | None = None
41
48
  self._registry = registry
42
49
  self._registry_problems: tuple[Diagnostic, ...] = ()
43
50
  self.clock: Clock = clock or SystemClock()
@@ -64,6 +71,14 @@ class Project:
64
71
  self._registry_problems = report.sorted()
65
72
  return self._registry
66
73
 
74
+ @property
75
+ def secrets(self) -> SecretResolver:
76
+ """Resolves `${secret:...}` references for plugins built to execute. One per project, so
77
+ each provider is built once per invocation."""
78
+ if self._secrets is None:
79
+ self._secrets = SecretResolver(self.registry, self.redactor)
80
+ return self._secrets
81
+
67
82
  def load(self) -> Outcome[LoadedProject]:
68
83
  """Read and check pipeloom.yml, model files and defaults (layers L0 and L1)."""
69
84
  if self._loaded is None:
@@ -152,9 +167,24 @@ class Project:
152
167
  if control is not None:
153
168
  opts = replace(opts, control=control)
154
169
  own = bus is None
155
- events = bus or EventBus([], clock=self.clock, invocation_id=self.invocation_id)
170
+ events = bus or EventBus(
171
+ [], clock=self.clock, invocation_id=self.invocation_id, redactor=self.redactor
172
+ )
156
173
  try:
157
174
  return execute_run(self, opts, events)
158
175
  finally:
159
176
  if own:
160
177
  events.close()
178
+
179
+ def finalize(self, opts: FinalizeOptions, bus: EventBus | None = None) -> RunOutcome:
180
+ """Close a run an orchestrator drove unit by unit: merge the unit results, record the run
181
+ and emit `run.completed`. Repeating the call rewrites the same results."""
182
+ own = bus is None
183
+ events = bus or EventBus(
184
+ [], clock=self.clock, invocation_id=self.invocation_id, redactor=self.redactor
185
+ )
186
+ try:
187
+ return finalize_run(self, opts, events)
188
+ finally:
189
+ if own:
190
+ events.close()
@@ -0,0 +1,203 @@
1
+ """Merge the unit attempts of a run into `run_results.json` and publish the run's files."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import json
6
+ import os
7
+ import shutil
8
+ from collections.abc import Collection, Mapping
9
+ from dataclasses import dataclass
10
+ from datetime import UTC, datetime
11
+ from pathlib import Path
12
+ from typing import Any
13
+
14
+ from pipeloom.artifacts.io import write_json_atomic
15
+ from pipeloom.artifacts.layout import RunPaths
16
+ from pipeloom.artifacts.results import (
17
+ RunHeader,
18
+ RunStatusName,
19
+ build_run_results,
20
+ result_row,
21
+ status_of,
22
+ )
23
+ from pipeloom.secrets.redaction import Redactor
24
+
25
+
26
+ @dataclass(frozen=True)
27
+ class Finalized:
28
+ run_results: dict[str, Any]
29
+ written: tuple[Path, ...]
30
+ """The run's `run_results.json` and the copies under the artifacts root."""
31
+
32
+
33
+ def latest_attempts(paths: RunPaths) -> dict[str, dict[str, Any]]:
34
+ """The newest attempt file of every unit in the run folder."""
35
+ out: dict[str, dict[str, Any]] = {}
36
+ if not paths.units_dir.is_dir():
37
+ return out
38
+ for folder in sorted(paths.units_dir.iterdir(), key=lambda p: p.name):
39
+ numbers = paths.attempt_numbers(folder.name)
40
+ if numbers:
41
+ raw = paths.attempt(folder.name, numbers[-1]).read_bytes().decode("utf-8")
42
+ out[folder.name] = json.loads(raw)
43
+ return out
44
+
45
+
46
+ _HOUR = 3600.0
47
+
48
+
49
+ def _newest_mtime(folder: Path) -> datetime:
50
+ """The newest modification time of a folder and everything under it."""
51
+ newest = folder.stat().st_mtime
52
+ for dirpath, dirnames, filenames in os.walk(folder):
53
+ for name in (*dirnames, *filenames):
54
+ try:
55
+ newest = max(newest, os.stat(os.path.join(dirpath, name)).st_mtime)
56
+ except OSError:
57
+ continue # removed while we looked
58
+ return datetime.fromtimestamp(newest, UTC)
59
+
60
+
61
+ def _recorded(run_dir: Path) -> tuple[datetime | None, float | None]:
62
+ """`ended_at` and `intermediate_ttl` of the run's `run_results.json`, None where absent."""
63
+ try:
64
+ run = json.loads((run_dir / "run_results.json").read_bytes().decode("utf-8"))["run"]
65
+ parsed = datetime.fromisoformat(run["ended_at"])
66
+ ttl = run.get("intermediate_ttl")
67
+ return (
68
+ parsed if parsed.tzinfo is not None else None,
69
+ float(ttl) if isinstance(ttl, int | float) else None,
70
+ )
71
+ except (OSError, ValueError, KeyError, TypeError):
72
+ return None, None
73
+
74
+
75
+ def _resumed(run_dir: Path) -> bool:
76
+ """The manifest is newer than the results: a later invocation of the run is in progress."""
77
+ try:
78
+ return (run_dir / "manifest.json").stat().st_mtime > (
79
+ run_dir / "run_results.json"
80
+ ).stat().st_mtime
81
+ except OSError:
82
+ return False
83
+
84
+
85
+ def cleanup_intermediates(
86
+ root: Path, *, now: datetime, ttl: float, run_id: str, status: RunStatusName
87
+ ) -> list[str]:
88
+ """Delete the `runs/<id>/intermediate/` folders that nobody needs any more.
89
+
90
+ The current run's folder goes only when `ttl` is 0 and the run succeeded. Another run is
91
+ judged by the TTL it recorded in its own `run_results.json` (a TTL of 0 there counts as one
92
+ hour, since only a failed run is left with data; `ttl` stands in when none is recorded),
93
+ against its last activity: the newest of its `ended_at` and the newest modification time
94
+ under its run folder (the manifest is rewritten at each start, events grow during a run).
95
+ A run without `run_results.json`, or whose manifest is newer than its results (resumed, so
96
+ its recorded `ended_at` is stale), is still running or crashed: it keeps its folder until
97
+ it has been idle for `max(ttl, 1h)`. A missing folder
98
+ is fine. Returns one warning per folder that could not be deleted; a deletion error never
99
+ fails the run.
100
+ """
101
+ runs = root / "runs"
102
+ if not runs.is_dir():
103
+ return []
104
+ warnings: list[str] = []
105
+ for run_dir in sorted(runs.iterdir(), key=lambda p: p.name):
106
+ folder = run_dir / "intermediate"
107
+ if not folder.is_dir():
108
+ continue
109
+ try:
110
+ if run_dir.name == run_id:
111
+ expired = ttl == 0 and status == "succeeded"
112
+ else:
113
+ ended, own = _recorded(run_dir)
114
+ active = _newest_mtime(run_dir) # manifest, events and attempts count too
115
+ if ended is None or _resumed(run_dir):
116
+ limit = max(ttl, _HOUR)
117
+ else:
118
+ active = max(active, ended)
119
+ limit = ttl if own is None else own
120
+ limit = limit if limit > 0 else _HOUR
121
+ expired = (now - active).total_seconds() > limit
122
+ if expired:
123
+ shutil.rmtree(folder)
124
+ except OSError as exc:
125
+ warnings.append(f"intermediate_cleanup_failed: {run_dir.name}: {exc}")
126
+ return warnings
127
+
128
+
129
+ def finalize(
130
+ paths: RunPaths,
131
+ header: RunHeader,
132
+ *,
133
+ unit_nodes: Mapping[str, str],
134
+ skipped: Mapping[str, tuple[str, str | None]],
135
+ cancelled: Collection[str],
136
+ unfinished: Collection[str] = (),
137
+ crashed: Mapping[str, dict[str, Any]] | None = None,
138
+ timed_out: Mapping[str, tuple[int, dict[str, Any]]] | None = None,
139
+ intermediate_ttl: float | None = None,
140
+ redactor: Redactor | None = None,
141
+ failure_first: bool = False,
142
+ ) -> Finalized:
143
+ """Write `run_results.json` into the run folder and copy it, with the manifest, to the root.
144
+
145
+ `unit_nodes` maps unit id to the unique id of its persisted model. A skipped or cancelled
146
+ verdict of this invocation wins over an attempt file; every other unit uses its newest
147
+ attempt, including units of earlier invocations that reused the run id. A scheduler
148
+ `timed_out` verdict (attempt number and error) also wins over a result written later;
149
+ the late status goes to `warnings` as `late_result: <status>`. `unfinished` units
150
+ (an internal error stopped the run) are reported as cancelled. `crashed` rows replace the
151
+ attempt of a unit whose runner failed before it could write one. With `intermediate_ttl`
152
+ the run also deletes expired intermediates; failures go to the run's `warnings`. `redactor`
153
+ masks resolved secrets in everything written. `failure_first` is for `pipeloom finalize`:
154
+ a failed unit makes the run failed even when another was cancelled.
155
+ """
156
+ rows = latest_attempts(paths)
157
+ for unit_id, (reason, _upstream) in skipped.items():
158
+ rows[unit_id] = result_row(
159
+ unique_id=unit_nodes[unit_id], unit_id=unit_id, status="skipped", skip_reason=reason
160
+ )
161
+ for unit_id in (*cancelled, *unfinished):
162
+ rows[unit_id] = result_row(
163
+ unique_id=unit_nodes[unit_id], unit_id=unit_id, status="cancelled"
164
+ )
165
+ for unit_id, (attempt, error) in (timed_out or {}).items():
166
+ late = rows.get(unit_id)
167
+ if late is not None and late["status"] == "timed_out":
168
+ continue # the owner already recorded it
169
+ warnings = [] if late is None else [f"late_result: {late['status']}"]
170
+ rows[unit_id] = result_row(
171
+ unique_id=unit_nodes[unit_id],
172
+ unit_id=unit_id,
173
+ status="timed_out",
174
+ attempt=attempt,
175
+ error=error,
176
+ warnings=warnings,
177
+ )
178
+ rows.update(crashed or {})
179
+ cleanup_warnings: list[str] = []
180
+ if intermediate_ttl is not None:
181
+ status = status_of(list(rows.values()), failure_first=failure_first)
182
+ cleanup_warnings = cleanup_intermediates(
183
+ paths.root,
184
+ now=datetime.fromisoformat(header.ended_at),
185
+ ttl=intermediate_ttl,
186
+ run_id=header.run_id,
187
+ status=status,
188
+ )
189
+ results = build_run_results(
190
+ header, list(rows.values()), cleanup_warnings, intermediate_ttl, failure_first=failure_first
191
+ )
192
+ if redactor is not None:
193
+ results = redactor.scrub(results)
194
+ write_json_atomic(paths.run_results, results)
195
+ written = [paths.run_results]
196
+ if paths.manifest.is_file():
197
+ for src in (paths.manifest, paths.run_results):
198
+ dest = paths.root / src.name
199
+ tmp = dest.with_name(f"{dest.name}.copy.tmp")
200
+ shutil.copyfile(src, tmp)
201
+ tmp.replace(dest)
202
+ written.append(dest)
203
+ return Finalized(results, tuple(written))
@@ -2,6 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
+ import errno
5
6
  import json
6
7
  import os
7
8
  import sys
@@ -12,6 +13,10 @@ from typing import Any
12
13
 
13
14
  REPLACE_RETRIES = 10
14
15
  REPLACE_BACKOFF = 0.05
16
+ NO_LINK_ERRNOS = frozenset(
17
+ {errno.EPERM, errno.ENOTSUP, errno.EOPNOTSUPP, errno.EXDEV, errno.ENOSYS}
18
+ )
19
+ """What `os.link` raises on a file system without hard links."""
15
20
 
16
21
 
17
22
  def json_bytes(data: Any) -> bytes:
@@ -45,7 +50,9 @@ def write_json_once(path: Path, data: Any) -> bool:
45
50
 
46
51
  The first terminal attempt file wins: the content goes to a temp file, which is then linked
47
52
  (POSIX) or renamed (Windows) to `path`. Both fail when `path` exists, and the temp file is
48
- removed either way.
53
+ removed either way. A file system that cannot hard-link (a FUSE volume) makes the link fail
54
+ with one of `NO_LINK_ERRNOS`; the content is then written with `O_CREAT | O_EXCL`, which
55
+ is exclusive too but not atomic: a reader may see a partial file for a moment.
49
56
  """
50
57
  content = json_bytes(data)
51
58
  path.parent.mkdir(parents=True, exist_ok=True)
@@ -58,6 +65,24 @@ def write_json_once(path: Path, data: Any) -> bool:
58
65
  os.link(tmp, path)
59
66
  except FileExistsError:
60
67
  return False
68
+ except OSError as exc:
69
+ if exc.errno not in NO_LINK_ERRNOS:
70
+ raise
71
+ return _create_exclusive(path, content)
61
72
  finally:
62
73
  tmp.unlink(missing_ok=True)
63
74
  return True
75
+
76
+
77
+ def _create_exclusive(path: Path, content: bytes) -> bool:
78
+ try:
79
+ fd = os.open(path, os.O_CREAT | os.O_EXCL | os.O_WRONLY, 0o666)
80
+ except FileExistsError:
81
+ return False
82
+ try:
83
+ with os.fdopen(fd, "wb") as handle:
84
+ handle.write(content)
85
+ except BaseException:
86
+ path.unlink(missing_ok=True)
87
+ raise
88
+ return True
@@ -14,6 +14,8 @@ RESULTS_SCHEMA: Final = "pipeloom.run_results/1"
14
14
 
15
15
  RunStatusName = Literal["succeeded", "failed", "cancelled"]
16
16
 
17
+ _FAILING_SKIPS: Final = ("upstream_failed", "fail_fast")
18
+
17
19
  # Every row has every key. Fields 0.2 does not fill stay null or empty.
18
20
  ROW_DEFAULTS: Final[Mapping[str, Any]] = {
19
21
  "unique_id": None,
@@ -91,13 +93,22 @@ def git_sha(cwd: Path, timeout: float = 2.0) -> str | None:
91
93
  return out if done.returncode == 0 and len(out) >= 7 else None
92
94
 
93
95
 
94
- def status_of(rows: Sequence[Mapping[str, Any]]) -> RunStatusName:
95
- statuses = {r["status"] for r in rows}
96
+ def status_of(rows: Sequence[Mapping[str, Any]], *, failure_first: bool = False) -> RunStatusName:
97
+ """A skipped unit fails the run only for `upstream_failed` or `fail_fast` (or no reason);
98
+ `not_run` and an orchestrator's own reason count for nothing. A run that was stopped is
99
+ cancelled even when a unit failed; `failure_first` (`pipeloom finalize`) lets a failure
100
+ win instead."""
101
+ statuses = {
102
+ r["status"]
103
+ for r in rows
104
+ if r["status"] != "skipped" or r["skip_reason"] in (None, *_FAILING_SKIPS)
105
+ }
106
+ failed = bool(statuses & {"failed", "skipped", "timed_out"})
107
+ if failure_first and failed:
108
+ return "failed"
96
109
  if "cancelled" in statuses:
97
110
  return "cancelled"
98
- if statuses & {"failed", "skipped", "timed_out"}:
99
- return "failed"
100
- return "succeeded"
111
+ return "failed" if failed else "succeeded"
101
112
 
102
113
 
103
114
  def exit_code_of(status: RunStatusName) -> int:
@@ -144,9 +155,16 @@ class RunHeader:
144
155
  git_sha: str | None
145
156
 
146
157
 
147
- def build_run_results(header: RunHeader, rows: Sequence[dict[str, Any]]) -> dict[str, Any]:
158
+ def build_run_results(
159
+ header: RunHeader,
160
+ rows: Sequence[dict[str, Any]],
161
+ warnings: Sequence[str] = (),
162
+ intermediate_ttl: float | None = None,
163
+ *,
164
+ failure_first: bool = False,
165
+ ) -> dict[str, Any]:
148
166
  ordered = sorted(rows, key=lambda r: str(r["unit_id"]))
149
- status = status_of(ordered)
167
+ status = status_of(ordered, failure_first=failure_first)
150
168
  h = header
151
169
  return {
152
170
  "schema": RESULTS_SCHEMA,
@@ -178,6 +196,8 @@ def build_run_results(header: RunHeader, rows: Sequence[dict[str, Any]]) -> dict
178
196
  "python_version": h.python_version,
179
197
  "git_sha": h.git_sha,
180
198
  "exit_code": exit_code_of(status),
199
+ "intermediate_ttl": intermediate_ttl,
200
+ "warnings": list(warnings),
181
201
  },
182
202
  "results": ordered,
183
203
  }
@@ -10,7 +10,7 @@ from pydantic import Field
10
10
  from pipeloom.builtins.fs_table import FsTable
11
11
  from pipeloom.config.types import ProjectPath
12
12
  from pipeloom.engine.protocols import Catalog
13
- from pipeloom.engine.types import Namespace, Schema, TargetRef
13
+ from pipeloom.engine.types import CatalogCapabilities, Namespace, Schema, TargetRef
14
14
  from pipeloom.platform import Clock, SystemClock
15
15
  from pipeloom.plugins import API_VERSION, OptionsModel, PluginSpec
16
16
 
@@ -70,5 +70,6 @@ SPEC: PluginSpec[Catalog] = PluginSpec(
70
70
  _build,
71
71
  FilesystemOptions,
72
72
  compatible_engines=frozenset({"polars", "pandas"}),
73
+ capabilities=CatalogCapabilities(views=True),
73
74
  description="Tables as part files under a directory, committed atomically.",
74
75
  )
@@ -2,8 +2,9 @@
2
2
 
3
3
  import click
4
4
 
5
- from pipeloom.cli._options import PipeloomGroup
5
+ from pipeloom.cli._ext import PipeloomGroup
6
6
  from pipeloom.cli.compile import compile_
7
+ from pipeloom.cli.finalize import finalize
7
8
  from pipeloom.cli.graph import graph
8
9
  from pipeloom.cli.ls import ls
9
10
  from pipeloom.cli.plugins import plugins
@@ -22,6 +23,7 @@ main.add_command(validate)
22
23
  main.add_command(compile_, name="compile")
23
24
  main.add_command(ls)
24
25
  main.add_command(run)
26
+ main.add_command(finalize)
25
27
  main.add_command(graph)
26
28
  main.add_command(schema)
27
29
  main.add_command(plugins)