Spaces:
Running

fsanyoto commited on
Commit
78d7dca
·
verified ·
1 Parent(s): a5c375b

Deploy AIOS web (React glide grid + FastAPI slice)

Browse files
RELEASES.json CHANGED
@@ -1,4 +1,4 @@
1
  {
2
- "current": "f84886bee4",
3
  "releases": []
4
  }
 
1
  {
2
+ "current": "e030a38f44",
3
  "releases": []
4
  }
VERSION CHANGED
@@ -1 +1 @@
1
- f84886bee4
 
1
+ e030a38f44
platform/harness/amazon_store.py CHANGED
@@ -649,10 +649,11 @@ def scheduled_sync_plan(tenant_key, *, rt, now=None):
649
  "SELECT entity, phase, rows, updated_at, cursor_wd FROM _sync_state "
650
  "WHERE starts_with(entity, ?)", [prefix]).fetchall()}
651
  account = _account_prefix(entry["connection_id"])
652
- marks = {entity: {"state": phase, "detail": detail} for entity, phase, detail in con.execute(
653
- "SELECT entity, phase, cursor_wd FROM _sync_state WHERE entity IN (SELECT unnest(?))",
654
- [[account + entity_key(family + table) for table in ticks for family in ("", "refused_")]]).fetchall()
655
- } if ticks else {}
 
656
  ticks = {table: _no_reason_retry_tick(tick, marks.get(account + entity_key(table)),
657
  marks.get(account + entity_key("refused_" + table)))
658
  for table, tick in ticks.items()}
 
649
  "SELECT entity, phase, rows, updated_at, cursor_wd FROM _sync_state "
650
  "WHERE starts_with(entity, ?)", [prefix]).fetchall()}
651
  account = _account_prefix(entry["connection_id"])
652
+ wanted = {account + entity_key(family + table) for table in ticks for family in ("", "refused_")}
653
+ # The same single query shape as the ticks: the planner reads cadence rows only.
654
+ marks = {entity: {"state": phase, "detail": detail} for entity, phase, _rows, _at, detail in con.execute(
655
+ "SELECT entity, phase, rows, updated_at, cursor_wd FROM _sync_state "
656
+ "WHERE starts_with(entity, ?)", [account]).fetchall() if entity in wanted} if ticks else {}
657
  ticks = {table: _no_reason_retry_tick(tick, marks.get(account + entity_key(table)),
658
  marks.get(account + entity_key("refused_" + table)))
659
  for table, tick in ticks.items()}
web/public/AIOS_DEPLOY_RECEIPT CHANGED
@@ -1 +1 @@
1
- b606b2f1e8abe65e1be54303a4282af9a47fbc1d4335c7fef3310387484274a9
 
1
+ 16880c435dcefe65595f06ea3eedffbc2573084281d27d4a81cff226a8503846