feat: deploy cloud-only RMM and verify audited APT diagnostics
Rust development slice / linux (push) Failing after 7s

This commit is contained in:
2026-11-13 13:49:11 +01:00
parent 6c3203d725
commit fbef0e4e2f
48 changed files with 3125 additions and 34 deletions
+6 -1
View File
@@ -73,7 +73,12 @@ def now():
def timestamp(value):
require(isinstance(value, str), 'timestamp_type')
parsed = dt.datetime.fromisoformat(value.replace('Z', '+00:00'))
# Rust/chrono emits RFC3339 nanoseconds. Python 3.10 accepts only up to
# microseconds in fixed fractional widths. Retain the raw evidence; pad or
# truncate only the comparison, including variable-width PostgreSQL times.
comparable = re.sub(r'\.(\d+)(?=Z$|[+-]\d{2}:\d{2}$)',
lambda match: '.'+(match[1]+'000000')[:6], value)
parsed = dt.datetime.fromisoformat(comparable.replace('Z', '+00:00'))
require(parsed.utcoffset() is not None, 'timestamp_timezone_required')
return parsed