feat: sync latest ARR implementation
This commit is contained in:
@@ -158,7 +158,7 @@ class ArtifactToolBuilder:
|
||||
or summary.get("as_of_date") != report.as_of_date.isoformat()
|
||||
or summary.get("sheet_names") != expected_names
|
||||
or summary.get("row_counts") != expected_rows
|
||||
or summary.get("formula_count") != 0
|
||||
or summary.get("formula_count") != report.row_count
|
||||
or summary.get("preview_count") != len(report.channels)
|
||||
or not isinstance(summary.get("semantic_sha256"), str)
|
||||
or len(summary["semantic_sha256"]) != 64
|
||||
@@ -356,7 +356,12 @@ class AtomicReportPublisher:
|
||||
byte_size=result_path.stat().st_size,
|
||||
mime_type="application/json",
|
||||
)
|
||||
repository.activate_report(reservation, artifact, result_json)
|
||||
repository.activate_report(
|
||||
reservation,
|
||||
artifact,
|
||||
result_json,
|
||||
str(built.summary.get("semantic_sha256", "")),
|
||||
)
|
||||
return PublicationOutcome(
|
||||
latest_path=latest_path,
|
||||
latest_result_path=latest_result_path,
|
||||
|
||||
Reference in New Issue
Block a user