feat: add controlled source ingestion and replay
All checks were successful
Build and Publish Container Image / build-and-push (push) Successful in 38s

Assistant: codex
Assistant-Model: gpt-5.6-sol
Assistant-Session: 01a02b22-9638-76d2-bbff-b7ea1770b118
This commit is contained in:
tegwick 2026-08-22 23:57:37 +02:00
parent b95fba9a9f
commit 879012c776
16 changed files with 1156 additions and 154 deletions

View file

@ -23,9 +23,16 @@ def test_initial_migration_upgrades_and_downgrades(tmp_path: Path) -> None:
assert set(inspect(engine).get_table_names()) == {
"alembic_version",
"entries",
"operation_receipts",
"repositories",
"snapshots",
}
assert "source_ref_json" in {
column["name"] for column in inspect(engine).get_columns("repositories")
}
assert "source_provenance_json" in {
column["name"] for column in inspect(engine).get_columns("snapshots")
}
assert {index["name"] for index in inspect(engine).get_indexes("entries")} == {
"ix_entries_license",
"ix_entries_repo",