fsanyoto commited on
Commit
c96b9f0
·
verified ·
1 Parent(s): 245a656

Deploy AIOS web (React glide grid + FastAPI slice)

Browse files
RELEASES.json CHANGED
@@ -1,4 +1,4 @@
1
  {
2
- "current": "5eef1d5336f",
3
  "releases": []
4
  }
 
1
  {
2
+ "current": "cddf6c79613",
3
  "releases": []
4
  }
VERSION CHANGED
@@ -1 +1 @@
1
- 5eef1d5336f
 
1
+ cddf6c79613
api/routes_odoo_tables.py CHANGED
@@ -4724,6 +4724,23 @@ def _window_diagnostic_hash(value):
4724
  _WINDOW_DIAGNOSTIC_BYTES = 65536
4725
 
4726
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4727
  def _window_population_diagnostic(site, table_key, cur, before, after,
4728
  version_before, version_after, *, kind='mirror_revision'):
4729
  """Emit one bounded value-free observation without changing the original refusal."""
@@ -4750,6 +4767,7 @@ def _window_population_diagnostic(site, table_key, cur, before, after,
4750
  left = before[0][1][index] if before[0] is not None else None
4751
  right = after[0][1][index] if after[0] is not None else None
4752
  components[name] = component(left, right)
 
4753
  left, right = before[1][-1], after[1][-1]
4754
  if type(left) is int and type(right) is int:
4755
  components['generation']['install_delta'] = right - left
 
4724
  _WINDOW_DIAGNOSTIC_BYTES = 65536
4725
 
4726
 
4727
+ def _window_file_stat_changes(left, right):
4728
+ """Compare exact captured stat tuples without exposing their values."""
4729
+ def status(value):
4730
+ if value is None:
4731
+ return 'missing'
4732
+ if (type(value) is tuple and len(value) == 5
4733
+ and all(type(part) is int for part in value)):
4734
+ return 'valid'
4735
+ return 'invalid'
4736
+
4737
+ changes = {'before_status': status(left), 'after_status': status(right)}
4738
+ valid = changes['before_status'] == changes['after_status'] == 'valid'
4739
+ for index, name in enumerate(('device', 'inode', 'size', 'mtime_ns', 'ctime_ns')):
4740
+ changes[name] = left[index] != right[index] if valid else None
4741
+ return changes
4742
+
4743
+
4744
  def _window_population_diagnostic(site, table_key, cur, before, after,
4745
  version_before, version_after, *, kind='mirror_revision'):
4746
  """Emit one bounded value-free observation without changing the original refusal."""
 
4767
  left = before[0][1][index] if before[0] is not None else None
4768
  right = after[0][1][index] if after[0] is not None else None
4769
  components[name] = component(left, right)
4770
+ components[name]['stat_changes'] = _window_file_stat_changes(left, right)
4771
  left, right = before[1][-1], after[1][-1]
4772
  if type(left) is int and type(right) is int:
4773
  components['generation']['install_delta'] = right - left
web/public/AIOS_DEPLOY_RECEIPT CHANGED
@@ -1 +1 @@
1
- 5c44e645639570cde0659c50f5c3a4760cc78124ed4be67f8b0044f629063e56
 
1
+ 4a481cc7dd406d5f8607cae69c611ccd8e3fffec344f7baa3103ae7bac028b76