Exercise appliance secret projection, truncation and device-only UI states
Rust development slice / linux (push) Failing after 12s

This commit is contained in:
2026-11-19 20:10:36 +01:00
parent 50b1fa4033
commit 6bf6e2539c
3 changed files with 54 additions and 2 deletions
+2 -2
View File
@@ -49,9 +49,9 @@ def rows(provider):
return dict(status='partial' if partial else 'ok', entries=entries)
def configured():
def configured(config_path='/conf/config.xml'):
# Project only these model paths and display fields. Never serialize XML.
with open('/conf/config.xml', 'rb') as f:
with open(config_path, 'rb') as f:
data = f.read(8 * 1024 * 1024 + 1)
if len(data) > 8 * 1024 * 1024:
raise ValueError('config size')