feat(qe-m3-03): support jsonb casting in PostgresqlHistoryStore and implement database ingestion tests
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 0s
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 12s

This commit is contained in:
2026-07-12 22:03:53 +09:00
parent c67e116953
commit 157f17ec52
4 changed files with 155 additions and 3 deletions
@@ -25,7 +25,7 @@ public class PostgresqlHistoryStoreTests
new[] { "decision_id", "decided_at", "instrument_id", "action", "gate", "score", "source_version", "provenance" });
Assert.Equal(
"INSERT INTO engine_history.decision_result_history (decision_id, decided_at, instrument_id, action, gate, score, source_version, provenance) VALUES (@decision_id, @decided_at, @instrument_id, @action, @gate, @score, @source_version, @provenance)",
"INSERT INTO engine_history.decision_result_history (decision_id, decided_at, instrument_id, action, gate, score, source_version, provenance) VALUES (@decision_id, @decided_at, @instrument_id, @action, @gate, @score, @source_version, CAST(@provenance AS jsonb))",
sql);
}