ferro-orm 0.26.1__tar.gz → 0.28.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 (1091) hide show
  1. ferro_orm-0.28.0/.github/workflows/ci.yml +404 -0
  2. ferro_orm-0.28.0/.github/workflows/release.yml +394 -0
  3. ferro_orm-0.28.0/AGENTS.md +1072 -0
  4. ferro_orm-0.28.0/CHANGELOG.md +1921 -0
  5. ferro_orm-0.28.0/CONTRIBUTING.md +383 -0
  6. ferro_orm-0.28.0/Cargo.lock +2339 -0
  7. ferro_orm-0.28.0/Cargo.toml +58 -0
  8. ferro_orm-0.28.0/GLOSSARY.md +500 -0
  9. ferro_orm-0.28.0/PKG-INFO +95 -0
  10. ferro_orm-0.28.0/crates/ferro-ddl-lowering/src/lib.rs +9021 -0
  11. ferro_orm-0.28.0/crates/ferro-ddl-lowering/src/value_expr.rs +1811 -0
  12. ferro_orm-0.28.0/crates/ferro-migrate/src/directory.rs +2487 -0
  13. ferro_orm-0.28.0/crates/ferro-migrate/src/emit.rs +1014 -0
  14. ferro_orm-0.28.0/crates/ferro-migrate/src/generate/backfill.rs +1395 -0
  15. ferro_orm-0.28.0/crates/ferro-migrate/src/generate/columns.rs +934 -0
  16. ferro_orm-0.28.0/crates/ferro-migrate/src/generate/compose.rs +1607 -0
  17. ferro_orm-0.28.0/crates/ferro-migrate/src/generate/downs.rs +514 -0
  18. ferro_orm-0.28.0/crates/ferro-migrate/src/generate/mod.rs +4854 -0
  19. ferro_orm-0.28.0/crates/ferro-migrate/src/generate/rebuild.rs +1152 -0
  20. ferro_orm-0.28.0/crates/ferro-migrate/src/generate/renames.rs +90 -0
  21. ferro_orm-0.28.0/crates/ferro-migrate/src/generate/stages.rs +372 -0
  22. ferro_orm-0.28.0/crates/ferro-migrate/src/generate/staging.rs +405 -0
  23. ferro_orm-0.28.0/crates/ferro-migrate/src/lib.rs +858 -0
  24. ferro_orm-0.28.0/crates/ferro-migrate/src/plan.rs +6636 -0
  25. ferro_orm-0.28.0/crates/ferro-migrate/src/render.rs +950 -0
  26. ferro_orm-0.28.0/crates/ferro-migrate/src/revision.rs +766 -0
  27. ferro_orm-0.28.0/crates/ferro-migrate/src/revision_tests.rs +772 -0
  28. ferro_orm-0.28.0/crates/ferro-migrate/src/run_plan/step_class.rs +1590 -0
  29. ferro_orm-0.28.0/crates/ferro-migrate/src/run_plan.rs +6821 -0
  30. ferro_orm-0.28.0/crates/ferro-migrate/src/snapshot.rs +767 -0
  31. ferro_orm-0.28.0/crates/ferro-migrate/src/tests.rs +8579 -0
  32. ferro_orm-0.28.0/crates/ferro-schema-ir/src/lib.rs +2173 -0
  33. ferro_orm-0.28.0/docs/adr/0002-unified-column-fact-derivation.md +85 -0
  34. ferro_orm-0.28.0/docs/adr/0003-path-blind-db-type-validation.md +49 -0
  35. ferro_orm-0.28.0/docs/adr/0007-materialization-plan-complete-instances.md +55 -0
  36. ferro_orm-0.28.0/docs/adr/0008-populated-relations-include.md +76 -0
  37. ferro_orm-0.28.0/docs/adr/0015-table-check-body-drift.md +16 -0
  38. ferro_orm-0.28.0/docs/adr/0016-check-predicates-literals-only.md +13 -0
  39. ferro_orm-0.28.0/docs/adr/0023-schema-snapshots-outlive-ir-versions.md +16 -0
  40. ferro_orm-0.28.0/docs/adr/0032-renames-are-declared-on-the-model-and-recorded-in-the-snapshot.md +42 -0
  41. ferro_orm-0.28.0/docs/adr/0053-a-column-is-retired-one-release-before-it-is-dropped.md +37 -0
  42. ferro_orm-0.28.0/docs/adr/0058-a-generated-columns-value-comes-only-from-the-database.md +28 -0
  43. ferro_orm-0.28.0/docs/adr/0059-value-expressions-are-lambdas-over-a-closed-function-table-under-value-parity.md +20 -0
  44. ferro_orm-0.28.0/docs/adr/0060-postgres-prints-both-sides-of-a-sql-body-ferro-compares.md +21 -0
  45. ferro_orm-0.28.0/docs/adr/0061-a-fields-database-options-live-in-its-metadata.md +34 -0
  46. ferro_orm-0.28.0/docs/adr/0062-a-relations-name-never-reaches-the-schema.md +41 -0
  47. ferro_orm-0.28.0/docs/adr/0063-an-instance-is-complete-or-unloaded.md +39 -0
  48. ferro_orm-0.28.0/docs/adr/0064-a-refusals-fix-is-a-list-of-edits.md +41 -0
  49. ferro_orm-0.28.0/docs/agents/domain.md +51 -0
  50. ferro_orm-0.28.0/docs/examples/_ledger_seed.py +109 -0
  51. ferro_orm-0.28.0/docs/examples/_preludes/connections.py +37 -0
  52. ferro_orm-0.28.0/docs/examples/_preludes/reference.py +51 -0
  53. ferro_orm-0.28.0/docs/examples/_preludes/upgrade.py +68 -0
  54. ferro_orm-0.28.0/docs/examples/aggregations.py +330 -0
  55. ferro_orm-0.28.0/docs/examples/aggregations_annotated.py +331 -0
  56. ferro_orm-0.28.0/docs/examples/faq.py +53 -0
  57. ferro_orm-0.28.0/docs/examples/faq_annotated.py +54 -0
  58. ferro_orm-0.28.0/docs/examples/from_sqlalchemy.py +108 -0
  59. ferro_orm-0.28.0/docs/examples/from_sqlalchemy_annotated.py +109 -0
  60. ferro_orm-0.28.0/docs/examples/generated_columns.py +144 -0
  61. ferro_orm-0.28.0/docs/examples/generated_columns_annotated.py +146 -0
  62. ferro_orm-0.28.0/docs/examples/inspecting_sql.py +112 -0
  63. ferro_orm-0.28.0/docs/examples/inspecting_sql_annotated.py +113 -0
  64. ferro_orm-0.28.0/docs/examples/loaded_relations.py +183 -0
  65. ferro_orm-0.28.0/docs/examples/migrations_rename_join_table.py +78 -0
  66. ferro_orm-0.28.0/docs/examples/migrations_rename_join_table_annotated.py +79 -0
  67. ferro_orm-0.28.0/docs/examples/models_and_fields.py +282 -0
  68. ferro_orm-0.28.0/docs/examples/models_and_fields_annotated.py +285 -0
  69. ferro_orm-0.28.0/docs/examples/predicates.py +382 -0
  70. ferro_orm-0.28.0/docs/examples/predicates_annotated.py +383 -0
  71. ferro_orm-0.28.0/docs/examples/quickstart.py +135 -0
  72. ferro_orm-0.28.0/docs/examples/quickstart_annotated.py +136 -0
  73. ferro_orm-0.28.0/docs/examples/relationships.py +272 -0
  74. ferro_orm-0.28.0/docs/examples/relationships_annotated.py +274 -0
  75. ferro_orm-0.28.0/docs/examples/testing_models.py +49 -0
  76. ferro_orm-0.28.0/docs/examples/testing_models_annotated.py +50 -0
  77. ferro_orm-0.28.0/docs/examples/traversal.py +325 -0
  78. ferro_orm-0.28.0/docs/examples/upgrade_foreign_keys.py +117 -0
  79. ferro_orm-0.28.0/docs/examples/upgrade_foreign_keys_annotated.py +118 -0
  80. ferro_orm-0.28.0/docs/pages/api/exceptions.md +116 -0
  81. ferro_orm-0.28.0/docs/pages/api/fields.md +24 -0
  82. ferro_orm-0.28.0/docs/pages/api/queries.md +90 -0
  83. ferro_orm-0.28.0/docs/pages/api/relationships.md +17 -0
  84. ferro_orm-0.28.0/docs/pages/concepts/architecture.md +222 -0
  85. ferro_orm-0.28.0/docs/pages/concepts/identity-map.md +224 -0
  86. ferro_orm-0.28.0/docs/pages/concepts/performance.md +162 -0
  87. ferro_orm-0.28.0/docs/pages/concepts/query-typing.md +152 -0
  88. ferro_orm-0.28.0/docs/pages/concepts/row-level-security.md +139 -0
  89. ferro_orm-0.28.0/docs/pages/faq.md +152 -0
  90. ferro_orm-0.28.0/docs/pages/getting-started/installation.md +88 -0
  91. ferro_orm-0.28.0/docs/pages/getting-started/quickstart.md +153 -0
  92. ferro_orm-0.28.0/docs/pages/guide/connections.md +376 -0
  93. ferro_orm-0.28.0/docs/pages/guide/inspecting-sql.md +175 -0
  94. ferro_orm-0.28.0/docs/pages/guide/models-and-fields.md +614 -0
  95. ferro_orm-0.28.0/docs/pages/guide/mutations.md +772 -0
  96. ferro_orm-0.28.0/docs/pages/guide/queries.md +1856 -0
  97. ferro_orm-0.28.0/docs/pages/guide/raw-sql.md +173 -0
  98. ferro_orm-0.28.0/docs/pages/guide/relationships.md +686 -0
  99. ferro_orm-0.28.0/docs/pages/guide/schema/adopting-migrations.md +188 -0
  100. ferro_orm-0.28.0/docs/pages/guide/schema/alembic.md +182 -0
  101. ferro_orm-0.28.0/docs/pages/guide/schema/auto-migrate.md +242 -0
  102. ferro_orm-0.28.0/docs/pages/guide/schema/data-steps.md +347 -0
  103. ferro_orm-0.28.0/docs/pages/guide/schema/migrations.md +437 -0
  104. ferro_orm-0.28.0/docs/pages/guide/schema/overview.md +83 -0
  105. ferro_orm-0.28.0/docs/pages/guide/schema/renames-and-retirements.md +219 -0
  106. ferro_orm-0.28.0/docs/pages/guide/schema/testing.md +90 -0
  107. ferro_orm-0.28.0/docs/pages/howto/migrate-from-sqlalchemy.md +234 -0
  108. ferro_orm-0.28.0/docs/pages/howto/testing.md +170 -0
  109. ferro_orm-0.28.0/docs/pages/reference/migrations.md +161 -0
  110. ferro_orm-0.28.0/docs/pages/roadmap.md +117 -0
  111. ferro_orm-0.28.0/docs/pages/upgrading.md +1172 -0
  112. ferro_orm-0.28.0/docs/pages/why-ferro.md +90 -0
  113. ferro_orm-0.28.0/docs/solutions/issues/alembic-add-column-enum-type-undefined.md +91 -0
  114. ferro_orm-0.28.0/docs/solutions/issues/docs-block-declaring-a-model.md +58 -0
  115. ferro_orm-0.28.0/docs/solutions/issues/n-ary-check-chain-reads-as-drift.md +71 -0
  116. ferro_orm-0.28.0/docs/solutions/issues/nested-serialization-skips-model-dump.md +44 -0
  117. ferro_orm-0.28.0/docs/solutions/issues/pg18-restrict-sqlstate-23001.md +33 -0
  118. ferro_orm-0.28.0/docs/solutions/issues/python-3.14-deferred-annotation-typeerror-swallow.md +72 -0
  119. ferro_orm-0.28.0/docs/solutions/issues/reference-prelude-holds-its-rows.md +50 -0
  120. ferro_orm-0.28.0/docs/solutions/issues/sa-vs-rust-unique-constraint-shape.md +81 -0
  121. ferro_orm-0.28.0/docs/solutions/patterns/configurable-column-storage-types.md +193 -0
  122. ferro_orm-0.28.0/docs/solutions/patterns/cross-emitter-ddl-parity.md +168 -0
  123. ferro_orm-0.28.0/docs/solutions/patterns/derived-type-and-naming-decision-table.md +170 -0
  124. ferro_orm-0.28.0/docs/solutions/patterns/docs-page-conventions.md +361 -0
  125. ferro_orm-0.28.0/docs/solutions/patterns/foreign-key-columns.md +87 -0
  126. ferro_orm-0.28.0/docs/solutions/patterns/foreign-key-index.md +60 -0
  127. ferro_orm-0.28.0/docs/solutions/patterns/index-unique-redundancy.md +60 -0
  128. ferro_orm-0.28.0/docs/solutions/patterns/ir-invariants.md +184 -0
  129. ferro_orm-0.28.0/docs/solutions/patterns/one-planner-and-live-facts.md +69 -0
  130. ferro_orm-0.28.0/docs/solutions/patterns/printed-pairs-drift.md +96 -0
  131. ferro_orm-0.28.0/docs/solutions/patterns/refusal-fixes.md +91 -0
  132. ferro_orm-0.28.0/docs/solutions/patterns/typed-null-binds.md +223 -0
  133. ferro_orm-0.28.0/docs/solutions/patterns/wire-scalar-canonicalization.md +71 -0
  134. ferro_orm-0.28.0/pyproject.toml +158 -0
  135. ferro_orm-0.28.0/scripts/demo_queries.py +276 -0
  136. ferro_orm-0.28.0/scripts/demo_queries_pre_v012.py +251 -0
  137. ferro_orm-0.28.0/src/backend.rs +1943 -0
  138. ferro_orm-0.28.0/src/codec.rs +502 -0
  139. ferro_orm-0.28.0/src/codec_plan.rs +629 -0
  140. ferro_orm-0.28.0/src/connection.rs +928 -0
  141. ferro_orm-0.28.0/src/ddl_exec.rs +1365 -0
  142. ferro_orm-0.28.0/src/errors.rs +1523 -0
  143. ferro_orm-0.28.0/src/ferro/__init__.py +673 -0
  144. ferro_orm-0.28.0/src/ferro/_annotation_eval.py +33 -0
  145. ferro_orm-0.28.0/src/ferro/_annotation_utils.py +298 -0
  146. ferro_orm-0.28.0/src/ferro/_bind_payload.py +454 -0
  147. ferro_orm-0.28.0/src/ferro/_core.pyi +984 -0
  148. ferro_orm-0.28.0/src/ferro/_unloaded.py +108 -0
  149. ferro_orm-0.28.0/src/ferro/base.py +386 -0
  150. ferro_orm-0.28.0/src/ferro/checks.py +809 -0
  151. ferro_orm-0.28.0/src/ferro/columns.py +904 -0
  152. ferro_orm-0.28.0/src/ferro/exceptions.py +215 -0
  153. ferro_orm-0.28.0/src/ferro/fields.py +1210 -0
  154. ferro_orm-0.28.0/src/ferro/fn.py +188 -0
  155. ferro_orm-0.28.0/src/ferro/generated.py +376 -0
  156. ferro_orm-0.28.0/src/ferro/ir/compiler.py +756 -0
  157. ferro_orm-0.28.0/src/ferro/metaclass.py +889 -0
  158. ferro_orm-0.28.0/src/ferro/migrations/_drift.py +600 -0
  159. ferro_orm-0.28.0/src/ferro/migrations/alembic.py +873 -0
  160. ferro_orm-0.28.0/src/ferro/migrations/generate.py +1329 -0
  161. ferro_orm-0.28.0/src/ferro/migrations/translate.py +479 -0
  162. ferro_orm-0.28.0/src/ferro/models.py +1407 -0
  163. ferro_orm-0.28.0/src/ferro/pass_report.py +164 -0
  164. ferro_orm-0.28.0/src/ferro/query/builder.py +2286 -0
  165. ferro_orm-0.28.0/src/ferro/query/nodes.py +1810 -0
  166. ferro_orm-0.28.0/src/ferro/query/wire.py +1294 -0
  167. ferro_orm-0.28.0/src/ferro/raw.py +322 -0
  168. ferro_orm-0.28.0/src/ferro/registry.py +648 -0
  169. ferro_orm-0.28.0/src/ferro/relations/__init__.py +2165 -0
  170. ferro_orm-0.28.0/src/ferro/relations/descriptors.py +158 -0
  171. ferro_orm-0.28.0/src/ferro/relations/fixes.py +141 -0
  172. ferro_orm-0.28.0/src/ferro/settings.py +1038 -0
  173. ferro_orm-0.28.0/src/ferro/state.py +265 -0
  174. ferro_orm-0.28.0/src/hydration.rs +651 -0
  175. ferro_orm-0.28.0/src/introspect.rs +1973 -0
  176. ferro_orm-0.28.0/src/lib.rs +255 -0
  177. ferro_orm-0.28.0/src/live_ir.rs +857 -0
  178. ferro_orm-0.28.0/src/migrate.rs +1633 -0
  179. ferro_orm-0.28.0/src/migrations_ffi.rs +1755 -0
  180. ferro_orm-0.28.0/src/naming_ffi.rs +438 -0
  181. ferro_orm-0.28.0/src/operations.rs +8754 -0
  182. ferro_orm-0.28.0/src/query.rs +2749 -0
  183. ferro_orm-0.28.0/src/run.rs +4172 -0
  184. ferro_orm-0.28.0/src/schema.rs +998 -0
  185. ferro_orm-0.28.0/src/session_settings.rs +2275 -0
  186. ferro_orm-0.28.0/src/sql_log.rs +629 -0
  187. ferro_orm-0.28.0/src/state.rs +1428 -0
  188. ferro_orm-0.28.0/tests/_casebook.py +351 -0
  189. ferro_orm-0.28.0/tests/_docs_checks.py +629 -0
  190. ferro_orm-0.28.0/tests/_docs_harness.py +520 -0
  191. ferro_orm-0.28.0/tests/_pass_harness.py +90 -0
  192. ferro_orm-0.28.0/tests/_pg_sequence.py +36 -0
  193. ferro_orm-0.28.0/tests/conftest.py +408 -0
  194. ferro_orm-0.28.0/tests/fixtures/ferro_field_pre_conversion/CASCADE/0001_record/01_schema.down.postgres.sql +3 -0
  195. ferro_orm-0.28.0/tests/fixtures/ferro_field_pre_conversion/CASCADE/0001_record/01_schema.down.sqlite.sql +3 -0
  196. ferro_orm-0.28.0/tests/fixtures/ferro_field_pre_conversion/CASCADE/0001_record/01_schema.up.postgres.sql +7 -0
  197. ferro_orm-0.28.0/tests/fixtures/ferro_field_pre_conversion/CASCADE/0001_record/01_schema.up.sqlite.sql +7 -0
  198. ferro_orm-0.28.0/tests/fixtures/ferro_field_pre_conversion/CASCADE/0001_record/ir.json +108 -0
  199. ferro_orm-0.28.0/tests/fixtures/ferro_field_pre_conversion/SET_NULL/0001_record/01_schema.down.postgres.sql +3 -0
  200. ferro_orm-0.28.0/tests/fixtures/ferro_field_pre_conversion/SET_NULL/0001_record/01_schema.down.sqlite.sql +3 -0
  201. ferro_orm-0.28.0/tests/fixtures/ferro_field_pre_conversion/SET_NULL/0001_record/01_schema.up.postgres.sql +7 -0
  202. ferro_orm-0.28.0/tests/fixtures/ferro_field_pre_conversion/SET_NULL/0001_record/01_schema.up.sqlite.sql +7 -0
  203. ferro_orm-0.28.0/tests/fixtures/ferro_field_pre_conversion/SET_NULL/0001_record/ir.json +108 -0
  204. ferro_orm-0.28.0/tests/fixtures/ir_vectors/README.md +79 -0
  205. ferro_orm-0.28.0/tests/fixtures/ir_vectors/schema_check_fn_v4.json +70 -0
  206. ferro_orm-0.28.0/tests/fixtures/ir_vectors/schema_generated_column_v4.json +76 -0
  207. ferro_orm-0.28.0/tests/fixtures/many_to_many_pre_conversion/0001_tournaments/01_schema.down.postgres.sql +5 -0
  208. ferro_orm-0.28.0/tests/fixtures/many_to_many_pre_conversion/0001_tournaments/01_schema.down.sqlite.sql +5 -0
  209. ferro_orm-0.28.0/tests/fixtures/many_to_many_pre_conversion/0001_tournaments/01_schema.up.postgres.sql +9 -0
  210. ferro_orm-0.28.0/tests/fixtures/many_to_many_pre_conversion/0001_tournaments/01_schema.up.sqlite.sql +9 -0
  211. ferro_orm-0.28.0/tests/fixtures/many_to_many_pre_conversion/0001_tournaments/ir.json +116 -0
  212. ferro_orm-0.28.0/tests/fixtures/old_form_key_snapshots.json +326 -0
  213. ferro_orm-0.28.0/tests/fixtures/pre_explicit_fk_bigint_target.json +73 -0
  214. ferro_orm-0.28.0/tests/fixtures/pre_explicit_fk_snapshots.json +1656 -0
  215. ferro_orm-0.28.0/tests/static_fixtures/bad_constructor_keys.py +69 -0
  216. ferro_orm-0.28.0/tests/static_fixtures/bad_includes.py +37 -0
  217. ferro_orm-0.28.0/tests/static_fixtures/bad_predicates.py +47 -0
  218. ferro_orm-0.28.0/tests/static_fixtures/bad_projections.py +55 -0
  219. ferro_orm-0.28.0/tests/static_fixtures/bad_relation_assignment.py +26 -0
  220. ferro_orm-0.28.0/tests/static_fixtures/good_constructor_keys.py +61 -0
  221. ferro_orm-0.28.0/tests/static_fixtures/good_explicit_fk.py +36 -0
  222. ferro_orm-0.28.0/tests/static_fixtures/good_includes.py +48 -0
  223. ferro_orm-0.28.0/tests/static_fixtures/good_predicates.py +90 -0
  224. ferro_orm-0.28.0/tests/static_fixtures/good_projections.py +111 -0
  225. ferro_orm-0.28.0/tests/static_fixtures/good_relation_assignment.py +30 -0
  226. ferro_orm-0.28.0/tests/test_after_position.py +252 -0
  227. ferro_orm-0.28.0/tests/test_alembic_autogenerate.py +257 -0
  228. ferro_orm-0.28.0/tests/test_alembic_bridge.py +349 -0
  229. ferro_orm-0.28.0/tests/test_alembic_db_type.py +159 -0
  230. ferro_orm-0.28.0/tests/test_alembic_enum_type_drop.py +866 -0
  231. ferro_orm-0.28.0/tests/test_alembic_generated_columns.py +218 -0
  232. ferro_orm-0.28.0/tests/test_alembic_nullability.py +253 -0
  233. ferro_orm-0.28.0/tests/test_alembic_render_execute.py +217 -0
  234. ferro_orm-0.28.0/tests/test_alembic_translator.py +1582 -0
  235. ferro_orm-0.28.0/tests/test_auto_migrate.py +4610 -0
  236. ferro_orm-0.28.0/tests/test_auto_migrate_generated_columns.py +787 -0
  237. ferro_orm-0.28.0/tests/test_before_position.py +244 -0
  238. ferro_orm-0.28.0/tests/test_bulk_install.py +142 -0
  239. ferro_orm-0.28.0/tests/test_bulk_update.py +387 -0
  240. ferro_orm-0.28.0/tests/test_catalog_cache.py +235 -0
  241. ferro_orm-0.28.0/tests/test_check_predicate_dialect.py +321 -0
  242. ferro_orm-0.28.0/tests/test_chunked_steps.py +803 -0
  243. ferro_orm-0.28.0/tests/test_cli_database_line.py +266 -0
  244. ferro_orm-0.28.0/tests/test_cli_init.py +733 -0
  245. ferro_orm-0.28.0/tests/test_cli_output_new_check.py +838 -0
  246. ferro_orm-0.28.0/tests/test_cli_output_run_verbs.py +815 -0
  247. ferro_orm-0.28.0/tests/test_cli_output_status_drift.py +746 -0
  248. ferro_orm-0.28.0/tests/test_column_specs.py +197 -0
  249. ferro_orm-0.28.0/tests/test_compiled_query.py +134 -0
  250. ferro_orm-0.28.0/tests/test_composite_index.py +736 -0
  251. ferro_orm-0.28.0/tests/test_composite_unique.py +507 -0
  252. ferro_orm-0.28.0/tests/test_connect_guard.py +419 -0
  253. ferro_orm-0.28.0/tests/test_connection.py +570 -0
  254. ferro_orm-0.28.0/tests/test_constraints.py +23 -0
  255. ferro_orm-0.28.0/tests/test_constructor_keys.py +353 -0
  256. ferro_orm-0.28.0/tests/test_cross_emitter_parity.py +2440 -0
  257. ferro_orm-0.28.0/tests/test_crud.py +151 -0
  258. ferro_orm-0.28.0/tests/test_data_steps.py +661 -0
  259. ferro_orm-0.28.0/tests/test_db_type_cross_emitter_parity.py +554 -0
  260. ferro_orm-0.28.0/tests/test_db_type_typing.py +48 -0
  261. ferro_orm-0.28.0/tests/test_db_type_validation.py +300 -0
  262. ferro_orm-0.28.0/tests/test_ddl_lock_timeout.py +623 -0
  263. ferro_orm-0.28.0/tests/test_ddl_unprepared.py +70 -0
  264. ferro_orm-0.28.0/tests/test_declaration_fixes.py +1161 -0
  265. ferro_orm-0.28.0/tests/test_deletion.py +59 -0
  266. ferro_orm-0.28.0/tests/test_docs_checks.py +877 -0
  267. ferro_orm-0.28.0/tests/test_docs_field_type_table.py +216 -0
  268. ferro_orm-0.28.0/tests/test_docs_lint.py +77 -0
  269. ferro_orm-0.28.0/tests/test_docs_migrations.py +1511 -0
  270. ferro_orm-0.28.0/tests/test_docs_site.py +930 -0
  271. ferro_orm-0.28.0/tests/test_docs_sql.py +420 -0
  272. ferro_orm-0.28.0/tests/test_docs_testing_fixtures.py +295 -0
  273. ferro_orm-0.28.0/tests/test_docs_twins.py +177 -0
  274. ferro_orm-0.28.0/tests/test_docstring_examples.py +253 -0
  275. ferro_orm-0.28.0/tests/test_exception_mapping.py +209 -0
  276. ferro_orm-0.28.0/tests/test_exceptions.py +132 -0
  277. ferro_orm-0.28.0/tests/test_explicit_fk_conversion.py +279 -0
  278. ferro_orm-0.28.0/tests/test_field_wrapper.py +466 -0
  279. ferro_orm-0.28.0/tests/test_fk_column_types.py +211 -0
  280. ferro_orm-0.28.0/tests/test_fk_target_column.py +170 -0
  281. ferro_orm-0.28.0/tests/test_fk_target_pk.py +30 -0
  282. ferro_orm-0.28.0/tests/test_foreign_key_columns.py +1088 -0
  283. ferro_orm-0.28.0/tests/test_generate_backfill.py +777 -0
  284. ferro_orm-0.28.0/tests/test_generate_check_functions.py +706 -0
  285. ferro_orm-0.28.0/tests/test_generate_columns.py +523 -0
  286. ferro_orm-0.28.0/tests/test_generate_generated_columns.py +667 -0
  287. ferro_orm-0.28.0/tests/test_generate_indexes.py +217 -0
  288. ferro_orm-0.28.0/tests/test_generate_postgres_staging.py +431 -0
  289. ferro_orm-0.28.0/tests/test_generate_primary_key_refusal.py +108 -0
  290. ferro_orm-0.28.0/tests/test_generate_renames.py +811 -0
  291. ferro_orm-0.28.0/tests/test_generate_retired.py +246 -0
  292. ferro_orm-0.28.0/tests/test_generate_sqlite_rebuild.py +909 -0
  293. ferro_orm-0.28.0/tests/test_generated_column_drift.py +572 -0
  294. ferro_orm-0.28.0/tests/test_generated_columns.py +480 -0
  295. ferro_orm-0.28.0/tests/test_generated_refusals.py +497 -0
  296. ferro_orm-0.28.0/tests/test_generation_counter_dirty_tracking.py +147 -0
  297. ferro_orm-0.28.0/tests/test_global_aggregates.py +384 -0
  298. ferro_orm-0.28.0/tests/test_grouped_aggregates.py +406 -0
  299. ferro_orm-0.28.0/tests/test_helpers.py +111 -0
  300. ferro_orm-0.28.0/tests/test_historical_models.py +311 -0
  301. ferro_orm-0.28.0/tests/test_hydration.py +344 -0
  302. ferro_orm-0.28.0/tests/test_hydration_equivalence.py +249 -0
  303. ferro_orm-0.28.0/tests/test_identity_memory.py +67 -0
  304. ferro_orm-0.28.0/tests/test_identity_refresh.py +63 -0
  305. ferro_orm-0.28.0/tests/test_identity_weakref.py +30 -0
  306. ferro_orm-0.28.0/tests/test_include.py +837 -0
  307. ferro_orm-0.28.0/tests/test_ir_vectors_contract.py +828 -0
  308. ferro_orm-0.28.0/tests/test_join_table_key_columns.py +238 -0
  309. ferro_orm-0.28.0/tests/test_json_field_hydration.py +216 -0
  310. ferro_orm-0.28.0/tests/test_label_addition.py +455 -0
  311. ferro_orm-0.28.0/tests/test_live_read.py +203 -0
  312. ferro_orm-0.28.0/tests/test_m2m_target_pk.py +138 -0
  313. ferro_orm-0.28.0/tests/test_many_to_many_key_types.py +269 -0
  314. ferro_orm-0.28.0/tests/test_many_to_many_through.py +710 -0
  315. ferro_orm-0.28.0/tests/test_migrate_check.py +312 -0
  316. ferro_orm-0.28.0/tests/test_migrate_defaults.py +421 -0
  317. ferro_orm-0.28.0/tests/test_migrate_drift.py +954 -0
  318. ferro_orm-0.28.0/tests/test_migrate_new.py +853 -0
  319. ferro_orm-0.28.0/tests/test_migrate_plan.py +1191 -0
  320. ferro_orm-0.28.0/tests/test_migrate_rerecord.py +560 -0
  321. ferro_orm-0.28.0/tests/test_migrate_squash.py +1378 -0
  322. ferro_orm-0.28.0/tests/test_migrate_status.py +418 -0
  323. ferro_orm-0.28.0/tests/test_migrations_api.py +416 -0
  324. ferro_orm-0.28.0/tests/test_migrations_testing_harness.py +580 -0
  325. ferro_orm-0.28.0/tests/test_model_declaration.py +148 -0
  326. ferro_orm-0.28.0/tests/test_model_identity.py +231 -0
  327. ferro_orm-0.28.0/tests/test_models.py +15 -0
  328. ferro_orm-0.28.0/tests/test_mutation_pagination_guard.py +107 -0
  329. ferro_orm-0.28.0/tests/test_naming_single_source.py +336 -0
  330. ferro_orm-0.28.0/tests/test_negation.py +218 -0
  331. ferro_orm-0.28.0/tests/test_offset_seconds_refused.py +249 -0
  332. ferro_orm-0.28.0/tests/test_one_to_one.py +68 -0
  333. ferro_orm-0.28.0/tests/test_order_by_nulls.py +225 -0
  334. ferro_orm-0.28.0/tests/test_order_by_nulls_wire.py +78 -0
  335. ferro_orm-0.28.0/tests/test_partial_selects.py +481 -0
  336. ferro_orm-0.28.0/tests/test_pass_report.py +148 -0
  337. ferro_orm-0.28.0/tests/test_position_paging_traversal.py +234 -0
  338. ferro_orm-0.28.0/tests/test_postgres_floor.py +122 -0
  339. ferro_orm-0.28.0/tests/test_postponed_annotations.py +727 -0
  340. ferro_orm-0.28.0/tests/test_primary_key_facts.py +61 -0
  341. ferro_orm-0.28.0/tests/test_provisional_import.py +233 -0
  342. ferro_orm-0.28.0/tests/test_query_builder.py +337 -0
  343. ferro_orm-0.28.0/tests/test_query_column_validation.py +220 -0
  344. ferro_orm-0.28.0/tests/test_query_exists.py +693 -0
  345. ferro_orm-0.28.0/tests/test_query_joins.py +1168 -0
  346. ferro_orm-0.28.0/tests/test_query_typing.py +183 -0
  347. ferro_orm-0.28.0/tests/test_query_wire_vectors.py +639 -0
  348. ferro_orm-0.28.0/tests/test_raw_sql.py +534 -0
  349. ferro_orm-0.28.0/tests/test_refresh.py +54 -0
  350. ferro_orm-0.28.0/tests/test_refused_model_leaves_nothing.py +143 -0
  351. ferro_orm-0.28.0/tests/test_registry_entrypoints.py +239 -0
  352. ferro_orm-0.28.0/tests/test_registry_owner.py +111 -0
  353. ferro_orm-0.28.0/tests/test_relation_assignment.py +468 -0
  354. ferro_orm-0.28.0/tests/test_relation_declaration_reading.py +78 -0
  355. ferro_orm-0.28.0/tests/test_relation_specs.py +311 -0
  356. ferro_orm-0.28.0/tests/test_relationship_engine.py +87 -0
  357. ferro_orm-0.28.0/tests/test_relationship_resolution_errors.py +49 -0
  358. ferro_orm-0.28.0/tests/test_removed_relation_declarations.py +228 -0
  359. ferro_orm-0.28.0/tests/test_rendered_statement.py +410 -0
  360. ferro_orm-0.28.0/tests/test_retired_columns.py +506 -0
  361. ferro_orm-0.28.0/tests/test_retired_labels.py +490 -0
  362. ferro_orm-0.28.0/tests/test_routing_errors.py +96 -0
  363. ferro_orm-0.28.0/tests/test_row_security_alembic.py +918 -0
  364. ferro_orm-0.28.0/tests/test_row_security_create_pass.py +975 -0
  365. ferro_orm-0.28.0/tests/test_row_security_rebuild.py +678 -0
  366. ferro_orm-0.28.0/tests/test_row_security_reconcile.py +757 -0
  367. ferro_orm-0.28.0/tests/test_save_column_order.py +322 -0
  368. ferro_orm-0.28.0/tests/test_save_semantics.py +894 -0
  369. ferro_orm-0.28.0/tests/test_schema.py +121 -0
  370. ferro_orm-0.28.0/tests/test_schema_constraints.py +273 -0
  371. ferro_orm-0.28.0/tests/test_schema_db_type_metadata.py +84 -0
  372. ferro_orm-0.28.0/tests/test_secret_fields.py +339 -0
  373. ferro_orm-0.28.0/tests/test_session.py +495 -0
  374. ferro_orm-0.28.0/tests/test_session_set_config.py +469 -0
  375. ferro_orm-0.28.0/tests/test_session_settings.py +477 -0
  376. ferro_orm-0.28.0/tests/test_session_settings_connection_delivery.py +674 -0
  377. ferro_orm-0.28.0/tests/test_session_settings_operations.py +641 -0
  378. ferro_orm-0.28.0/tests/test_settings.py +1343 -0
  379. ferro_orm-0.28.0/tests/test_snapshot_witness.py +280 -0
  380. ferro_orm-0.28.0/tests/test_statement_log.py +1043 -0
  381. ferro_orm-0.28.0/tests/test_static_contracts.py +513 -0
  382. ferro_orm-0.28.0/tests/test_step_class.py +478 -0
  383. ferro_orm-0.28.0/tests/test_storage_class_mismatch.py +283 -0
  384. ferro_orm-0.28.0/tests/test_structural_types.py +511 -0
  385. ferro_orm-0.28.0/tests/test_table_check_orphans.py +664 -0
  386. ferro_orm-0.28.0/tests/test_table_check_rebuild.py +773 -0
  387. ferro_orm-0.28.0/tests/test_table_check_reconcile.py +730 -0
  388. ferro_orm-0.28.0/tests/test_table_checks.py +639 -0
  389. ferro_orm-0.28.0/tests/test_transactions.py +465 -0
  390. ferro_orm-0.28.0/tests/test_traversed_projection.py +378 -0
  391. ferro_orm-0.28.0/tests/test_typed_null_binds.py +393 -0
  392. ferro_orm-0.28.0/tests/test_unloaded_instance.py +929 -0
  393. ferro_orm-0.28.0/tests/test_update_recipe.py +340 -0
  394. ferro_orm-0.28.0/tests/test_upgrading_explicit_foreign_keys.py +492 -0
  395. ferro_orm-0.28.0/tests/test_value_parity.py +876 -0
  396. ferro_orm-0.28.0/uv.lock +2815 -0
  397. ferro_orm-0.28.0/zensical.toml +325 -0
  398. ferro_orm-0.26.1/.github/workflows/ci.yml +0 -363
  399. ferro_orm-0.26.1/.github/workflows/release.yml +0 -393
  400. ferro_orm-0.26.1/AGENTS.md +0 -726
  401. ferro_orm-0.26.1/CHANGELOG.md +0 -1762
  402. ferro_orm-0.26.1/CONTRIBUTING.md +0 -383
  403. ferro_orm-0.26.1/Cargo.lock +0 -2331
  404. ferro_orm-0.26.1/Cargo.toml +0 -50
  405. ferro_orm-0.26.1/GLOSSARY.md +0 -456
  406. ferro_orm-0.26.1/PKG-INFO +0 -95
  407. ferro_orm-0.26.1/crates/ferro-ddl-lowering/src/lib.rs +0 -8510
  408. ferro_orm-0.26.1/crates/ferro-migrate/src/directory.rs +0 -2518
  409. ferro_orm-0.26.1/crates/ferro-migrate/src/emit.rs +0 -889
  410. ferro_orm-0.26.1/crates/ferro-migrate/src/generate/backfill.rs +0 -1506
  411. ferro_orm-0.26.1/crates/ferro-migrate/src/generate/columns.rs +0 -934
  412. ferro_orm-0.26.1/crates/ferro-migrate/src/generate/compose.rs +0 -1633
  413. ferro_orm-0.26.1/crates/ferro-migrate/src/generate/downs.rs +0 -514
  414. ferro_orm-0.26.1/crates/ferro-migrate/src/generate/mod.rs +0 -4846
  415. ferro_orm-0.26.1/crates/ferro-migrate/src/generate/rebuild.rs +0 -1115
  416. ferro_orm-0.26.1/crates/ferro-migrate/src/generate/renames.rs +0 -109
  417. ferro_orm-0.26.1/crates/ferro-migrate/src/generate/stages.rs +0 -359
  418. ferro_orm-0.26.1/crates/ferro-migrate/src/generate/staging.rs +0 -404
  419. ferro_orm-0.26.1/crates/ferro-migrate/src/lib.rs +0 -811
  420. ferro_orm-0.26.1/crates/ferro-migrate/src/plan.rs +0 -4959
  421. ferro_orm-0.26.1/crates/ferro-migrate/src/render.rs +0 -810
  422. ferro_orm-0.26.1/crates/ferro-migrate/src/revision.rs +0 -740
  423. ferro_orm-0.26.1/crates/ferro-migrate/src/revision_tests.rs +0 -774
  424. ferro_orm-0.26.1/crates/ferro-migrate/src/run_plan/step_class.rs +0 -1627
  425. ferro_orm-0.26.1/crates/ferro-migrate/src/run_plan.rs +0 -6830
  426. ferro_orm-0.26.1/crates/ferro-migrate/src/snapshot.rs +0 -698
  427. ferro_orm-0.26.1/crates/ferro-migrate/src/tests.rs +0 -6246
  428. ferro_orm-0.26.1/crates/ferro-schema-ir/src/lib.rs +0 -2100
  429. ferro_orm-0.26.1/docs/adr/0002-unified-column-fact-derivation.md +0 -83
  430. ferro_orm-0.26.1/docs/adr/0003-path-blind-db-type-validation.md +0 -47
  431. ferro_orm-0.26.1/docs/adr/0007-materialization-plan-complete-instances.md +0 -53
  432. ferro_orm-0.26.1/docs/adr/0008-populated-relations-include.md +0 -74
  433. ferro_orm-0.26.1/docs/adr/0015-table-check-body-drift.md +0 -14
  434. ferro_orm-0.26.1/docs/adr/0016-check-predicates-literals-only.md +0 -11
  435. ferro_orm-0.26.1/docs/adr/0023-schema-snapshots-outlive-ir-versions.md +0 -14
  436. ferro_orm-0.26.1/docs/adr/0032-renames-are-declared-on-the-model-and-recorded-in-the-snapshot.md +0 -38
  437. ferro_orm-0.26.1/docs/adr/0053-a-column-is-retired-one-release-before-it-is-dropped.md +0 -35
  438. ferro_orm-0.26.1/docs/agents/domain.md +0 -51
  439. ferro_orm-0.26.1/docs/examples/_ledger_seed.py +0 -107
  440. ferro_orm-0.26.1/docs/examples/_preludes/connections.py +0 -35
  441. ferro_orm-0.26.1/docs/examples/_preludes/reference.py +0 -49
  442. ferro_orm-0.26.1/docs/examples/_preludes/upgrade.py +0 -53
  443. ferro_orm-0.26.1/docs/examples/aggregations.py +0 -328
  444. ferro_orm-0.26.1/docs/examples/aggregations_annotated.py +0 -328
  445. ferro_orm-0.26.1/docs/examples/faq.py +0 -52
  446. ferro_orm-0.26.1/docs/examples/faq_annotated.py +0 -52
  447. ferro_orm-0.26.1/docs/examples/from_sqlalchemy.py +0 -107
  448. ferro_orm-0.26.1/docs/examples/from_sqlalchemy_annotated.py +0 -107
  449. ferro_orm-0.26.1/docs/examples/models_and_fields.py +0 -271
  450. ferro_orm-0.26.1/docs/examples/models_and_fields_annotated.py +0 -274
  451. ferro_orm-0.26.1/docs/examples/populated_relations.py +0 -185
  452. ferro_orm-0.26.1/docs/examples/predicates.py +0 -372
  453. ferro_orm-0.26.1/docs/examples/predicates_annotated.py +0 -372
  454. ferro_orm-0.26.1/docs/examples/quickstart.py +0 -133
  455. ferro_orm-0.26.1/docs/examples/quickstart_annotated.py +0 -133
  456. ferro_orm-0.26.1/docs/examples/relationships.py +0 -209
  457. ferro_orm-0.26.1/docs/examples/relationships_annotated.py +0 -209
  458. ferro_orm-0.26.1/docs/examples/testing_models.py +0 -46
  459. ferro_orm-0.26.1/docs/examples/testing_models_annotated.py +0 -46
  460. ferro_orm-0.26.1/docs/examples/traversal.py +0 -325
  461. ferro_orm-0.26.1/docs/pages/api/exceptions.md +0 -112
  462. ferro_orm-0.26.1/docs/pages/api/fields.md +0 -22
  463. ferro_orm-0.26.1/docs/pages/api/queries.md +0 -90
  464. ferro_orm-0.26.1/docs/pages/api/relationships.md +0 -17
  465. ferro_orm-0.26.1/docs/pages/concepts/architecture.md +0 -222
  466. ferro_orm-0.26.1/docs/pages/concepts/identity-map.md +0 -169
  467. ferro_orm-0.26.1/docs/pages/concepts/performance.md +0 -162
  468. ferro_orm-0.26.1/docs/pages/concepts/query-typing.md +0 -152
  469. ferro_orm-0.26.1/docs/pages/concepts/row-level-security.md +0 -139
  470. ferro_orm-0.26.1/docs/pages/faq.md +0 -161
  471. ferro_orm-0.26.1/docs/pages/getting-started/installation.md +0 -87
  472. ferro_orm-0.26.1/docs/pages/getting-started/quickstart.md +0 -153
  473. ferro_orm-0.26.1/docs/pages/guide/connections.md +0 -376
  474. ferro_orm-0.26.1/docs/pages/guide/models-and-fields.md +0 -403
  475. ferro_orm-0.26.1/docs/pages/guide/mutations.md +0 -768
  476. ferro_orm-0.26.1/docs/pages/guide/queries.md +0 -1859
  477. ferro_orm-0.26.1/docs/pages/guide/raw-sql.md +0 -170
  478. ferro_orm-0.26.1/docs/pages/guide/relationships.md +0 -594
  479. ferro_orm-0.26.1/docs/pages/guide/schema/adopting-migrations.md +0 -188
  480. ferro_orm-0.26.1/docs/pages/guide/schema/alembic.md +0 -182
  481. ferro_orm-0.26.1/docs/pages/guide/schema/auto-migrate.md +0 -242
  482. ferro_orm-0.26.1/docs/pages/guide/schema/data-steps.md +0 -345
  483. ferro_orm-0.26.1/docs/pages/guide/schema/migrations.md +0 -437
  484. ferro_orm-0.26.1/docs/pages/guide/schema/overview.md +0 -83
  485. ferro_orm-0.26.1/docs/pages/guide/schema/renames-and-retirements.md +0 -186
  486. ferro_orm-0.26.1/docs/pages/guide/schema/testing.md +0 -90
  487. ferro_orm-0.26.1/docs/pages/howto/migrate-from-sqlalchemy.md +0 -234
  488. ferro_orm-0.26.1/docs/pages/howto/testing.md +0 -170
  489. ferro_orm-0.26.1/docs/pages/reference/migrations.md +0 -152
  490. ferro_orm-0.26.1/docs/pages/roadmap.md +0 -117
  491. ferro_orm-0.26.1/docs/pages/upgrading.md +0 -703
  492. ferro_orm-0.26.1/docs/pages/why-ferro.md +0 -90
  493. ferro_orm-0.26.1/docs/solutions/issues/alembic-add-column-enum-type-undefined.md +0 -91
  494. ferro_orm-0.26.1/docs/solutions/issues/docs-block-declaring-a-model.md +0 -50
  495. ferro_orm-0.26.1/docs/solutions/issues/n-ary-check-chain-reads-as-drift.md +0 -64
  496. ferro_orm-0.26.1/docs/solutions/issues/pg18-restrict-sqlstate-23001.md +0 -33
  497. ferro_orm-0.26.1/docs/solutions/issues/python-3.14-deferred-annotation-typeerror-swallow.md +0 -69
  498. ferro_orm-0.26.1/docs/solutions/issues/sa-vs-rust-unique-constraint-shape.md +0 -81
  499. ferro_orm-0.26.1/docs/solutions/patterns/configurable-column-storage-types.md +0 -191
  500. ferro_orm-0.26.1/docs/solutions/patterns/cross-emitter-ddl-parity.md +0 -168
  501. ferro_orm-0.26.1/docs/solutions/patterns/derived-type-and-naming-decision-table.md +0 -170
  502. ferro_orm-0.26.1/docs/solutions/patterns/docs-page-conventions.md +0 -308
  503. ferro_orm-0.26.1/docs/solutions/patterns/foreign-key-index.md +0 -59
  504. ferro_orm-0.26.1/docs/solutions/patterns/index-unique-redundancy.md +0 -55
  505. ferro_orm-0.26.1/docs/solutions/patterns/ir-invariants.md +0 -182
  506. ferro_orm-0.26.1/docs/solutions/patterns/one-planner-and-live-facts.md +0 -69
  507. ferro_orm-0.26.1/docs/solutions/patterns/shadow-fk-columns.md +0 -65
  508. ferro_orm-0.26.1/docs/solutions/patterns/typed-null-binds.md +0 -216
  509. ferro_orm-0.26.1/docs/solutions/patterns/wire-scalar-canonicalization.md +0 -45
  510. ferro_orm-0.26.1/pyproject.toml +0 -152
  511. ferro_orm-0.26.1/scripts/demo_queries.py +0 -273
  512. ferro_orm-0.26.1/scripts/demo_queries_pre_v012.py +0 -252
  513. ferro_orm-0.26.1/src/backend.rs +0 -1890
  514. ferro_orm-0.26.1/src/codec.rs +0 -533
  515. ferro_orm-0.26.1/src/codec_plan.rs +0 -628
  516. ferro_orm-0.26.1/src/connection.rs +0 -853
  517. ferro_orm-0.26.1/src/ddl_exec.rs +0 -1360
  518. ferro_orm-0.26.1/src/errors.rs +0 -1233
  519. ferro_orm-0.26.1/src/ferro/__init__.py +0 -641
  520. ferro_orm-0.26.1/src/ferro/_annotation_utils.py +0 -290
  521. ferro_orm-0.26.1/src/ferro/_bind_payload.py +0 -364
  522. ferro_orm-0.26.1/src/ferro/_core.pyi +0 -921
  523. ferro_orm-0.26.1/src/ferro/_shadow_fk_types.py +0 -131
  524. ferro_orm-0.26.1/src/ferro/base.py +0 -367
  525. ferro_orm-0.26.1/src/ferro/checks.py +0 -650
  526. ferro_orm-0.26.1/src/ferro/columns.py +0 -879
  527. ferro_orm-0.26.1/src/ferro/exceptions.py +0 -167
  528. ferro_orm-0.26.1/src/ferro/fields.py +0 -739
  529. ferro_orm-0.26.1/src/ferro/ir/compiler.py +0 -706
  530. ferro_orm-0.26.1/src/ferro/metaclass.py +0 -939
  531. ferro_orm-0.26.1/src/ferro/migrations/_drift.py +0 -504
  532. ferro_orm-0.26.1/src/ferro/migrations/alembic.py +0 -763
  533. ferro_orm-0.26.1/src/ferro/migrations/generate.py +0 -1329
  534. ferro_orm-0.26.1/src/ferro/migrations/translate.py +0 -479
  535. ferro_orm-0.26.1/src/ferro/models.py +0 -1199
  536. ferro_orm-0.26.1/src/ferro/pass_report.py +0 -164
  537. ferro_orm-0.26.1/src/ferro/query/builder.py +0 -2183
  538. ferro_orm-0.26.1/src/ferro/query/nodes.py +0 -1675
  539. ferro_orm-0.26.1/src/ferro/query/wire.py +0 -1261
  540. ferro_orm-0.26.1/src/ferro/raw.py +0 -319
  541. ferro_orm-0.26.1/src/ferro/registry.py +0 -596
  542. ferro_orm-0.26.1/src/ferro/relations/__init__.py +0 -235
  543. ferro_orm-0.26.1/src/ferro/relations/descriptors.py +0 -120
  544. ferro_orm-0.26.1/src/ferro/settings.py +0 -1029
  545. ferro_orm-0.26.1/src/ferro/state.py +0 -246
  546. ferro_orm-0.26.1/src/hydration.rs +0 -449
  547. ferro_orm-0.26.1/src/introspect.rs +0 -1702
  548. ferro_orm-0.26.1/src/lib.rs +0 -243
  549. ferro_orm-0.26.1/src/live_ir.rs +0 -648
  550. ferro_orm-0.26.1/src/migrate.rs +0 -1590
  551. ferro_orm-0.26.1/src/migrations_ffi.rs +0 -1689
  552. ferro_orm-0.26.1/src/naming_ffi.rs +0 -290
  553. ferro_orm-0.26.1/src/operations.rs +0 -8970
  554. ferro_orm-0.26.1/src/query.rs +0 -2957
  555. ferro_orm-0.26.1/src/run.rs +0 -4172
  556. ferro_orm-0.26.1/src/schema.rs +0 -1012
  557. ferro_orm-0.26.1/src/session_settings.rs +0 -2307
  558. ferro_orm-0.26.1/src/sql_log.rs +0 -629
  559. ferro_orm-0.26.1/src/state.rs +0 -1370
  560. ferro_orm-0.26.1/tests/_casebook.py +0 -305
  561. ferro_orm-0.26.1/tests/_docs_checks.py +0 -244
  562. ferro_orm-0.26.1/tests/_docs_harness.py +0 -520
  563. ferro_orm-0.26.1/tests/_pass_harness.py +0 -90
  564. ferro_orm-0.26.1/tests/_pg_sequence.py +0 -36
  565. ferro_orm-0.26.1/tests/conftest.py +0 -385
  566. ferro_orm-0.26.1/tests/fixtures/ir_vectors/README.md +0 -67
  567. ferro_orm-0.26.1/tests/static_fixtures/bad_includes.py +0 -36
  568. ferro_orm-0.26.1/tests/static_fixtures/bad_predicates.py +0 -46
  569. ferro_orm-0.26.1/tests/static_fixtures/bad_projections.py +0 -55
  570. ferro_orm-0.26.1/tests/static_fixtures/good_includes.py +0 -44
  571. ferro_orm-0.26.1/tests/static_fixtures/good_predicates.py +0 -88
  572. ferro_orm-0.26.1/tests/static_fixtures/good_projections.py +0 -109
  573. ferro_orm-0.26.1/tests/test_after_position.py +0 -315
  574. ferro_orm-0.26.1/tests/test_alembic_autogenerate.py +0 -337
  575. ferro_orm-0.26.1/tests/test_alembic_bridge.py +0 -284
  576. ferro_orm-0.26.1/tests/test_alembic_db_type.py +0 -273
  577. ferro_orm-0.26.1/tests/test_alembic_enum_type_drop.py +0 -882
  578. ferro_orm-0.26.1/tests/test_alembic_nullability.py +0 -282
  579. ferro_orm-0.26.1/tests/test_alembic_render_execute.py +0 -217
  580. ferro_orm-0.26.1/tests/test_alembic_translator.py +0 -1593
  581. ferro_orm-0.26.1/tests/test_auto_migrate.py +0 -4893
  582. ferro_orm-0.26.1/tests/test_before_position.py +0 -315
  583. ferro_orm-0.26.1/tests/test_bulk_install.py +0 -160
  584. ferro_orm-0.26.1/tests/test_bulk_update.py +0 -387
  585. ferro_orm-0.26.1/tests/test_catalog_cache.py +0 -236
  586. ferro_orm-0.26.1/tests/test_check_predicate_dialect.py +0 -352
  587. ferro_orm-0.26.1/tests/test_chunked_steps.py +0 -804
  588. ferro_orm-0.26.1/tests/test_cli_database_line.py +0 -344
  589. ferro_orm-0.26.1/tests/test_cli_init.py +0 -744
  590. ferro_orm-0.26.1/tests/test_cli_output_new_check.py +0 -870
  591. ferro_orm-0.26.1/tests/test_cli_output_run_verbs.py +0 -838
  592. ferro_orm-0.26.1/tests/test_cli_output_status_drift.py +0 -817
  593. ferro_orm-0.26.1/tests/test_column_specs.py +0 -210
  594. ferro_orm-0.26.1/tests/test_compiled_query.py +0 -134
  595. ferro_orm-0.26.1/tests/test_composite_index.py +0 -799
  596. ferro_orm-0.26.1/tests/test_composite_unique.py +0 -564
  597. ferro_orm-0.26.1/tests/test_connect_guard.py +0 -390
  598. ferro_orm-0.26.1/tests/test_connection.py +0 -591
  599. ferro_orm-0.26.1/tests/test_constraints.py +0 -81
  600. ferro_orm-0.26.1/tests/test_cross_emitter_parity.py +0 -2244
  601. ferro_orm-0.26.1/tests/test_crud.py +0 -192
  602. ferro_orm-0.26.1/tests/test_data_steps.py +0 -662
  603. ferro_orm-0.26.1/tests/test_db_type_cross_emitter_parity.py +0 -554
  604. ferro_orm-0.26.1/tests/test_db_type_typing.py +0 -48
  605. ferro_orm-0.26.1/tests/test_db_type_validation.py +0 -454
  606. ferro_orm-0.26.1/tests/test_ddl_lock_timeout.py +0 -624
  607. ferro_orm-0.26.1/tests/test_ddl_unprepared.py +0 -71
  608. ferro_orm-0.26.1/tests/test_deletion.py +0 -87
  609. ferro_orm-0.26.1/tests/test_docs_checks.py +0 -238
  610. ferro_orm-0.26.1/tests/test_docs_field_type_table.py +0 -221
  611. ferro_orm-0.26.1/tests/test_docs_lint.py +0 -46
  612. ferro_orm-0.26.1/tests/test_docs_migrations.py +0 -1506
  613. ferro_orm-0.26.1/tests/test_docs_site.py +0 -944
  614. ferro_orm-0.26.1/tests/test_docs_sql.py +0 -405
  615. ferro_orm-0.26.1/tests/test_docs_testing_fixtures.py +0 -192
  616. ferro_orm-0.26.1/tests/test_docs_twins.py +0 -177
  617. ferro_orm-0.26.1/tests/test_docstring_examples.py +0 -253
  618. ferro_orm-0.26.1/tests/test_exception_mapping.py +0 -221
  619. ferro_orm-0.26.1/tests/test_exceptions.py +0 -124
  620. ferro_orm-0.26.1/tests/test_field_wrapper.py +0 -101
  621. ferro_orm-0.26.1/tests/test_fk_target_pk.py +0 -65
  622. ferro_orm-0.26.1/tests/test_generate_backfill.py +0 -773
  623. ferro_orm-0.26.1/tests/test_generate_columns.py +0 -644
  624. ferro_orm-0.26.1/tests/test_generate_indexes.py +0 -217
  625. ferro_orm-0.26.1/tests/test_generate_postgres_staging.py +0 -434
  626. ferro_orm-0.26.1/tests/test_generate_primary_key_refusal.py +0 -108
  627. ferro_orm-0.26.1/tests/test_generate_renames.py +0 -649
  628. ferro_orm-0.26.1/tests/test_generate_retired.py +0 -243
  629. ferro_orm-0.26.1/tests/test_generate_sqlite_rebuild.py +0 -917
  630. ferro_orm-0.26.1/tests/test_generation_counter_dirty_tracking.py +0 -150
  631. ferro_orm-0.26.1/tests/test_global_aggregates.py +0 -384
  632. ferro_orm-0.26.1/tests/test_grouped_aggregates.py +0 -408
  633. ferro_orm-0.26.1/tests/test_helpers.py +0 -131
  634. ferro_orm-0.26.1/tests/test_historical_models.py +0 -311
  635. ferro_orm-0.26.1/tests/test_hydration.py +0 -237
  636. ferro_orm-0.26.1/tests/test_hydration_equivalence.py +0 -271
  637. ferro_orm-0.26.1/tests/test_identity_memory.py +0 -80
  638. ferro_orm-0.26.1/tests/test_identity_refresh.py +0 -79
  639. ferro_orm-0.26.1/tests/test_identity_weakref.py +0 -37
  640. ferro_orm-0.26.1/tests/test_include.py +0 -831
  641. ferro_orm-0.26.1/tests/test_ir_vectors_contract.py +0 -810
  642. ferro_orm-0.26.1/tests/test_label_addition.py +0 -455
  643. ferro_orm-0.26.1/tests/test_live_read.py +0 -160
  644. ferro_orm-0.26.1/tests/test_metaclass_internals.py +0 -386
  645. ferro_orm-0.26.1/tests/test_migrate_check.py +0 -339
  646. ferro_orm-0.26.1/tests/test_migrate_defaults.py +0 -439
  647. ferro_orm-0.26.1/tests/test_migrate_drift.py +0 -918
  648. ferro_orm-0.26.1/tests/test_migrate_new.py +0 -868
  649. ferro_orm-0.26.1/tests/test_migrate_plan.py +0 -1183
  650. ferro_orm-0.26.1/tests/test_migrate_rerecord.py +0 -571
  651. ferro_orm-0.26.1/tests/test_migrate_squash.py +0 -1388
  652. ferro_orm-0.26.1/tests/test_migrate_status.py +0 -454
  653. ferro_orm-0.26.1/tests/test_migrations_api.py +0 -429
  654. ferro_orm-0.26.1/tests/test_migrations_testing_harness.py +0 -580
  655. ferro_orm-0.26.1/tests/test_model_identity.py +0 -228
  656. ferro_orm-0.26.1/tests/test_models.py +0 -47
  657. ferro_orm-0.26.1/tests/test_mutation_pagination_guard.py +0 -123
  658. ferro_orm-0.26.1/tests/test_naming_single_source.py +0 -332
  659. ferro_orm-0.26.1/tests/test_negation.py +0 -219
  660. ferro_orm-0.26.1/tests/test_one_to_one.py +0 -135
  661. ferro_orm-0.26.1/tests/test_order_by_nulls.py +0 -224
  662. ferro_orm-0.26.1/tests/test_order_by_nulls_wire.py +0 -125
  663. ferro_orm-0.26.1/tests/test_partial_selects.py +0 -478
  664. ferro_orm-0.26.1/tests/test_pass_report.py +0 -201
  665. ferro_orm-0.26.1/tests/test_position_paging_traversal.py +0 -291
  666. ferro_orm-0.26.1/tests/test_primary_key_facts.py +0 -77
  667. ferro_orm-0.26.1/tests/test_provisional_import.py +0 -232
  668. ferro_orm-0.26.1/tests/test_query_builder.py +0 -410
  669. ferro_orm-0.26.1/tests/test_query_column_validation.py +0 -282
  670. ferro_orm-0.26.1/tests/test_query_exists.py +0 -707
  671. ferro_orm-0.26.1/tests/test_query_joins.py +0 -1185
  672. ferro_orm-0.26.1/tests/test_query_typing.py +0 -215
  673. ferro_orm-0.26.1/tests/test_query_wire_vectors.py +0 -645
  674. ferro_orm-0.26.1/tests/test_raw_sql.py +0 -530
  675. ferro_orm-0.26.1/tests/test_refresh.py +0 -53
  676. ferro_orm-0.26.1/tests/test_registry_entrypoints.py +0 -291
  677. ferro_orm-0.26.1/tests/test_registry_owner.py +0 -119
  678. ferro_orm-0.26.1/tests/test_relation_specs.py +0 -175
  679. ferro_orm-0.26.1/tests/test_relationship_engine.py +0 -323
  680. ferro_orm-0.26.1/tests/test_relationship_resolution_errors.py +0 -51
  681. ferro_orm-0.26.1/tests/test_rendered_statement.py +0 -408
  682. ferro_orm-0.26.1/tests/test_retired_columns.py +0 -528
  683. ferro_orm-0.26.1/tests/test_retired_labels.py +0 -518
  684. ferro_orm-0.26.1/tests/test_routing_errors.py +0 -103
  685. ferro_orm-0.26.1/tests/test_row_security_alembic.py +0 -1017
  686. ferro_orm-0.26.1/tests/test_row_security_create_pass.py +0 -1082
  687. ferro_orm-0.26.1/tests/test_row_security_rebuild.py +0 -784
  688. ferro_orm-0.26.1/tests/test_row_security_reconcile.py +0 -871
  689. ferro_orm-0.26.1/tests/test_save_column_order.py +0 -259
  690. ferro_orm-0.26.1/tests/test_save_semantics.py +0 -913
  691. ferro_orm-0.26.1/tests/test_schema.py +0 -122
  692. ferro_orm-0.26.1/tests/test_schema_constraints.py +0 -273
  693. ferro_orm-0.26.1/tests/test_schema_db_type_metadata.py +0 -84
  694. ferro_orm-0.26.1/tests/test_secret_fields.py +0 -338
  695. ferro_orm-0.26.1/tests/test_session.py +0 -549
  696. ferro_orm-0.26.1/tests/test_session_set_config.py +0 -479
  697. ferro_orm-0.26.1/tests/test_session_settings.py +0 -504
  698. ferro_orm-0.26.1/tests/test_session_settings_connection_delivery.py +0 -680
  699. ferro_orm-0.26.1/tests/test_session_settings_operations.py +0 -664
  700. ferro_orm-0.26.1/tests/test_settings.py +0 -1293
  701. ferro_orm-0.26.1/tests/test_shadow_fk_types.py +0 -260
  702. ferro_orm-0.26.1/tests/test_snapshot_witness.py +0 -280
  703. ferro_orm-0.26.1/tests/test_statement_log.py +0 -1041
  704. ferro_orm-0.26.1/tests/test_static_contracts.py +0 -362
  705. ferro_orm-0.26.1/tests/test_step_class.py +0 -490
  706. ferro_orm-0.26.1/tests/test_structural_types.py +0 -514
  707. ferro_orm-0.26.1/tests/test_table_check_orphans.py +0 -684
  708. ferro_orm-0.26.1/tests/test_table_check_rebuild.py +0 -801
  709. ferro_orm-0.26.1/tests/test_table_check_reconcile.py +0 -766
  710. ferro_orm-0.26.1/tests/test_table_checks.py +0 -638
  711. ferro_orm-0.26.1/tests/test_transactions.py +0 -502
  712. ferro_orm-0.26.1/tests/test_traversed_projection.py +0 -428
  713. ferro_orm-0.26.1/tests/test_typed_null_binds.py +0 -416
  714. ferro_orm-0.26.1/tests/test_update_recipe.py +0 -339
  715. ferro_orm-0.26.1/uv.lock +0 -2816
  716. ferro_orm-0.26.1/zensical.toml +0 -324
  717. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  718. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  719. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/.github/PERMISSIONS.md +0 -0
  720. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/.github/PYPI_CHECKLIST.md +0 -0
  721. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/.github/PYPI_SETUP.md +0 -0
  722. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/.github/generated/wheels.generated.yml +0 -0
  723. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/.github/pull_request_template.md +0 -0
  724. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/.github/workflows/packaging-smoke.yml +0 -0
  725. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/.github/workflows/publish-docs.yml +0 -0
  726. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/.github/workflows/publish.yml +0 -0
  727. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/.gitignore +0 -0
  728. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/.pre-commit-config.yaml +0 -0
  729. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/.python-version +0 -0
  730. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/LICENSE +0 -0
  731. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/README.md +0 -0
  732. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/benchmarks/README.md +0 -0
  733. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/benchmarks/__init__.py +0 -0
  734. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/benchmarks/__main__.py +0 -0
  735. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/benchmarks/backends.py +0 -0
  736. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/benchmarks/baselines/postgres.json +0 -0
  737. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/benchmarks/baselines/sqlite.json +0 -0
  738. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/benchmarks/compare.py +0 -0
  739. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/benchmarks/harness.py +0 -0
  740. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/benchmarks/model.py +0 -0
  741. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/benchmarks/run.py +0 -0
  742. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/context7.json +0 -0
  743. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/crates/ferro-ddl-lowering/Cargo.toml +0 -0
  744. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/crates/ferro-ddl-lowering/src/policy_expr.rs +0 -0
  745. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/crates/ferro-migrate/Cargo.toml +0 -0
  746. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/crates/ferro-migrate/src/generate/enums.rs +0 -0
  747. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/crates/ferro-migrate/src/order.rs +0 -0
  748. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/crates/ferro-schema-ir/Cargo.toml +0 -0
  749. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0001-resolved-epoch-registration.md +0 -0
  750. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0004-jsonb-postgres-only-canonical.md +0 -0
  751. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0005-jsonb-default-on-postgres.md +0 -0
  752. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0006-relation-traversal-inner-joins.md +0 -0
  753. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0007-reverse-relations-tested-not-traversed.md +0 -0
  754. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0008-predicate-negation-uniform-not.md +0 -0
  755. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0009-aggregate-projections-derived-grouping.md +0 -0
  756. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0010-create-pass-owns-only-missing-tables.md +0 -0
  757. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0011-label-addition-update-gated-append-only.md +0 -0
  758. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0012-table-checks-are-lambdas.md +0 -0
  759. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0013-table-check-reconciliation.md +0 -0
  760. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0014-table-checks-sqlite-create-only.md +0 -0
  761. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0017-omitted-nulls-means-last.md +0 -0
  762. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0018-position-paging.md +0 -0
  763. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0019-row-policy-drift-and-the-one-way-flags.md +0 -0
  764. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0020-enum-type-drop-on-downgrade.md +0 -0
  765. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0021-enum-type-reuse-on-upgrade.md +0 -0
  766. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0022-enum-type-creation-for-add-column.md +0 -0
  767. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0024-data-steps-are-atomic-or-chunked.md +0 -0
  768. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0025-historical-models-see-the-union-of-adjacent-snapshots.md +0 -0
  769. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0026-one-migration-renders-ddl-per-target-dialect.md +0 -0
  770. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0027-the-generator-diffs-the-ddl-bearing-projection-of-the-ir.md +0 -0
  771. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0028-python-sequences-a-run-rust-decides-and-executes.md +0 -0
  772. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0029-the-run-lock-dies-with-the-process.md +0 -0
  773. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0030-a-finished-step-is-re-recorded-an-unfinished-one-may-be-edited.md +0 -0
  774. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0031-a-baseline-is-verified-and-has-no-override.md +0 -0
  775. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0033-irreversibility-is-declared-and-a-down-reaches-the-parent-snapshot.md +0 -0
  776. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0034-sqlite-changes-alter-cannot-express-are-table-rebuilds.md +0 -0
  777. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0035-a-data-step-declares-its-shape-and-an-unwritten-one-is-a-todo.md +0 -0
  778. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0036-config-names-databases-not-connections.md +0 -0
  779. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0037-step-numbers-are-shared-across-dialects-and-a-skipped-backfill-is-a-guard.md +0 -0
  780. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0038-connect-never-runs-migration-files-and-a-tracked-database-refuses-auto-migrate.md +0 -0
  781. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0039-config-is-ferro-toml-or-pyproject-and-is-read-through-ferrosettings.md +0 -0
  782. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0040-a-migration-is-applied-whole-and-staging-is-the-editing-cadence.md +0 -0
  783. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0041-the-alembic-bridge-translates-the-one-planner.md +0 -0
  784. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0042-not-null-on-postgres-is-staged-after-the-backfill.md +0 -0
  785. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0043-foreign-keys-and-checks-on-an-existing-postgres-table-are-staged.md +0 -0
  786. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0044-indexes-on-an-existing-postgres-table-are-built-concurrently-and-ddl-waits-for-locks-under-a-timeout.md +0 -0
  787. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0045-the-test-harness-carries-the-targets-the-application-api-refuses.md +0 -0
  788. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0046-a-sqlite-table-rebuild-sits-in-its-phase-step-and-a-table-is-copied-once-per-phase.md +0 -0
  789. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0047-the-reconciliation-pass-honours-rename-hints.md +0 -0
  790. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0048-a-run-is-a-rust-object-holding-the-lock-the-directory-and-the-plan.md +0 -0
  791. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0049-the-auto-migrate-pass-reports-what-it-executed.md +0 -0
  792. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0050-a-plans-two-sides-are-adapters-and-a-down-is-the-ups-artifacts-planned-back.md +0 -0
  793. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0051-every-door-plans-a-redefined-index-and-a-removed-foreign-key.md +0 -0
  794. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0052-plan-reports-are-typed-and-the-generator-refuses-what-no-op-answers.md +0 -0
  795. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0054-a-steps-class-is-recorded-when-it-is-applied.md +0 -0
  796. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0055-the-change-summary-crosses-ffi-as-data.md +0 -0
  797. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0056-a-squash-is-planned-across-snapshots-and-a-database-that-ran-the-originals-adopts-it.md +0 -0
  798. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/adr/0057-sql-is-seen-through-the-statement-log-and-a-terminals-sql.md +0 -0
  799. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/agents/issue-tracker.md +0 -0
  800. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/agents/triage-labels.md +0 -0
  801. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/architecture-review-2026-07-08.html +0 -0
  802. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-04-29-named-connections-role-routing-requirements.md +0 -0
  803. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-05-08-typed-query-predicates-requirements.md +0 -0
  804. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-05-13-configurable-column-storage-types-requirements.md +0 -0
  805. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-05-14-autogenerate-support-for-db-type-requirements.md +0 -0
  806. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-05-25-annotated-strenum-cold-hydration-requirements.md +0 -0
  807. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-24-ir-p8-119-wire-automigrate-requirements.md +0 -0
  808. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-25-ir-p8-120-parity-gate-requirements.md +0 -0
  809. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-26-ir-p8.5-140-shared-lowering-requirements.md +0 -0
  810. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-26-ir-p8.5-143-db-type-drop-requirements.md +0 -0
  811. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-26-ir-p8.5-144-reconcile-indexes-requirements.md +0 -0
  812. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-28-ir-p8.5-141-single-schema-ir-producer-requirements.md +0 -0
  813. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-29-ir-p8.6-146-dialect-enum-unification-requirements.md +0 -0
  814. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-29-ir-p8.6-153-create-path-ir-requirements.md +0 -0
  815. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-30-ir-p8.6-155-deferred-annotations-requirements.md +0 -0
  816. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-06-30-ir-p8.6-158-check-renderer-requirements.md +0 -0
  817. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-07-01-ir-p8.6-154-datetime-tz-coarseness-requirements.md +0 -0
  818. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-07-01-ir-p8.6-162-typed-save-bind-requirements.md +0 -0
  819. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-07-01-ir-p8.6-165-blob-introspection-false-positive-requirements.md +0 -0
  820. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-07-02-ff-c1-codec-plan-design.md +0 -0
  821. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/brainstorms/2026-07-06-upgrade-guide-consolidation-requirements.md +0 -0
  822. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/_migrations_project.py +0 -0
  823. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/_preludes/__init__.py +0 -0
  824. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/_preludes/auto_migrate.py +0 -0
  825. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/_preludes/concepts.py +0 -0
  826. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/_preludes/invoices.py +0 -0
  827. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/_preludes/jwt_claims.py +0 -0
  828. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/_preludes/label_addition.py +0 -0
  829. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/_preludes/queries.py +0 -0
  830. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/_preludes/raw_sql.py +0 -0
  831. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/auto_migrate_errors.py +0 -0
  832. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/concepts.py +0 -0
  833. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/concepts_annotated.py +0 -0
  834. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/enum_labels.py +0 -0
  835. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/enum_labels_annotated.py +0 -0
  836. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/existence_tests.py +0 -0
  837. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migration_errors.py +0 -0
  838. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migrations_adopting.py +0 -0
  839. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migrations_backfill.py +0 -0
  840. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migrations_backfill_annotated.py +0 -0
  841. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migrations_quickstart.py +0 -0
  842. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migrations_quickstart_annotated.py +0 -0
  843. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migrations_rename.py +0 -0
  844. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migrations_rename_annotated.py +0 -0
  845. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migrations_retire.py +0 -0
  846. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migrations_retire_annotated.py +0 -0
  847. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migrations_retire_label.py +0 -0
  848. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migrations_retire_label_annotated.py +0 -0
  849. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migrations_squash.py +0 -0
  850. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migrations_squash_annotated.py +0 -0
  851. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migrations_testing.py +0 -0
  852. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/migrations_testing_annotated.py +0 -0
  853. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/multiple_databases.py +0 -0
  854. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/multiple_databases_annotated.py +0 -0
  855. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/mutations.py +0 -0
  856. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/mutations_annotated.py +0 -0
  857. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/pagination.py +0 -0
  858. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/pagination_annotated.py +0 -0
  859. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/partial_selects.py +0 -0
  860. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/raw_sql.py +0 -0
  861. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/raw_sql_annotated.py +0 -0
  862. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/readme_quickstart.py +0 -0
  863. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/readme_quickstart_annotated.py +0 -0
  864. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/row_level_security.py +0 -0
  865. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/row_level_security_annotated.py +0 -0
  866. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/soft_deletes.py +0 -0
  867. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/soft_deletes_annotated.py +0 -0
  868. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/table_checks.py +0 -0
  869. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/table_checks_annotated.py +0 -0
  870. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/testing_conftest.py +0 -0
  871. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/testing_conftest_postgres.py +0 -0
  872. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/timestamps.py +0 -0
  873. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/timestamps_annotated.py +0 -0
  874. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/transactions.py +0 -0
  875. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/transactions_annotated.py +0 -0
  876. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/upgrade_account.py +0 -0
  877. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/upgrade_account_annotated.py +0 -0
  878. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/upgrade_foreign_default.py +0 -0
  879. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/upgrade_keep.py +0 -0
  880. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/upgrade_keep_annotated.py +0 -0
  881. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/upgrade_primary_key.py +0 -0
  882. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/examples/upgrade_primary_key_annotated.py +0 -0
  883. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/includes/abbreviations.md +0 -0
  884. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/includes/field-types.md +0 -0
  885. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/api/connection.md +0 -0
  886. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/api/migrations.md +0 -0
  887. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/api/model.md +0 -0
  888. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/api/raw-sql.md +0 -0
  889. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/api/transactions.md +0 -0
  890. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/changelog.md +0 -0
  891. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/concepts/backends.md +0 -0
  892. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/concepts/type-safety.md +0 -0
  893. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/contributing.md +0 -0
  894. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/guide/aggregations.md +0 -0
  895. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/guide/row-level-security.md +0 -0
  896. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/guide/schema/deploying.md +0 -0
  897. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/guide/schema/squash.md +0 -0
  898. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/guide/transactions.md +0 -0
  899. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/howto/multiple-databases.md +0 -0
  900. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/howto/pagination.md +0 -0
  901. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/howto/soft-deletes.md +0 -0
  902. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/howto/timestamps.md +0 -0
  903. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/index.md +0 -0
  904. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/reference/cli.md +0 -0
  905. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/reference/configuration.md +0 -0
  906. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/reference/row-level-security.md +0 -0
  907. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/pages/stylesheets/extra.css +0 -0
  908. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-04-24-001-refactor-multi-db-backend-architecture-plan.md +0 -0
  909. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-04-29-001-typed-null-binds-plan.md +0 -0
  910. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-04-29-002-feat-named-connections-plan.md +0 -0
  911. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-05-07-001-refactor-generic-model-connection-plan.md +0 -0
  912. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-05-08-001-feat-typed-query-predicates-plan.md +0 -0
  913. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-05-13-001-feat-configurable-column-storage-types-plan.md +0 -0
  914. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-05-25-001-fix-annotated-strenum-cold-hydration-plan.md +0 -0
  915. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-06-19-001-ir-first-roadmap.md +0 -0
  916. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-06-24-001-feat-ir-p8-119-wire-automigrate-plan.md +0 -0
  917. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-06-25-001-feat-ir-p8-120-parity-gate-plan.md +0 -0
  918. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-06-26-001-feat-ir-p8.5-140-shared-lowering-plan.md +0 -0
  919. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-06-26-002-feat-ir-p8.5-143-db-type-drop-plan.md +0 -0
  920. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-06-26-003-feat-ir-p8.5-144-reconcile-indexes-plan.md +0 -0
  921. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-06-28-001-feat-ir-p8.5-141-single-schema-ir-producer-plan.md +0 -0
  922. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-06-29-001-refactor-ir-p8.6-153-create-path-unification-plan.md +0 -0
  923. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-06-29-002-refactor-ir-p8.6-146-dialect-enum-unification-plan.md +0 -0
  924. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-06-30-001-refactor-ir-p8.6-158-check-renderer-plan.md +0 -0
  925. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-06-30-002-fix-ir-p8.6-155-deferred-annotations-plan.md +0 -0
  926. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-01-001-feat-ir-p8.6-162-typed-save-bind-plan.md +0 -0
  927. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-01-002-fix-ir-p8.6-154-datetime-tz-coarseness-plan.md +0 -0
  928. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-01-003-fix-ir-p8.6-165-blob-introspection-plan.md +0 -0
  929. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-02-001-fable-fixes-roadmap.md +0 -0
  930. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-02-002-feat-ff-a-172-typed-exceptions-plan.md +0 -0
  931. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-02-003-ff-c-native-decode-design.md +0 -0
  932. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-02-004-ff-c-c2-catalog-cache-design.md +0 -0
  933. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-02-005-ff-d-identity-routing-design.md +0 -0
  934. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-02-006-ff-d-identity-routing-plan.md +0 -0
  935. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-03-007-ff-e-registry-identity-design.md +0 -0
  936. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-03-008-ff-e-registry-identity-plan.md +0 -0
  937. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-06-009-ff-f-query-builder-1.0-design.md +0 -0
  938. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-06-010-ff-f-query-builder-1.0-plan.md +0 -0
  939. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-06-011-ff-g-hardening-design.md +0 -0
  940. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-06-012-ff-g-hardening-plan.md +0 -0
  941. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-06-013-ff-g2-operations-dedup-design.md +0 -0
  942. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-06-014-ff-g2-operations-dedup-plan.md +0 -0
  943. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-06-015-docs-upgrade-guide-consolidation-plan.md +0 -0
  944. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/2026-07-18-016-existence-tests-design.md +0 -0
  945. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/ir-first-migration-guide.md +0 -0
  946. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/plans/ir-first-release-checklist.md +0 -0
  947. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/research/migration-cli-config-prior-art.md +0 -0
  948. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/research/migration-prior-art.md +0 -0
  949. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/research/sqlite-schema-change-recipes.md +0 -0
  950. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/research/sqlx-migrate-internals.md +0 -0
  951. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/rfc/ir-contracts-v1.md +0 -0
  952. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/README.md +0 -0
  953. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/architecture-patterns/ir-first-lowering-consolidation-audit.md +0 -0
  954. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/architecture-patterns/ir-first-merge-readiness-review.md +0 -0
  955. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/issues/alembic-create-table-reissues-enum-type.md +0 -0
  956. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/issues/postgres-contention-was-a-guard-race.md +0 -0
  957. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/issues/pydantic-slots-missing-after-ferro-hydration.md +0 -0
  958. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/issues/pytest-examples-prefix-settings-need-quotes.md +0 -0
  959. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/issues/query-ir-version-pin-sweep.md +0 -0
  960. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/issues/sa-pk-column-nullable-divergence.md +0 -0
  961. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/issues/self-fk-evicts-component-from-create-order.md +0 -0
  962. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/issues/sqlite-integer-decimal-hydrates-as-none.md +0 -0
  963. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/issues/sqlite-null-hydrates-as-int-zero.md +0 -0
  964. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/issues/test-module-cleanup-disarms-alembic-bridge.md +0 -0
  965. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/issues/typed-where-null-panics-is-null.md +0 -0
  966. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/patterns/ddl-on-live-engine.md +0 -0
  967. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/patterns/docstring-conventions.md +0 -0
  968. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/patterns/historical-models-and-the-registry-swap.md +0 -0
  969. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/patterns/json-family-factory-migrate-backfill.md +0 -0
  970. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/patterns/persistence-state.md +0 -0
  971. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/patterns/position-paging-after.md +0 -0
  972. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/docs/solutions/patterns/sqlite-alembic-reconnect-hydration-tests.md +0 -0
  973. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/justfile +0 -0
  974. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/_deprecations.py +0 -0
  975. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/_sql_log.py +0 -0
  976. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/cli/__init__.py +0 -0
  977. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/cli/exit_codes.py +0 -0
  978. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/cli/migrate.py +0 -0
  979. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/cli/output.py +0 -0
  980. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/composite_indexes.py +0 -0
  981. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/composite_uniques.py +0 -0
  982. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/ir/__init__.py +0 -0
  983. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/migrations/__init__.py +0 -0
  984. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/migrations/_baseline.py +0 -0
  985. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/migrations/_chunk_loop.py +0 -0
  986. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/migrations/context.py +0 -0
  987. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/migrations/errors.py +0 -0
  988. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/migrations/historical.py +0 -0
  989. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/migrations/layout.py +0 -0
  990. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/migrations/report.py +0 -0
  991. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/migrations/rerecord.py +0 -0
  992. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/migrations/runner.py +0 -0
  993. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/migrations/scaffold.py +0 -0
  994. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/migrations/steps.py +0 -0
  995. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/migrations/target.py +0 -0
  996. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/migrations/testing.py +0 -0
  997. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/py.typed +0 -0
  998. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/query/__init__.py +0 -0
  999. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/query/rendered.py +0 -0
  1000. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/query/rows.py +0 -0
  1001. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/rowsecurity.py +0 -0
  1002. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/ferro/session.py +0 -0
  1003. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/src/schema_bind.rs +0 -0
  1004. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/__init__.py +0 -0
  1005. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/_alembic_harness.py +0 -0
  1006. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/_docs_shared.py +0 -0
  1007. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/_docs_sql.py +0 -0
  1008. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/_docs_twins.py +0 -0
  1009. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/db_backends.py +0 -0
  1010. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/codec_registry_core_v1.json +0 -0
  1011. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_account_exists_v14.json +0 -0
  1012. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_account_scoped_exists_v14.json +0 -0
  1013. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_card_after_null_slot_v14.json +0 -0
  1014. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_card_nulls_v14.json +0 -0
  1015. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_owner_nested_exists_v14.json +0 -0
  1016. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_owner_not_exists_v14.json +0 -0
  1017. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_transaction_aggregate_v14.json +0 -0
  1018. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_transaction_global_aggregate_v14.json +0 -0
  1019. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_transaction_include_v14.json +0 -0
  1020. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_transaction_left_join_v14.json +0 -0
  1021. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_transaction_record_v14.json +0 -0
  1022. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_transaction_traversal_v14.json +0 -0
  1023. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_transaction_traversed_record_v14.json +0 -0
  1024. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_add_columns_set_v14.json +0 -0
  1025. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_add_literal_set_v14.json +0 -0
  1026. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_after_v14.json +0 -0
  1027. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_before_v14.json +0 -0
  1028. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_compound_v14.json +0 -0
  1029. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_literal_set_v14.json +0 -0
  1030. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_m2m_exists_v14.json +0 -0
  1031. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_merge_set_v14.json +0 -0
  1032. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_mixed_set_v14.json +0 -0
  1033. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_not_compound_v14.json +0 -0
  1034. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_not_leaf_v14.json +0 -0
  1035. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/query_user_now_set_v14.json +0 -0
  1036. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/schema_invoice_baseline_v1.json +0 -0
  1037. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/schema_phase1_fixture_models_v1.json +0 -0
  1038. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/schema_raw_str_pk_autoincrement_v1.json +0 -0
  1039. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/schema_rename_hints_v2.json +0 -0
  1040. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/schema_retired_column_v2.json +0 -0
  1041. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/fixtures/ir_vectors/schema_squash_witness_v3.json +0 -0
  1042. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/static_fixtures/bad_updates.py +0 -0
  1043. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/static_fixtures/good_migrations_api.py +0 -0
  1044. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/static_fixtures/good_updates.py +0 -0
  1045. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_aggregation.py +0 -0
  1046. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_alembic_type_mapping.py +0 -0
  1047. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_alembic_typing.py +0 -0
  1048. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_annotation_utils.py +0 -0
  1049. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_bulk_create_chunking.py +0 -0
  1050. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_cli_help.py +0 -0
  1051. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_codec_plan.py +0 -0
  1052. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_connection_redaction.py +0 -0
  1053. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_db_backends.py +0 -0
  1054. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_db_type_integration.py +0 -0
  1055. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_deprecations.py +0 -0
  1056. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_docs_cli_reference.py +0 -0
  1057. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_docs_examples.py +0 -0
  1058. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_docs_harness.py +0 -0
  1059. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_docs_output.py +0 -0
  1060. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_docs_shared.py +0 -0
  1061. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_documentation_features.py +0 -0
  1062. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_enum_cold_hydration.py +0 -0
  1063. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_generate_enum_removal.py +0 -0
  1064. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_generate_enums.py +0 -0
  1065. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_generate_row_security.py +0 -0
  1066. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_identity_scoped_invalidation.py +0 -0
  1067. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_import_budget.py +0 -0
  1068. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_isolated_imports.py +0 -0
  1069. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_live_table_checks.py +0 -0
  1070. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_metadata.py +0 -0
  1071. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_migrate_baseline.py +0 -0
  1072. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_migrate_down.py +0 -0
  1073. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_migrate_inherit.py +0 -0
  1074. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_migrate_replace.py +0 -0
  1075. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_migrate_up.py +0 -0
  1076. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_named_connections_integration.py +0 -0
  1077. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_operation_seam_sync.py +0 -0
  1078. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_postgres_isolation.py +0 -0
  1079. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_query_immutability.py +0 -0
  1080. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_registry_swap.py +0 -0
  1081. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_rls_end_to_end.py +0 -0
  1082. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_route_single_site.py +0 -0
  1083. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_row_security_orphans.py +0 -0
  1084. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_run_lock.py +0 -0
  1085. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_save_pk_edges.py +0 -0
  1086. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_schema_enum_annotations.py +0 -0
  1087. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_sqlite_alembic_reconnect_hydration.py +0 -0
  1088. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_statement_log_run.py +0 -0
  1089. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_string_search.py +0 -0
  1090. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_temporal_types.py +0 -0
  1091. {ferro_orm-0.26.1 → ferro_orm-0.28.0}/tests/test_typed_save_bind.py +0 -0
@@ -0,0 +1,404 @@
1
+ name: CI
2
+
3
+ on:
4
+ workflow_call:
5
+ pull_request:
6
+ push:
7
+ branches: [main]
8
+ workflow_dispatch:
9
+
10
+ concurrency:
11
+ group: ci-${{ github.workflow }}-${{ github.ref }}
12
+ cancel-in-progress: true
13
+
14
+ permissions:
15
+ contents: read
16
+
17
+ env:
18
+ # Every job compiles Ferro's own crates from scratch (rust-cache keeps only
19
+ # dependencies): 2.5 to 4 minutes a job. sccache keys each rustc call by its
20
+ # inputs and stores the object in the Actions cache, so an unchanged crate is
21
+ # a download. Incremental compilation is off because sccache cannot cache it.
22
+ SCCACHE_GHA_ENABLED: "true"
23
+ RUSTC_WRAPPER: sccache
24
+ CARGO_INCREMENTAL: "0"
25
+
26
+ jobs:
27
+ lint-and-format:
28
+ name: Lint & Format (Pre-commit / Prek)
29
+ runs-on: ubuntu-latest
30
+ steps:
31
+ - name: Checkout repository
32
+ uses: actions/checkout@v4
33
+
34
+ - name: Set up Python
35
+ uses: actions/setup-python@v5
36
+ with:
37
+ python-version: '3.13'
38
+
39
+ - name: Install UV
40
+ uses: astral-sh/setup-uv@v5
41
+ with:
42
+ enable-cache: true
43
+
44
+ - name: Set up Rust
45
+ uses: dtolnay/rust-toolchain@stable
46
+ with:
47
+ components: rustfmt, clippy
48
+
49
+ - name: Cache compiled Rust crates
50
+ uses: mozilla-actions/sccache-action@v0.0.11
51
+
52
+ - name: Cache Rust build
53
+ uses: Swatinem/rust-cache@v2
54
+ with:
55
+ prefix-key: v1
56
+ save-if: ${{ github.ref == 'refs/heads/main' }}
57
+ cache-on-failure: true
58
+
59
+ - name: Cache pre-commit hook environments
60
+ uses: actions/cache@v4
61
+ with:
62
+ path: |
63
+ ~/.cache/pre-commit
64
+ ~/.cache/prek
65
+ key: precommit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }}
66
+
67
+ - name: Install dependencies
68
+ run: |
69
+ uv sync --only-group ci-lint --no-install-project --python 3.13
70
+
71
+ - name: Run all pre-commit hooks
72
+ run: |
73
+ uv run --no-sync --python 3.13 prek run --all-files
74
+
75
+ docs:
76
+ name: Docs build
77
+ runs-on: ubuntu-latest
78
+ steps:
79
+ - name: Checkout repository
80
+ uses: actions/checkout@v4
81
+
82
+ - name: Set up Python
83
+ uses: actions/setup-python@v5
84
+ with:
85
+ python-version: '3.13'
86
+
87
+ - name: Install UV
88
+ uses: astral-sh/setup-uv@v5
89
+ with:
90
+ enable-cache: true
91
+
92
+ - name: Set up Rust
93
+ uses: dtolnay/rust-toolchain@stable
94
+
95
+ - name: Cache compiled Rust crates
96
+ uses: mozilla-actions/sccache-action@v0.0.11
97
+
98
+ - name: Cache Rust build
99
+ uses: Swatinem/rust-cache@v2
100
+ with:
101
+ prefix-key: v1
102
+ shared-key: maturin-develop-py3.13
103
+ save-if: ${{ github.ref == 'refs/heads/main' }}
104
+ cache-on-failure: true
105
+
106
+ - name: Install documentation and test dependencies
107
+ run: |
108
+ uv sync --only-group ci-test --only-group docs --no-install-project --python 3.13
109
+
110
+ - name: Build Rust extension
111
+ run: |
112
+ uv run maturin develop
113
+
114
+ - name: Build Zensical site
115
+ run: |
116
+ uv run --no-sync zensical build --clean --strict
117
+
118
+ - name: Run the docs lint
119
+ run: |
120
+ uv run --no-sync python -m tests._docs_checks docs/pages docs/examples src/ferro
121
+
122
+
123
+ test-rust:
124
+ name: Rust tests
125
+ runs-on: ubuntu-latest
126
+ steps:
127
+ - name: Checkout repository
128
+ uses: actions/checkout@v4
129
+
130
+ - name: Set up Rust
131
+ uses: dtolnay/rust-toolchain@stable
132
+
133
+ - name: Set up Python
134
+ uses: actions/setup-python@v5
135
+ with:
136
+ python-version: "3.13"
137
+
138
+ - name: Cache compiled Rust crates
139
+ uses: mozilla-actions/sccache-action@v0.0.11
140
+
141
+ - name: Cache Rust build
142
+ uses: Swatinem/rust-cache@v2
143
+ with:
144
+ prefix-key: v2
145
+ save-if: ${{ github.ref == 'refs/heads/main' }}
146
+ cache-on-failure: true
147
+
148
+ - name: Run Rust tests
149
+ env:
150
+ PYO3_PYTHON: ${{ env.pythonLocation }}/bin/python
151
+ run: |
152
+ # extension-module skips libpython linking; disable it for tests so the
153
+ # cargo test binary can resolve Python symbols against the installed runtime.
154
+ # The `testing` feature pulls in pyo3/auto-initialize so unit tests that
155
+ # call Python::attach start the interpreter automatically.
156
+ cargo test --no-default-features --features testing
157
+
158
+ test-python-pr:
159
+ name: Python tests (PR / 3.13)
160
+ runs-on: ubuntu-latest
161
+ if: github.event_name == 'pull_request'
162
+ steps:
163
+ - name: Checkout repository
164
+ uses: actions/checkout@v4
165
+
166
+ - name: Set up Python
167
+ uses: actions/setup-python@v5
168
+ with:
169
+ python-version: '3.13'
170
+
171
+ - name: Install UV
172
+ uses: astral-sh/setup-uv@v5
173
+ with:
174
+ enable-cache: true
175
+
176
+ - name: Set up Rust
177
+ uses: dtolnay/rust-toolchain@stable
178
+
179
+ - name: Cache compiled Rust crates
180
+ uses: mozilla-actions/sccache-action@v0.0.11
181
+
182
+ - name: Cache Rust build
183
+ uses: Swatinem/rust-cache@v2
184
+ with:
185
+ prefix-key: v1
186
+ shared-key: maturin-develop-py3.13
187
+ save-if: ${{ github.ref == 'refs/heads/main' }}
188
+ cache-on-failure: true
189
+
190
+ - name: Install dependencies
191
+ run: |
192
+ uv sync --only-group ci-test --only-group docs --no-install-project --python 3.13
193
+
194
+ - name: Build Rust extension
195
+ run: |
196
+ uv run maturin develop
197
+
198
+ - name: Static type gate (ty, scoped)
199
+ run: |
200
+ uv run ty check src/ferro/query tests/test_query_typing.py tests/test_static_contracts.py tests/test_alembic_typing.py
201
+
202
+ - name: Run IR vector contract harness
203
+ run: |
204
+ uv run pytest -v tests/test_ir_vectors_contract.py
205
+
206
+ - name: Run pytest
207
+ run: |
208
+ uv run pytest -n logical --cov=src --cov-report=xml --cov-report=term
209
+
210
+ test-python-main:
211
+ name: Python tests (main / ${{ matrix.python-version }})
212
+ runs-on: ubuntu-latest
213
+ if: github.event_name != 'pull_request'
214
+ strategy:
215
+ fail-fast: false
216
+ matrix:
217
+ python-version: ['3.13', '3.14']
218
+ steps:
219
+ - name: Checkout repository
220
+ uses: actions/checkout@v4
221
+
222
+ - name: Set up Python
223
+ uses: actions/setup-python@v5
224
+ with:
225
+ python-version: ${{ matrix.python-version }}
226
+
227
+ - name: Install UV
228
+ uses: astral-sh/setup-uv@v5
229
+ with:
230
+ enable-cache: true
231
+
232
+ - name: Set up Rust
233
+ uses: dtolnay/rust-toolchain@stable
234
+
235
+ - name: Cache compiled Rust crates
236
+ uses: mozilla-actions/sccache-action@v0.0.11
237
+
238
+ - name: Cache Rust build
239
+ uses: Swatinem/rust-cache@v2
240
+ with:
241
+ prefix-key: v1
242
+ shared-key: maturin-develop-py${{ matrix.python-version }}
243
+ save-if: ${{ github.ref == 'refs/heads/main' }}
244
+ cache-on-failure: true
245
+
246
+ - name: Install dependencies
247
+ run: |
248
+ uv sync --only-group ci-test --only-group docs --no-install-project --python ${{ matrix.python-version }}
249
+
250
+ - name: Build Rust extension
251
+ run: |
252
+ uv run maturin develop
253
+
254
+ - name: Run IR vector contract harness
255
+ run: |
256
+ uv run pytest -v tests/test_ir_vectors_contract.py
257
+
258
+ - name: Run pytest
259
+ run: |
260
+ uv run pytest -n logical --cov=src --cov-report=xml --cov-report=term
261
+
262
+ - name: Upload coverage to Codecov
263
+ if: matrix.python-version == '3.13'
264
+ uses: codecov/codecov-action@v5
265
+ with:
266
+ token: ${{ secrets.CODECOV_TOKEN }}
267
+ fail_ci_if_error: true
268
+ files: ./coverage.xml
269
+ flags: python-${{ matrix.python-version }}
270
+ name: python-${{ matrix.python-version }}
271
+
272
+ test-python-backend-matrix:
273
+ name: Python backend matrix (Postgres ${{ matrix.postgres }}, shard ${{ matrix.shard }}/2)
274
+ # A slice PR into an integration branch skips the matrix; the open PR
275
+ # from that branch to main runs it on every merge into the branch.
276
+ if: github.event_name != 'pull_request' || github.base_ref == 'main'
277
+ runs-on: ubuntu-latest
278
+ strategy:
279
+ fail-fast: false
280
+ matrix:
281
+ postgres: ['17', '18']
282
+ shard: [1, 2]
283
+ services:
284
+ postgres:
285
+ image: postgres:${{ matrix.postgres }}
286
+ env:
287
+ POSTGRES_USER: ferro
288
+ POSTGRES_PASSWORD: ferro
289
+ POSTGRES_DB: ferro
290
+ ports:
291
+ - 5432:5432
292
+ options: >-
293
+ --health-cmd "pg_isready -U ferro -d ferro"
294
+ --health-interval 10s
295
+ --health-timeout 5s
296
+ --health-retries 5
297
+ env:
298
+ FERRO_SUPABASE_URL: postgresql://ferro:ferro@127.0.0.1:5432/ferro?sslmode=disable
299
+ steps:
300
+ - name: Checkout repository
301
+ uses: actions/checkout@v4
302
+
303
+ - name: Set up Python
304
+ uses: actions/setup-python@v5
305
+ with:
306
+ python-version: '3.13'
307
+
308
+ - name: Install UV
309
+ uses: astral-sh/setup-uv@v5
310
+ with:
311
+ enable-cache: true
312
+
313
+ - name: Set up Rust
314
+ uses: dtolnay/rust-toolchain@stable
315
+
316
+ - name: Cache compiled Rust crates
317
+ uses: mozilla-actions/sccache-action@v0.0.11
318
+
319
+ - name: Cache Rust build
320
+ uses: Swatinem/rust-cache@v2
321
+ with:
322
+ prefix-key: v1
323
+ shared-key: maturin-develop-py3.13
324
+ save-if: ${{ github.ref == 'refs/heads/main' }}
325
+ cache-on-failure: true
326
+
327
+ - name: Install dependencies
328
+ run: |
329
+ uv sync --only-group ci-test --no-install-project --python 3.13
330
+
331
+ - name: Build Rust extension
332
+ run: |
333
+ uv run maturin develop
334
+
335
+ - name: Run backend matrix tests
336
+ run: |
337
+ uv run pytest -n logical -m "backend_matrix or postgres_only" --db-backends=postgres --shard ${{ matrix.shard }}/2
338
+
339
+ check-conventional-commits:
340
+ name: Check Conventional Commits
341
+ runs-on: ubuntu-latest
342
+ if: github.event_name == 'pull_request'
343
+ steps:
344
+ - name: Checkout repository
345
+ uses: actions/checkout@v4
346
+ with:
347
+ fetch-depth: 0
348
+
349
+ - name: Set up Python
350
+ uses: actions/setup-python@v5
351
+ with:
352
+ python-version: '3.13'
353
+
354
+ - name: Install UV
355
+ uses: astral-sh/setup-uv@v5
356
+ with:
357
+ enable-cache: true
358
+
359
+ - name: Install commitizen
360
+ run: |
361
+ uv tool install commitizen
362
+
363
+ - name: Check commit messages
364
+ shell: bash
365
+ run: |
366
+ git fetch origin main
367
+ COMMITS=$(git log origin/main..HEAD --pretty=format:"%H")
368
+
369
+ for commit in $COMMITS; do
370
+ MESSAGE=$(git log -1 --pretty=format:"%s" $commit)
371
+
372
+ if [[ "$MESSAGE" == Merge* ]]; then
373
+ echo "Skipping merge commit: $MESSAGE"
374
+ continue
375
+ fi
376
+
377
+ echo "Checking commit: $MESSAGE"
378
+ if ! uv run --no-sync --python 3.13 cz check --commit-msg-file <(git log -1 --pretty=format:"%s%n%n%b" $commit); then
379
+ echo "❌ Commit message does not follow conventional format: $MESSAGE"
380
+ exit 1
381
+ fi
382
+ done
383
+
384
+ echo "All commit messages follow conventional format"
385
+
386
+ all-checks:
387
+ name: All Checks Passed
388
+ needs: [lint-and-format, docs, test-python-pr, test-python-main, test-python-backend-matrix, test-rust]
389
+ runs-on: ubuntu-latest
390
+ if: always()
391
+ steps:
392
+ - name: Check all jobs
393
+ shell: bash
394
+ run: |
395
+ ok() { [[ "$1" == "success" || "$1" == "skipped" ]]; }
396
+
397
+ if ! ok "${{ needs.lint-and-format.result }}"; then exit 1; fi
398
+ if ! ok "${{ needs.test-python-pr.result }}"; then exit 1; fi
399
+ if ! ok "${{ needs.test-python-main.result }}"; then exit 1; fi
400
+ if ! ok "${{ needs.test-python-backend-matrix.result }}"; then exit 1; fi
401
+ if ! ok "${{ needs.test-rust.result }}"; then exit 1; fi
402
+ if ! ok "${{ needs.docs.result }}"; then exit 1; fi
403
+
404
+ echo "All checks passed!"