pipeloom 0.3.0__tar.gz → 0.4.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 (459) hide show
  1. {pipeloom-0.3.0 → pipeloom-0.4.0}/CHANGELOG.md +29 -1
  2. {pipeloom-0.3.0 → pipeloom-0.4.0}/PKG-INFO +5 -3
  3. {pipeloom-0.3.0 → pipeloom-0.4.0}/pyproject.toml +24 -7
  4. pipeloom-0.4.0/src/pipeloom/artifacts/finalize.py +194 -0
  5. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/artifacts/results.py +8 -1
  6. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/builtins/filesystem.py +2 -1
  7. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/cli/run.py +33 -0
  8. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/config/models.py +3 -0
  9. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/diagnostics/codes.py +30 -2
  10. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/engine/errors.py +6 -0
  11. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/engine/protocols.py +6 -0
  12. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/engine/types.py +24 -0
  13. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/plugins/__init__.py +3 -3
  14. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/context.py +5 -0
  15. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/retry.py +3 -1
  16. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/run.py +67 -22
  17. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/runner.py +115 -13
  18. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/testing/contract/engine.py +63 -0
  19. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/testing/contract/state.py +5 -3
  20. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/testing/memory.py +46 -1
  21. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/validate/capabilities.py +12 -2
  22. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/validate/semantics.py +12 -0
  23. pipeloom-0.4.0/tests/artifacts/test_intermediate_ttl.py +180 -0
  24. pipeloom-0.4.0/tests/cases/PLC509.yml +15 -0
  25. pipeloom-0.4.0/tests/cases/PLM207.yml +14 -0
  26. pipeloom-0.3.0/tests/cases/PLC509.yml → pipeloom-0.4.0/tests/cases/PLP413.yml +4 -1
  27. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLU001.yml +1 -1
  28. pipeloom-0.4.0/tests/cases/PLX108.yml +14 -0
  29. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/config/test_cases.py +20 -0
  30. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC509.json +4 -4
  31. pipeloom-0.4.0/tests/goldens/diagnostics/PLC509.txt +2 -0
  32. pipeloom-0.4.0/tests/goldens/diagnostics/PLM207.json +18 -0
  33. pipeloom-0.4.0/tests/goldens/diagnostics/PLM207.txt +2 -0
  34. pipeloom-0.4.0/tests/goldens/diagnostics/PLP413.json +17 -0
  35. pipeloom-0.4.0/tests/goldens/diagnostics/PLP413.txt +2 -0
  36. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLU001.json +4 -4
  37. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLU001.txt +1 -1
  38. pipeloom-0.4.0/tests/goldens/diagnostics/PLX108.json +13 -0
  39. pipeloom-0.4.0/tests/goldens/diagnostics/PLX108.txt +2 -0
  40. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/run_results/shop.json +3 -1
  41. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/schema/project.json +15 -0
  42. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/schema/project.plugins.json +15 -0
  43. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/plugins/fakes.py +14 -2
  44. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/plugins/test_registry.py +7 -7
  45. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/runtime/fakes.py +42 -2
  46. pipeloom-0.4.0/tests/runtime/test_api04.py +278 -0
  47. pipeloom-0.4.0/tests/runtime/test_intermediate.py +130 -0
  48. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_catalog.py +2 -1
  49. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_cli_plugins.py +3 -3
  50. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_cli_run.py +41 -0
  51. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_engine_types.py +1 -1
  52. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_versions.py +17 -0
  53. pipeloom-0.4.0/tests/validate/test_catalog_caps.py +36 -0
  54. pipeloom-0.3.0/src/pipeloom/artifacts/finalize.py +0 -91
  55. pipeloom-0.3.0/tests/goldens/diagnostics/PLC509.txt +0 -2
  56. {pipeloom-0.3.0 → pipeloom-0.4.0}/.gitignore +0 -0
  57. {pipeloom-0.3.0 → pipeloom-0.4.0}/LICENSE +0 -0
  58. {pipeloom-0.3.0 → pipeloom-0.4.0}/NOTICE +0 -0
  59. {pipeloom-0.3.0 → pipeloom-0.4.0}/README.pypi.md +0 -0
  60. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/__init__.py +0 -0
  61. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/__main__.py +0 -0
  62. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/api.py +0 -0
  63. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/artifacts/__init__.py +0 -0
  64. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/artifacts/io.py +0 -0
  65. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/artifacts/layout.py +0 -0
  66. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/builtins/__init__.py +0 -0
  67. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/builtins/fs_table.py +0 -0
  68. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/builtins/fs_write.py +0 -0
  69. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/builtins/naming.py +0 -0
  70. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/builtins/secrets_env.py +0 -0
  71. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/cli/__init__.py +0 -0
  72. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/cli/_events.py +0 -0
  73. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/cli/_options.py +0 -0
  74. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/cli/_select.py +0 -0
  75. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/cli/_signals.py +0 -0
  76. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/cli/compile.py +0 -0
  77. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/cli/graph.py +0 -0
  78. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/cli/ls.py +0 -0
  79. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/cli/plugins.py +0 -0
  80. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/cli/schema.py +0 -0
  81. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/cli/validate.py +0 -0
  82. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/config/__init__.py +0 -0
  83. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/config/bind.py +0 -0
  84. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/config/discover.py +0 -0
  85. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/config/errors.py +0 -0
  86. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/config/load.py +0 -0
  87. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/config/resolve.py +0 -0
  88. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/config/schema.py +0 -0
  89. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/config/types.py +0 -0
  90. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/config/yaml.py +0 -0
  91. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/diagnostics/__init__.py +0 -0
  92. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/engine/__init__.py +0 -0
  93. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/engine/portable.py +0 -0
  94. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/events/__init__.py +0 -0
  95. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/events/bus.py +0 -0
  96. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/events/model.py +0 -0
  97. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/events/sinks/__init__.py +0 -0
  98. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/events/sinks/buffered.py +0 -0
  99. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/events/sinks/console.py +0 -0
  100. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/events/sinks/jsonl.py +0 -0
  101. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/events/sinks/runfile.py +0 -0
  102. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/graph/__init__.py +0 -0
  103. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/graph/dag.py +0 -0
  104. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/graph/selectors.py +0 -0
  105. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/plan/__init__.py +0 -0
  106. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/plan/compile.py +0 -0
  107. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/plan/manifest.py +0 -0
  108. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/plan/model.py +0 -0
  109. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/plan/units.py +0 -0
  110. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/platform.py +0 -0
  111. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/plugins/builtin.py +0 -0
  112. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/py.typed +0 -0
  113. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/quality/__init__.py +0 -0
  114. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/quality/judge.py +0 -0
  115. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/quality/quarantine.py +0 -0
  116. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/quality/specs.py +0 -0
  117. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/__init__.py +0 -0
  118. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/control.py +0 -0
  119. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/errors.py +0 -0
  120. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/executors/__init__.py +0 -0
  121. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/executors/process.py +0 -0
  122. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/executors/thread.py +0 -0
  123. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/incremental.py +0 -0
  124. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/loader.py +0 -0
  125. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/memo.py +0 -0
  126. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/scheduler.py +0 -0
  127. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/schema_policy.py +0 -0
  128. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/runtime/states.py +0 -0
  129. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/secrets/__init__.py +0 -0
  130. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/secrets/interpolation.py +0 -0
  131. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/secrets/redaction.py +0 -0
  132. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/state/__init__.py +0 -0
  133. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/state/codec.py +0 -0
  134. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/state/jsondir.py +0 -0
  135. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/state/lease.py +0 -0
  136. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/state/sqlite.py +0 -0
  137. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/state/types.py +0 -0
  138. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/testing/__init__.py +0 -0
  139. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/testing/clock.py +0 -0
  140. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/testing/contract/__init__.py +0 -0
  141. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/testing/recording.py +0 -0
  142. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/testing/reference.py +0 -0
  143. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/testing/sim.py +0 -0
  144. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/validate/__init__.py +0 -0
  145. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/validate/references.py +0 -0
  146. {pipeloom-0.3.0 → pipeloom-0.4.0}/src/pipeloom/validate/static.py +0 -0
  147. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/__init__.py +0 -0
  148. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/artifacts/__init__.py +0 -0
  149. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/artifacts/test_artifacts.py +0 -0
  150. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLC501.yml +0 -0
  151. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLC502.yml +0 -0
  152. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLC503.yml +0 -0
  153. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLC504.yml +0 -0
  154. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLC505.yml +0 -0
  155. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLC506.yml +0 -0
  156. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLC507.yml +0 -0
  157. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLC508.yml +0 -0
  158. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLC510.yml +0 -0
  159. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLE401.yml +0 -0
  160. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLG301.yml +0 -0
  161. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLG302.yml +0 -0
  162. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLG303.yml +0 -0
  163. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLG304.yml +0 -0
  164. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLG305.yml +0 -0
  165. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLG306.yml +0 -0
  166. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLK601.yml +0 -0
  167. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLK602.yml +0 -0
  168. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLK603.yml +0 -0
  169. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLK604.yml +0 -0
  170. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLK605.yml +0 -0
  171. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLM201.yml +0 -0
  172. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLM202.yml +0 -0
  173. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLM203.yml +0 -0
  174. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLM204.yml +0 -0
  175. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLM205.yml +0 -0
  176. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLM206.yml +0 -0
  177. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLP401.yml +0 -0
  178. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLP402.yml +0 -0
  179. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLP403.yml +0 -0
  180. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLP404.yml +0 -0
  181. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLP405.yml +0 -0
  182. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLP406.yml +0 -0
  183. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLP407.yml +0 -0
  184. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLP408.yml +0 -0
  185. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLP409.yml +0 -0
  186. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLP410.yml +0 -0
  187. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLP411.yml +0 -0
  188. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLP412.yml +0 -0
  189. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLQ301.yml +0 -0
  190. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLQ302.yml +0 -0
  191. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLR201.yml +0 -0
  192. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLR202.yml +0 -0
  193. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLR203.yml +0 -0
  194. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLR204.yml +0 -0
  195. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLR205.yml +0 -0
  196. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLR206.yml +0 -0
  197. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLR207.yml +0 -0
  198. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLS101.yml +0 -0
  199. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLS102.yml +0 -0
  200. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLS103.yml +0 -0
  201. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLS104.yml +0 -0
  202. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLS105.yml +0 -0
  203. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLS106.yml +0 -0
  204. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLS107.yml +0 -0
  205. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLS108.yml +0 -0
  206. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLU002.yml +0 -0
  207. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLU003.yml +0 -0
  208. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLX101.yml +0 -0
  209. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLX102.yml +0 -0
  210. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLX103.yml +0 -0
  211. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLX104.yml +0 -0
  212. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLX105.yml +0 -0
  213. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLX106.yml +0 -0
  214. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLX107.yml +0 -0
  215. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLY001.yml +0 -0
  216. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLY002.yml +0 -0
  217. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLY003.yml +0 -0
  218. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/cases/PLY004.yml +0 -0
  219. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/config/__init__.py +0 -0
  220. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/config/test_bind.py +0 -0
  221. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/config/test_errors.py +0 -0
  222. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/config/test_interpolation.py +0 -0
  223. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/config/test_load.py +0 -0
  224. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/config/test_models.py +0 -0
  225. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/config/test_resolve.py +0 -0
  226. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/config/test_schema.py +0 -0
  227. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/config/test_yaml.py +0 -0
  228. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/conftest.py +0 -0
  229. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/events/__init__.py +0 -0
  230. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/events/fakes.py +0 -0
  231. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/events/test_bus.py +0 -0
  232. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/events/test_console_run.py +0 -0
  233. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/events/test_model.py +0 -0
  234. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/events/test_redaction.py +0 -0
  235. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/events/test_sinks.py +0 -0
  236. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/minimal/models/_defaults.yml +0 -0
  237. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/minimal/models/staging/orders.yml +0 -0
  238. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/minimal/pipeloom.yml +0 -0
  239. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/quality/models/models.yml +0 -0
  240. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/quality/models/sources.yml +0 -0
  241. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/quality/pipeloom.yml +0 -0
  242. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/quality/raw/orders.csv +0 -0
  243. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/quality/src/quality/__init__.py +0 -0
  244. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/quality/src/quality/models.py +0 -0
  245. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/shop/models/marts/marts.yml +0 -0
  246. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/shop/models/staging/_defaults.yml +0 -0
  247. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/shop/models/staging/sources.yml +0 -0
  248. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/shop/models/staging/stg.yml +0 -0
  249. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/shop/pipeloom.yml +0 -0
  250. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/shop/src/shop/__init__.py +0 -0
  251. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/shop/src/shop/enrich.py +0 -0
  252. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/shop/src/shop/marts.py +0 -0
  253. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/smoke/models/models.yml +0 -0
  254. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/smoke/models/sources.yml +0 -0
  255. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/smoke/pipeloom.yml +0 -0
  256. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/smoke/raw/customers.csv +0 -0
  257. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/smoke/raw/orders.csv +0 -0
  258. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/smoke/src/smoke/__init__.py +0 -0
  259. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/smoke/src/smoke/models.py +0 -0
  260. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/smoke-pandas/models/models.yml +0 -0
  261. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/smoke-pandas/models/sources.yml +0 -0
  262. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/smoke-pandas/pipeloom.yml +0 -0
  263. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/smoke-pandas/raw/customers.csv +0 -0
  264. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/smoke-pandas/raw/orders.csv +0 -0
  265. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/smoke-pandas/src/smoke/__init__.py +0 -0
  266. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/fixtures/smoke-pandas/src/smoke/models.py +0 -0
  267. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC501.json +0 -0
  268. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC501.txt +0 -0
  269. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC502.json +0 -0
  270. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC502.txt +0 -0
  271. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC503.json +0 -0
  272. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC503.txt +0 -0
  273. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC504.json +0 -0
  274. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC504.txt +0 -0
  275. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC505.json +0 -0
  276. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC505.txt +0 -0
  277. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC506.json +0 -0
  278. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC506.txt +0 -0
  279. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC507.json +0 -0
  280. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC507.txt +0 -0
  281. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC508.json +0 -0
  282. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC508.txt +0 -0
  283. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC510.json +0 -0
  284. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLC510.txt +0 -0
  285. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLE401.json +0 -0
  286. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLE401.txt +0 -0
  287. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG301.json +0 -0
  288. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG301.txt +0 -0
  289. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG302.json +0 -0
  290. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG302.txt +0 -0
  291. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG303.json +0 -0
  292. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG303.txt +0 -0
  293. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG304.json +0 -0
  294. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG304.txt +0 -0
  295. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG305.json +0 -0
  296. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG305.txt +0 -0
  297. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG306.json +0 -0
  298. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLG306.txt +0 -0
  299. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLK601.json +0 -0
  300. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLK601.txt +0 -0
  301. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLK602.json +0 -0
  302. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLK602.txt +0 -0
  303. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLK603.json +0 -0
  304. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLK603.txt +0 -0
  305. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLK604.json +0 -0
  306. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLK604.txt +0 -0
  307. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLK605.json +0 -0
  308. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLK605.txt +0 -0
  309. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLM201.json +0 -0
  310. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLM201.txt +0 -0
  311. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLM202.json +0 -0
  312. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLM202.txt +0 -0
  313. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLM203.json +0 -0
  314. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLM203.txt +0 -0
  315. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLM204.json +0 -0
  316. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLM204.txt +0 -0
  317. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLM205.json +0 -0
  318. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLM205.txt +0 -0
  319. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLM206.json +0 -0
  320. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLM206.txt +0 -0
  321. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP401.json +0 -0
  322. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP401.txt +0 -0
  323. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP402.json +0 -0
  324. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP402.txt +0 -0
  325. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP403.json +0 -0
  326. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP403.txt +0 -0
  327. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP404.json +0 -0
  328. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP404.txt +0 -0
  329. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP405.json +0 -0
  330. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP405.txt +0 -0
  331. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP406.json +0 -0
  332. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP406.txt +0 -0
  333. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP407.json +0 -0
  334. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP407.txt +0 -0
  335. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP408.json +0 -0
  336. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP408.txt +0 -0
  337. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP409.json +0 -0
  338. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP409.txt +0 -0
  339. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP410.json +0 -0
  340. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP410.txt +0 -0
  341. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP411.json +0 -0
  342. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP411.txt +0 -0
  343. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP412.json +0 -0
  344. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLP412.txt +0 -0
  345. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLQ301.json +0 -0
  346. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLQ301.txt +0 -0
  347. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLQ302.json +0 -0
  348. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLQ302.txt +0 -0
  349. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR201.json +0 -0
  350. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR201.txt +0 -0
  351. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR202.json +0 -0
  352. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR202.txt +0 -0
  353. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR203.json +0 -0
  354. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR203.txt +0 -0
  355. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR204.json +0 -0
  356. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR204.txt +0 -0
  357. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR205.json +0 -0
  358. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR205.txt +0 -0
  359. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR206.json +0 -0
  360. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR206.txt +0 -0
  361. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR207.json +0 -0
  362. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLR207.txt +0 -0
  363. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS101.json +0 -0
  364. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS101.txt +0 -0
  365. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS102.json +0 -0
  366. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS102.txt +0 -0
  367. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS103.json +0 -0
  368. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS103.txt +0 -0
  369. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS104.json +0 -0
  370. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS104.txt +0 -0
  371. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS105.json +0 -0
  372. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS105.txt +0 -0
  373. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS106.json +0 -0
  374. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS106.txt +0 -0
  375. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS107.json +0 -0
  376. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS107.txt +0 -0
  377. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS108.json +0 -0
  378. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLS108.txt +0 -0
  379. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLU002.json +0 -0
  380. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLU002.txt +0 -0
  381. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLU003.json +0 -0
  382. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLU003.txt +0 -0
  383. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX101.json +0 -0
  384. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX101.txt +0 -0
  385. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX102.json +0 -0
  386. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX102.txt +0 -0
  387. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX103.json +0 -0
  388. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX103.txt +0 -0
  389. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX104.json +0 -0
  390. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX104.txt +0 -0
  391. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX105.json +0 -0
  392. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX105.txt +0 -0
  393. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX106.json +0 -0
  394. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX106.txt +0 -0
  395. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX107.json +0 -0
  396. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLX107.txt +0 -0
  397. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLY001.json +0 -0
  398. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLY001.txt +0 -0
  399. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLY002.json +0 -0
  400. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLY002.txt +0 -0
  401. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLY003.json +0 -0
  402. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLY003.txt +0 -0
  403. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLY004.json +0 -0
  404. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/diagnostics/PLY004.txt +0 -0
  405. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/events/console.txt +0 -0
  406. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/events/console_run.txt +0 -0
  407. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/events/console_unit.txt +0 -0
  408. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/events/console_warn.txt +0 -0
  409. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/events/model_schema_changed.json +0 -0
  410. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/graph/small.dot +0 -0
  411. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/graph/small.mmd +0 -0
  412. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/manifest/shop-ci.json +0 -0
  413. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/run_results/quality.json +0 -0
  414. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/schema/defaults.json +0 -0
  415. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/goldens/schema/models.json +0 -0
  416. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/graph/__init__.py +0 -0
  417. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/graph/test_dag.py +0 -0
  418. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/graph/test_selectors.py +0 -0
  419. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/graph/test_unit_selector.py +0 -0
  420. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/plan/__init__.py +0 -0
  421. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/plan/test_plan.py +0 -0
  422. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/plugins/__init__.py +0 -0
  423. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/plugins/test_builtins.py +0 -0
  424. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/plugins/test_memory.py +0 -0
  425. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/runtime/__init__.py +0 -0
  426. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/runtime/test_cancel.py +0 -0
  427. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/runtime/test_frame_api.py +0 -0
  428. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/runtime/test_incremental.py +0 -0
  429. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/runtime/test_process.py +0 -0
  430. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/runtime/test_quality.py +0 -0
  431. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/runtime/test_retries_sim.py +0 -0
  432. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/runtime/test_retry.py +0 -0
  433. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/runtime/test_run_control.py +0 -0
  434. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/runtime/test_runner.py +0 -0
  435. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/runtime/test_scheduler.py +0 -0
  436. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/runtime/test_schema_policy.py +0 -0
  437. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/runtime/test_support.py +0 -0
  438. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/runtime/test_timeouts.py +0 -0
  439. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/state/__init__.py +0 -0
  440. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/state/test_stores.py +0 -0
  441. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_cli.py +0 -0
  442. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_cli_compile.py +0 -0
  443. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_cli_events.py +0 -0
  444. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_cli_select.py +0 -0
  445. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_cli_validate.py +0 -0
  446. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_coverage_config.py +0 -0
  447. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_diagnostics.py +0 -0
  448. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_docs_hooks.py +0 -0
  449. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_engine_contract.py +0 -0
  450. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_fs_table.py +0 -0
  451. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_fs_write.py +0 -0
  452. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_platform.py +0 -0
  453. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_portable.py +0 -0
  454. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/test_version.py +0 -0
  455. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/testing/__init__.py +0 -0
  456. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/testing/test_reference.py +0 -0
  457. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/validate/__init__.py +0 -0
  458. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/validate/test_sql_check.py +0 -0
  459. {pipeloom-0.3.0 → pipeloom-0.4.0}/tests/validate/test_validate.py +0 -0
@@ -6,6 +6,33 @@ All notable changes to this project are documented here. The format follows
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.4.0] - 2026-11-05
10
+
11
+ 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).
12
+
13
+ ### Added
14
+
15
+ - `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.
16
+ - `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.
17
+ - `EngineContract` gains the intermediate tests (write then read, repeated token, one folder per run id).
18
+ - 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.
19
+ - `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).
20
+ - 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.
21
+ - PLC507 also fires when the catalog declares no views (`CatalogCapabilities(views=False)`).
22
+ - `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).
23
+ - 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`.
24
+ - `tools/versions.py` accepts a root extra that pins a distribution with an extra, as in `pipeloom-spark[local]==X.Y.Z`.
25
+ - 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.
26
+ - 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.
27
+ - `EngineContract`: `test_metrics` and `test_two_threads_materialize_at_once` skip for an engine without the `overwrite` strategy.
28
+ - 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.
29
+ - `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.
30
+ - 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.
31
+
32
+ ### Fixed
33
+
34
+ - 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.
35
+
9
36
  ## [0.3.0] - 2026-11-04
10
37
 
11
38
  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 +176,8 @@ once used it.
149
176
  - CI, release and docs workflows.
150
177
  - Apache-2.0 license, contributing guide, code of conduct, security policy and governance.
151
178
 
152
- [Unreleased]: https://github.com/emanuel-luis/pipeloom/compare/v0.3.0...HEAD
179
+ [Unreleased]: https://github.com/emanuel-luis/pipeloom/compare/v0.4.0...HEAD
180
+ [0.4.0]: https://github.com/emanuel-luis/pipeloom/compare/v0.3.0...v0.4.0
153
181
  [0.3.0]: https://github.com/emanuel-luis/pipeloom/compare/v0.2.0...v0.3.0
154
182
  [0.2.0]: https://github.com/emanuel-luis/pipeloom/compare/v0.1.0...v0.2.0
155
183
  [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.4.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/
@@ -26,9 +26,11 @@ Requires-Dist: pydantic>=2.12
26
26
  Requires-Dist: pyyaml>=6.0.2
27
27
  Requires-Dist: rich>=13.7
28
28
  Provides-Extra: pandas
29
- Requires-Dist: pipeloom-pandas==0.3.0; extra == 'pandas'
29
+ Requires-Dist: pipeloom-pandas==0.4.0; extra == 'pandas'
30
30
  Provides-Extra: polars
31
- Requires-Dist: pipeloom-polars==0.3.0; extra == 'polars'
31
+ Requires-Dist: pipeloom-polars==0.4.0; extra == 'polars'
32
+ Provides-Extra: spark
33
+ Requires-Dist: pipeloom-spark[local]==0.4.0; extra == 'spark'
32
34
  Provides-Extra: sqlglot
33
35
  Requires-Dist: sqlglot>=26; extra == 'sqlglot'
34
36
  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.4.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,9 @@ 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.4.0"]
36
+ pandas = ["pipeloom-pandas==0.4.0"]
37
+ spark = ["pipeloom-spark[local]==0.4.0"]
37
38
  sqlglot = ["sqlglot>=26"]
38
39
 
39
40
  [project.urls]
@@ -61,6 +62,7 @@ dev = [
61
62
  "pyarrow>=26.0.1",
62
63
  "sqlglot>=26",
63
64
  ]
65
+ spark = ["pipeloom-spark[local]"]
64
66
  docs = ["mkdocs-material", "mkdocstrings[python]", "mkdocs-click", "mike"]
65
67
 
66
68
  [tool.uv.workspace]
@@ -69,6 +71,7 @@ members = ["plugins/*"]
69
71
  [tool.uv.sources]
70
72
  pipeloom-polars = { workspace = true }
71
73
  pipeloom-pandas = { workspace = true }
74
+ pipeloom-spark = { workspace = true }
72
75
 
73
76
  [tool.hatch.build.targets.wheel]
74
77
  packages = ["src/pipeloom"]
@@ -79,7 +82,13 @@ only-include = ["src", "tests", "CHANGELOG.md"]
79
82
  [tool.ruff]
80
83
  extend-exclude = ["docs"]
81
84
  line-length = 100
82
- src = ["src", "tests", "plugins/pipeloom-polars/src", "plugins/pipeloom-pandas/src"]
85
+ src = [
86
+ "src",
87
+ "tests",
88
+ "plugins/pipeloom-polars/src",
89
+ "plugins/pipeloom-pandas/src",
90
+ "plugins/pipeloom-spark/src",
91
+ ]
83
92
 
84
93
  [tool.ruff.lint]
85
94
  extend-select = ["BLE", "I", "UP", "B"]
@@ -93,17 +102,24 @@ files = [
93
102
  "plugins/pipeloom-polars/tests",
94
103
  "plugins/pipeloom-pandas/src",
95
104
  "plugins/pipeloom-pandas/tests",
105
+ "plugins/pipeloom-spark/src",
106
+ "plugins/pipeloom-spark/tests",
96
107
  ]
97
108
 
98
109
  [[tool.mypy.overrides]]
99
- module = ["pandas", "pandas.*", "pyarrow", "pyarrow.*"]
110
+ # pyspark is not installed by the default environment (only by the `spark` group).
111
+ module = ["pandas", "pandas.*", "pyarrow", "pyarrow.*", "pyspark", "pyspark.*", "delta", "delta.*", "py4j", "py4j.*"]
100
112
  ignore_missing_imports = true
101
113
 
102
114
  [tool.pytest.ini_options]
103
115
  addopts = "-ra --strict-markers --strict-config --import-mode=importlib"
104
116
  timeout = 60
105
- testpaths = ["tests", "plugins/pipeloom-polars/tests", "plugins/pipeloom-pandas/tests"]
117
+ testpaths = ["tests", "plugins/pipeloom-polars/tests", "plugins/pipeloom-pandas/tests", "plugins/pipeloom-spark/tests"]
106
118
  pythonpath = ["."]
119
+ markers = [
120
+ "spark: needs local Spark (PIPELOOM_TEST_SPARK=classic, Linux or macOS, Java)",
121
+ "spark_connect: needs a local Spark Connect server (PIPELOOM_TEST_SPARK=connect)",
122
+ ]
107
123
 
108
124
  [tool.coverage.run]
109
125
  # Directories, never package names: for a package name coverage imports it inside
@@ -113,6 +129,7 @@ source = [
113
129
  "src/pipeloom",
114
130
  "plugins/pipeloom-polars/src/pipeloom_polars",
115
131
  "plugins/pipeloom-pandas/src/pipeloom_pandas",
132
+ "plugins/pipeloom-spark/src/pipeloom_spark",
116
133
  ]
117
134
 
118
135
  [tool.importlinter]
@@ -173,7 +190,7 @@ forbidden_modules = ["pipeloom.testing"]
173
190
  name = "No dataframe or SQL parsing library in the core"
174
191
  type = "forbidden"
175
192
  source_modules = ["pipeloom"]
176
- forbidden_modules = ["polars", "pandas", "pyarrow", "sqlglot"]
193
+ forbidden_modules = ["polars", "pandas", "pyarrow", "sqlglot", "pyspark", "delta", "py4j"]
177
194
  ignore_imports = ["pipeloom.validate.static -> sqlglot"]
178
195
 
179
196
  [[tool.importlinter.contracts]]
@@ -0,0 +1,194 @@
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
+
24
+
25
+ @dataclass(frozen=True)
26
+ class Finalized:
27
+ run_results: dict[str, Any]
28
+ written: tuple[Path, ...]
29
+ """The run's `run_results.json` and the copies under the artifacts root."""
30
+
31
+
32
+ def latest_attempts(paths: RunPaths) -> dict[str, dict[str, Any]]:
33
+ """The newest attempt file of every unit in the run folder."""
34
+ out: dict[str, dict[str, Any]] = {}
35
+ if not paths.units_dir.is_dir():
36
+ return out
37
+ for folder in sorted(paths.units_dir.iterdir(), key=lambda p: p.name):
38
+ numbers = paths.attempt_numbers(folder.name)
39
+ if numbers:
40
+ raw = paths.attempt(folder.name, numbers[-1]).read_bytes().decode("utf-8")
41
+ out[folder.name] = json.loads(raw)
42
+ return out
43
+
44
+
45
+ _HOUR = 3600.0
46
+
47
+
48
+ def _newest_mtime(folder: Path) -> datetime:
49
+ """The newest modification time of a folder and everything under it."""
50
+ newest = folder.stat().st_mtime
51
+ for dirpath, dirnames, filenames in os.walk(folder):
52
+ for name in (*dirnames, *filenames):
53
+ try:
54
+ newest = max(newest, os.stat(os.path.join(dirpath, name)).st_mtime)
55
+ except OSError:
56
+ continue # removed while we looked
57
+ return datetime.fromtimestamp(newest, UTC)
58
+
59
+
60
+ def _recorded(run_dir: Path) -> tuple[datetime | None, float | None]:
61
+ """`ended_at` and `intermediate_ttl` of the run's `run_results.json`, None where absent."""
62
+ try:
63
+ run = json.loads((run_dir / "run_results.json").read_bytes().decode("utf-8"))["run"]
64
+ parsed = datetime.fromisoformat(run["ended_at"])
65
+ ttl = run.get("intermediate_ttl")
66
+ return (
67
+ parsed if parsed.tzinfo is not None else None,
68
+ float(ttl) if isinstance(ttl, int | float) else None,
69
+ )
70
+ except (OSError, ValueError, KeyError, TypeError):
71
+ return None, None
72
+
73
+
74
+ def _resumed(run_dir: Path) -> bool:
75
+ """The manifest is newer than the results: a later invocation of the run is in progress."""
76
+ try:
77
+ return (run_dir / "manifest.json").stat().st_mtime > (
78
+ run_dir / "run_results.json"
79
+ ).stat().st_mtime
80
+ except OSError:
81
+ return False
82
+
83
+
84
+ def cleanup_intermediates(
85
+ root: Path, *, now: datetime, ttl: float, run_id: str, status: RunStatusName
86
+ ) -> list[str]:
87
+ """Delete the `runs/<id>/intermediate/` folders that nobody needs any more.
88
+
89
+ The current run's folder goes only when `ttl` is 0 and the run succeeded. Another run is
90
+ judged by the TTL it recorded in its own `run_results.json` (a TTL of 0 there counts as one
91
+ hour, since only a failed run is left with data; `ttl` stands in when none is recorded),
92
+ against its last activity: the newest of its `ended_at` and the newest modification time
93
+ under its run folder (the manifest is rewritten at each start, events grow during a run).
94
+ A run without `run_results.json`, or whose manifest is newer than its results (resumed, so
95
+ its recorded `ended_at` is stale), is still running or crashed: it keeps its folder until
96
+ it has been idle for `max(ttl, 1h)`. A missing folder
97
+ is fine. Returns one warning per folder that could not be deleted; a deletion error never
98
+ fails the run.
99
+ """
100
+ runs = root / "runs"
101
+ if not runs.is_dir():
102
+ return []
103
+ warnings: list[str] = []
104
+ for run_dir in sorted(runs.iterdir(), key=lambda p: p.name):
105
+ folder = run_dir / "intermediate"
106
+ if not folder.is_dir():
107
+ continue
108
+ try:
109
+ if run_dir.name == run_id:
110
+ expired = ttl == 0 and status == "succeeded"
111
+ else:
112
+ ended, own = _recorded(run_dir)
113
+ active = _newest_mtime(run_dir) # manifest, events and attempts count too
114
+ if ended is None or _resumed(run_dir):
115
+ limit = max(ttl, _HOUR)
116
+ else:
117
+ active = max(active, ended)
118
+ limit = ttl if own is None else own
119
+ limit = limit if limit > 0 else _HOUR
120
+ expired = (now - active).total_seconds() > limit
121
+ if expired:
122
+ shutil.rmtree(folder)
123
+ except OSError as exc:
124
+ warnings.append(f"intermediate_cleanup_failed: {run_dir.name}: {exc}")
125
+ return warnings
126
+
127
+
128
+ def finalize(
129
+ paths: RunPaths,
130
+ header: RunHeader,
131
+ *,
132
+ unit_nodes: Mapping[str, str],
133
+ skipped: Mapping[str, tuple[str, str | None]],
134
+ cancelled: Collection[str],
135
+ unfinished: Collection[str] = (),
136
+ crashed: Mapping[str, dict[str, Any]] | None = None,
137
+ timed_out: Mapping[str, tuple[int, dict[str, Any]]] | None = None,
138
+ intermediate_ttl: float | None = None,
139
+ ) -> Finalized:
140
+ """Write `run_results.json` into the run folder and copy it, with the manifest, to the root.
141
+
142
+ `unit_nodes` maps unit id to the unique id of its persisted model. A skipped or cancelled
143
+ verdict of this invocation wins over an attempt file; every other unit uses its newest
144
+ attempt, including units of earlier invocations that reused the run id. A scheduler
145
+ `timed_out` verdict (attempt number and error) also wins over a result written later;
146
+ the late status goes to `warnings` as `late_result: <status>`. `unfinished` units
147
+ (an internal error stopped the run) are reported as cancelled. `crashed` rows replace the
148
+ attempt of a unit whose runner failed before it could write one. With `intermediate_ttl`
149
+ the run also deletes expired intermediates; failures go to the run's `warnings`.
150
+ """
151
+ rows = latest_attempts(paths)
152
+ for unit_id, (reason, _upstream) in skipped.items():
153
+ rows[unit_id] = result_row(
154
+ unique_id=unit_nodes[unit_id], unit_id=unit_id, status="skipped", skip_reason=reason
155
+ )
156
+ for unit_id in (*cancelled, *unfinished):
157
+ rows[unit_id] = result_row(
158
+ unique_id=unit_nodes[unit_id], unit_id=unit_id, status="cancelled"
159
+ )
160
+ for unit_id, (attempt, error) in (timed_out or {}).items():
161
+ late = rows.get(unit_id)
162
+ if late is not None and late["status"] == "timed_out":
163
+ continue # the owner already recorded it
164
+ warnings = [] if late is None else [f"late_result: {late['status']}"]
165
+ rows[unit_id] = result_row(
166
+ unique_id=unit_nodes[unit_id],
167
+ unit_id=unit_id,
168
+ status="timed_out",
169
+ attempt=attempt,
170
+ error=error,
171
+ warnings=warnings,
172
+ )
173
+ rows.update(crashed or {})
174
+ cleanup_warnings: list[str] = []
175
+ if intermediate_ttl is not None:
176
+ status = status_of(list(rows.values()))
177
+ cleanup_warnings = cleanup_intermediates(
178
+ paths.root,
179
+ now=datetime.fromisoformat(header.ended_at),
180
+ ttl=intermediate_ttl,
181
+ run_id=header.run_id,
182
+ status=status,
183
+ )
184
+ results = build_run_results(header, list(rows.values()), cleanup_warnings, intermediate_ttl)
185
+ write_json_atomic(paths.run_results, results)
186
+ written = [paths.run_results]
187
+ if paths.manifest.is_file():
188
+ for src in (paths.manifest, paths.run_results):
189
+ dest = paths.root / src.name
190
+ tmp = dest.with_name(f"{dest.name}.copy.tmp")
191
+ shutil.copyfile(src, tmp)
192
+ tmp.replace(dest)
193
+ written.append(dest)
194
+ return Finalized(results, tuple(written))
@@ -144,7 +144,12 @@ class RunHeader:
144
144
  git_sha: str | None
145
145
 
146
146
 
147
- def build_run_results(header: RunHeader, rows: Sequence[dict[str, Any]]) -> dict[str, Any]:
147
+ def build_run_results(
148
+ header: RunHeader,
149
+ rows: Sequence[dict[str, Any]],
150
+ warnings: Sequence[str] = (),
151
+ intermediate_ttl: float | None = None,
152
+ ) -> dict[str, Any]:
148
153
  ordered = sorted(rows, key=lambda r: str(r["unit_id"]))
149
154
  status = status_of(ordered)
150
155
  h = header
@@ -178,6 +183,8 @@ def build_run_results(header: RunHeader, rows: Sequence[dict[str, Any]]) -> dict
178
183
  "python_version": h.python_version,
179
184
  "git_sha": h.git_sha,
180
185
  "exit_code": exit_code_of(status),
186
+ "intermediate_ttl": intermediate_ttl,
187
+ "warnings": list(warnings),
181
188
  },
182
189
  "results": ordered,
183
190
  }
@@ -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
  )
@@ -4,6 +4,7 @@ from __future__ import annotations
4
4
 
5
5
  import os
6
6
  import re
7
+ from datetime import datetime
7
8
  from pathlib import Path
8
9
  from typing import Any, Literal, cast
9
10
 
@@ -60,6 +61,24 @@ def _run_id(ctx: click.Context, param: click.Parameter, value: str | None) -> st
60
61
  return value
61
62
 
62
63
 
64
+ def _started_at(ctx: click.Context, param: click.Parameter, value: str | None) -> datetime | None:
65
+ if not value:
66
+ return None
67
+ try:
68
+ parsed = datetime.fromisoformat(value)
69
+ except ValueError as err:
70
+ raise click.BadParameter(
71
+ f"'{value}' is not an ISO 8601 timestamp", ctx=ctx, param=param
72
+ ) from err
73
+ if parsed.tzinfo is None or parsed.utcoffset() is None:
74
+ raise click.BadParameter(
75
+ f"'{value}' has no UTC offset; write it as 2026-11-04T09:30:00Z or with +HH:MM",
76
+ ctx=ctx,
77
+ param=param,
78
+ )
79
+ return parsed
80
+
81
+
63
82
  @click.command()
64
83
  @project_options
65
84
  @target_option
@@ -94,6 +113,16 @@ def _run_id(ctx: click.Context, param: click.Parameter, value: str | None) -> st
94
113
  show_default=True,
95
114
  help="Rebuild append tables from scratch. Takes an optional true or false.",
96
115
  )
116
+ @click.option(
117
+ "--run-started-at",
118
+ envvar="PIPELOOM_RUN_STARTED_AT",
119
+ callback=_started_at,
120
+ default=None,
121
+ metavar="ISO8601",
122
+ help="Start time of the run, with a UTC offset (for example the start of the orchestrator "
123
+ "job). Engines use it to make writes idempotent. Needs --run-id. A reused run id keeps "
124
+ "the start it recorded.",
125
+ )
97
126
  @click.option("--fail-fast", is_flag=True, help="After the first failure, start no more units.")
98
127
  @click.option("--no-lock", is_flag=True, help="Do not take the run lock.")
99
128
  @click.option(
@@ -130,6 +159,7 @@ def run(
130
159
  manifest: Path | None,
131
160
  expect_plan_hash: str | None,
132
161
  run_id: str | None,
162
+ run_started_at: datetime | None,
133
163
  full_refresh: bool,
134
164
  fail_fast: bool,
135
165
  no_lock: bool,
@@ -146,6 +176,8 @@ def run(
146
176
  `-s unit:NAME` runs one unit without a lock or run results, and never retries it; the
147
177
  process executor uses it.
148
178
  """
179
+ if run_started_at is not None and run_id is None:
180
+ raise click.UsageError("--run-started-at needs --run-id")
149
181
  chosen = cast("Literal['process', 'task'] | None", boundary)
150
182
  if manifest is not None and chosen is not None:
151
183
  plan = read_manifest(manifest, Report())
@@ -190,6 +222,7 @@ def run(
190
222
  manifest=manifest,
191
223
  expect_plan_hash=expect_plan_hash,
192
224
  run_id=run_id,
225
+ run_started_at=run_started_at,
193
226
  full_refresh=full_refresh,
194
227
  fail_fast=fail_fast,
195
228
  lock=not no_lock,
@@ -64,6 +64,9 @@ class SinkBlock(PluginBlock):
64
64
  class ArtifactsConfig(_Model):
65
65
  root: str | None = None
66
66
  """Directory or volume path where artifacts are written."""
67
+ intermediate_ttl: Duration = 86400
68
+ """How long the persisted results of `intermediate` models are kept after their run ended.
69
+ 0 deletes them when a run succeeds. Default 1d."""
67
70
 
68
71
 
69
72
  class RuntimeSettings(_Model):
@@ -358,7 +358,7 @@ _ACTIVE_02: Final = (
358
358
  "PLC509",
359
359
  E,
360
360
  "Materialization unsupported by engine",
361
- "The materialization is not in the selected engine's capabilities. No engine offers intermediate yet.",
361
+ "The materialization is not in the selected engine's capabilities.",
362
362
  ),
363
363
  (
364
364
  "PLP409",
@@ -478,6 +478,12 @@ _ACTIVE_03: Final = (
478
478
  "Quarantine relation collides with a model",
479
479
  "A model's quarantine table is named <model>__quarantine, and another model already has that name in the same schema.",
480
480
  ),
481
+ (
482
+ "PLP413",
483
+ E,
484
+ "Intermediate model with a write option",
485
+ "An intermediate model is rewritten whole at a location of its own. It cannot be incremental, use a strategy other than overwrite, or set partition_by.",
486
+ ),
481
487
  (
482
488
  "PLC510",
483
489
  E,
@@ -487,6 +493,23 @@ _ACTIVE_03: Final = (
487
493
  )
488
494
 
489
495
 
496
+ # Active since 0.4.
497
+ _ACTIVE_04: Final = (
498
+ (
499
+ "PLX108",
500
+ E,
501
+ "Run start time conflict",
502
+ "--run-started-at differs from the start the run recorded when it first ran. A reused run id keeps its recorded start. Exit code 2.",
503
+ ),
504
+ (
505
+ "PLM207",
506
+ E,
507
+ "Write refused by the idempotency guard",
508
+ "The engine skipped the write because this model already has a later transaction version: a newer run, an overlapping run started with --no-lock, or a host clock that ran behind. The engine refuses before it changes any data. Wait for the other run, check the clocks, or turn the guard off in the engine options.",
509
+ ),
510
+ )
511
+
512
+
490
513
  # Reserved: in the catalog, not emitted yet. (code, severity, title, since)
491
514
  _RESERVED: Final = (
492
515
  ("PLF701", E, "Engine unreachable", "0.2"),
@@ -500,7 +523,12 @@ _RESERVED: Final = (
500
523
 
501
524
  def _build() -> Mapping[str, CodeInfo]:
502
525
  out: dict[str, CodeInfo] = {}
503
- for since, table in (("0.1", _ACTIVE), ("0.2", _ACTIVE_02), ("0.3", _ACTIVE_03)):
526
+ for since, table in (
527
+ ("0.1", _ACTIVE),
528
+ ("0.2", _ACTIVE_02),
529
+ ("0.3", _ACTIVE_03),
530
+ ("0.4", _ACTIVE_04),
531
+ ):
504
532
  for code, sev, title, expl in table:
505
533
  out[code] = CodeInfo(code, _PREFIX_LAYER[code[:3]], sev, title, expl, "active", since)
506
534
  for code, sev, title, since in _RESERVED:
@@ -11,6 +11,12 @@ class CommitConflict(TransientError):
11
11
  """A table changed between the read and the commit (expected-version mismatch)."""
12
12
 
13
13
 
14
+ class WriteRefusedError(RuntimeError):
15
+ """The engine's idempotency guard refused a write that no earlier attempt applied: a later
16
+ transaction version of the same writer already exists (a newer run, an overlapping run, or
17
+ clock skew). An engine raises it before it changes any data. The core reports it as PLM207."""
18
+
19
+
14
20
  class WriteKeyError(ValueError):
15
21
  """A write key is unusable: a `unique_key` or `partition_by` column is missing, or a merge
16
22
  batch repeats a key. The core reports it as PLM206."""
@@ -10,6 +10,7 @@ from pipeloom.engine.types import (
10
10
  DropResult,
11
11
  EngineCapabilities,
12
12
  ExpectationSpec,
13
+ IntermediateRef,
13
14
  Namespace,
14
15
  QualityCounts,
15
16
  QuarantineMeta,
@@ -79,6 +80,11 @@ class EngineSession(Protocol):
79
80
  """Create or replace a catalog view over `inputs`, which `query` names by alias."""
80
81
  ...
81
82
 
83
+ def write_intermediate(self, rel: Relation, ref: IntermediateRef, token: str) -> WriteResult:
84
+ """Persist `rel` at `ref.location`, overwriting; repeating `token` must not write twice.
85
+ Needs the `intermediate` materialization."""
86
+ ...
87
+
82
88
  def max_value(self, rel: Relation, column: str) -> Any:
83
89
  """The maximum as a plain Python value (never numpy or pandas); None when empty."""
84
90
  ...
@@ -55,6 +55,26 @@ class StateStoreCapabilities:
55
55
  """Visible to every process and task of a run."""
56
56
 
57
57
 
58
+ @dataclass(frozen=True)
59
+ class CatalogCapabilities:
60
+ """What a catalog can do. Static data: L5 reads it without importing the catalog."""
61
+
62
+ views: bool = True
63
+ """The catalog can hold views (PLC507 otherwise)."""
64
+
65
+
66
+ @dataclass(frozen=True)
67
+ class IntermediateRef:
68
+ """Where a run keeps the persisted result of an `intermediate` model."""
69
+
70
+ run_id: str
71
+ model: str
72
+ location: str
73
+ """Absolute POSIX path or URI. `ReadSpec(format="intermediate", location=...)` reads it."""
74
+ run_started_at: datetime | None = None
75
+ """The run's start (UTC), for an engine that needs a stable write version."""
76
+
77
+
58
78
  @dataclass(frozen=True)
59
79
  class Namespace:
60
80
  catalog: str | None
@@ -109,6 +129,10 @@ class WriteConfig:
109
129
  options: Mapping[str, JsonValue] = field(default_factory=dict)
110
130
  commit_meta: Mapping[str, JsonValue] = field(default_factory=dict)
111
131
  """Stored with the idempotency token and echoed when the token is replayed."""
132
+ run_started_at: datetime | None = None
133
+ """The run's start (UTC), filled by the runner. An engine that needs a stable write version
134
+ (a Delta `txnVersion`) reads it here, never from the session context: the session opens
135
+ before the start time is resolved."""
112
136
 
113
137
 
114
138
  @dataclass(frozen=True)
@@ -20,9 +20,9 @@ from typing import Any, Final, Generic, Literal, TypeVar, get_args
20
20
  from pydantic import BaseModel, ConfigDict
21
21
 
22
22
  from pipeloom.diagnostics import Location, Report
23
- from pipeloom.engine.types import EngineCapabilities, StateStoreCapabilities
23
+ from pipeloom.engine.types import CatalogCapabilities, EngineCapabilities, StateStoreCapabilities
24
24
 
25
- API_VERSION: Final = (0, 3)
25
+ API_VERSION: Final = (0, 4)
26
26
 
27
27
  Group = Literal[
28
28
  "engines",
@@ -71,7 +71,7 @@ class PluginSpec(Generic[T]):
71
71
  """The plugin's options, without `kind`."""
72
72
  compatible_engines: frozenset[str] = frozenset()
73
73
  """Engine kinds a catalog works with; empty means any."""
74
- capabilities: EngineCapabilities | StateStoreCapabilities | None = None
74
+ capabilities: EngineCapabilities | StateStoreCapabilities | CatalogCapabilities | None = None
75
75
  """Static data for L5, readable without building the plugin."""
76
76
  description: str = ""
77
77
 
@@ -26,6 +26,11 @@ class RuntimeContext:
26
26
  vars: Mapping[str, Any]
27
27
  full_refresh: bool = False
28
28
  orchestrator: Mapping[str, str] = field(default_factory=dict)
29
+ run_started_at: datetime | None = None
30
+ """Timezone-aware UTC; the same value in every invocation of a run, None only in a unit
31
+ invocation that cannot find the run record."""
32
+ artifacts_root: str = "target"
33
+ """Absolute POSIX path or URI of the artifacts folder."""
29
34
 
30
35
 
31
36
  @dataclass(frozen=True, slots=True)
@@ -24,7 +24,9 @@ _NOT_TRANSIENT_OS: Final = (
24
24
  NotADirectoryError,
25
25
  FileExistsError,
26
26
  )
27
- PERMANENT_CODES: Final = frozenset({"PLQ301", "PLQ302", "PLM202", "PLM203", "PLM205", "PLM206"})
27
+ PERMANENT_CODES: Final = frozenset(
28
+ {"PLQ301", "PLQ302", "PLM202", "PLM203", "PLM205", "PLM206", "PLM207"}
29
+ )
28
30
  """Failures that repeat on the same data; only `retry_on: any` retries them."""
29
31
 
30
32