feat: move report artifacts to OSS storage

This commit is contained in:
Wyndham ARR
2026-08-04 12:37:26 +08:00
parent 727643f1f2
commit a2b86cdf10
45 changed files with 1288 additions and 1417 deletions

View File

@@ -46,6 +46,8 @@ ROLE_CONTRACTS = {
"source_xml": ("opera_xml", ".xml", "application/xml"),
"booking_source": ("booking_excel", ".xlsx", XLSX_MIME),
"daily_report": ("daily_xlsx", ".xlsx", XLSX_MIME),
"monthly_report": ("monthly_xlsx", ".xlsx", XLSX_MIME),
"company_report": ("company_ten_day_xlsx", ".xlsx", XLSX_MIME),
"result_json": ("result_json", ".json", "application/json"),
"structured_result_json": (
"structured_result_json",
@@ -58,6 +60,8 @@ ARTIFACT_SIZE_LIMITS = {
"source_xml": 100 * 1024 * 1024,
"booking_source": 25 * 1024 * 1024,
"daily_report": 100 * 1024 * 1024,
"monthly_report": 100 * 1024 * 1024,
"company_report": 100 * 1024 * 1024,
"result_json": 5 * 1024 * 1024,
"structured_result_json": 50 * 1024 * 1024,
"exception_report": 20 * 1024 * 1024,