Deploy AIOS web (React glide grid + FastAPI slice)
Browse files- RELEASES.json +1 -1
- VERSION +1 -1
- platform/harness/amazon_store.py +14 -1
- web/public/AIOS_DEPLOY_RECEIPT +1 -1
RELEASES.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
{
|
| 2 |
-
"current": "
|
| 3 |
"releases": []
|
| 4 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"current": "3743bd155",
|
| 3 |
"releases": []
|
| 4 |
}
|
VERSION
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
3743bd155
|
platform/harness/amazon_store.py
CHANGED
|
@@ -228,6 +228,10 @@ FIRST_LOAD_RECENT_DAYS = MAX_WINDOW_DAYS
|
|
| 228 |
#: about 2.7 h. A first load therefore runs in BOUNDED passes, or it would hold the resident
|
| 229 |
#: thread for hours and the Odoo resync behind it would never run.
|
| 230 |
FIRST_LOAD_REPORTS_PER_PASS = 15
|
|
|
|
|
|
|
|
|
|
|
|
|
| 231 |
BACKFILL_FLOOR_PREFIX = "sync_floor_"
|
| 232 |
FIRST_LOAD_END_KEY = "sync_first_load_end"
|
| 233 |
FIRST_LOAD_STATUS_KEY = "sync_first_load_status"
|
|
@@ -3744,7 +3748,7 @@ def _sync_candidate(tenant_key="royal-imports", tables=None, since=None, log=pri
|
|
| 3744 |
return count
|
| 3745 |
|
| 3746 |
work, plans, paired, contexts = [], {}, {}, {}
|
| 3747 |
-
documents, settlement_remaining = 0, 0
|
| 3748 |
failed, landed = set(), set()
|
| 3749 |
pending_reports = set()
|
| 3750 |
sqp_asins, sqp_limit = [], None
|
|
@@ -3764,6 +3768,13 @@ def _sync_candidate(tenant_key="royal-imports", tables=None, since=None, log=pri
|
|
| 3764 |
"refusedAsins": old_limit.get("refusedAsins", {}), "errors": old_limit.get("errors", []),
|
| 3765 |
"partialMonthReason": "The current partial month is deferred until it closes; Search Query Performance requires a complete calendar month."}
|
| 3766 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3767 |
def sqp_problem(message):
|
| 3768 |
report["problems"].append(message)
|
| 3769 |
log(message)
|
|
@@ -4013,6 +4024,7 @@ def _sync_candidate(tenant_key="royal-imports", tables=None, since=None, log=pri
|
|
| 4013 |
count = _sync_margin_window(con, table, fields, w0, w1,
|
| 4014 |
max_wait=max_wait, log=log)
|
| 4015 |
probe.finish(count)
|
|
|
|
| 4016 |
written += count
|
| 4017 |
landed_window = True
|
| 4018 |
if table in LEGACY_SNAPSHOT_TABLES:
|
|
@@ -4121,6 +4133,7 @@ def _sync_candidate(tenant_key="royal-imports", tables=None, since=None, log=pri
|
|
| 4121 |
_record_reconciliation(con, table, {"start": _iso(w0), "end": _iso(w1),
|
| 4122 |
"count": len(rows)})
|
| 4123 |
probe.finish(len(rows) if cols else 0)
|
|
|
|
| 4124 |
if first_load:
|
| 4125 |
for reached in (table, sibling):
|
| 4126 |
if reached:
|
|
|
|
| 228 |
#: about 2.7 h. A first load therefore runs in BOUNDED passes, or it would hold the resident
|
| 229 |
#: thread for hours and the Odoo resync behind it would never run.
|
| 230 |
FIRST_LOAD_REPORTS_PER_PASS = 15
|
| 231 |
+
#: Rows one first-load pass writes before it takes no further document. A pacing bound, never a cap:
|
| 232 |
+
#: the pass publishes and the next continues, so Brand Analytics months (3.7M rows and about 25
|
| 233 |
+
#: minutes each) never hold the sync desk for hours (D-7081).
|
| 234 |
+
FIRST_LOAD_ROWS_PER_PASS = 3_000_000
|
| 235 |
BACKFILL_FLOOR_PREFIX = "sync_floor_"
|
| 236 |
FIRST_LOAD_END_KEY = "sync_first_load_end"
|
| 237 |
FIRST_LOAD_STATUS_KEY = "sync_first_load_status"
|
|
|
|
| 3748 |
return count
|
| 3749 |
|
| 3750 |
work, plans, paired, contexts = [], {}, {}, {}
|
| 3751 |
+
documents, settlement_remaining, pass_rows = 0, 0, 0
|
| 3752 |
failed, landed = set(), set()
|
| 3753 |
pending_reports = set()
|
| 3754 |
sqp_asins, sqp_limit = [], None
|
|
|
|
| 3768 |
"refusedAsins": old_limit.get("refusedAsins", {}), "errors": old_limit.get("errors", []),
|
| 3769 |
"partialMonthReason": "The current partial month is deferred until it closes; Search Query Performance requires a complete calendar month."}
|
| 3770 |
|
| 3771 |
+
def spend_rows(rows):
|
| 3772 |
+
"""A first-load pass past its row bound spends its document budget; the next pass continues."""
|
| 3773 |
+
nonlocal documents, pass_rows
|
| 3774 |
+
pass_rows += rows
|
| 3775 |
+
if first_load and isinstance(report_budget, int) and pass_rows >= FIRST_LOAD_ROWS_PER_PASS:
|
| 3776 |
+
documents = max(documents, report_budget)
|
| 3777 |
+
|
| 3778 |
def sqp_problem(message):
|
| 3779 |
report["problems"].append(message)
|
| 3780 |
log(message)
|
|
|
|
| 4024 |
count = _sync_margin_window(con, table, fields, w0, w1,
|
| 4025 |
max_wait=max_wait, log=log)
|
| 4026 |
probe.finish(count)
|
| 4027 |
+
spend_rows(count)
|
| 4028 |
written += count
|
| 4029 |
landed_window = True
|
| 4030 |
if table in LEGACY_SNAPSHOT_TABLES:
|
|
|
|
| 4133 |
_record_reconciliation(con, table, {"start": _iso(w0), "end": _iso(w1),
|
| 4134 |
"count": len(rows)})
|
| 4135 |
probe.finish(len(rows) if cols else 0)
|
| 4136 |
+
spend_rows(len(rows) if cols else 0)
|
| 4137 |
if first_load:
|
| 4138 |
for reached in (table, sibling):
|
| 4139 |
if reached:
|
web/public/AIOS_DEPLOY_RECEIPT
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
26bc1979c690ddeed82695d659f7292f420157c5091a7a294e7aef35fdbf4901
|