harden: per-item robustness + deadlines/caps across connectors; layered tests
Mail: _safe_decode + _iter_messages (per-mail try/except) -> eine kaputte Mail (charset x-unknown) bricht die Suche nicht mehr ab, findet so auch uralte Mails. Vollscan + Datum-Sort + MAX_SCAN/DEADLINE_S (Selbstheilung, kein 24h-Haenger mehr). Files: search_files mit SEARCH_DEADLINE_S + SEARCH_MAX_DIRS begrenzt (war unbegrenzte rekursive PROPFIND -> real 35s/449 Calls). Calendar/Contacts: PARSE_DEADLINE_S fuer client-seitiges vobject-Parsen; MAX_RESULTS-Output-Cap in get_events/get_tasks (war 10939 Zeilen bei 6000 Events); search Top-N + Hinweise. Tests: in Schichten getrennt -> Smoke (nightly), Edge + Stress (on-demand). Neu: test_smoke/test_edge/test_stress + conftest-Marker + run_full_tests.sh, nightly laeuft nur Smoke. Kontakt-Foto-Roundtrip-Test, Mail-Edge-Mails (x-unknown, kaputter Header, 2009er Alt-Mail). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
936ebc2f56
commit
c9ccb4392b
+43
@@ -0,0 +1,43 @@
|
||||
Content-Type: multipart/mixed; boundary="===============0315165645846539514=="
|
||||
MIME-Version: 1.0
|
||||
From: projekt@example.com
|
||||
To: mcptest@local
|
||||
Subject: Projektdateien
|
||||
Date: Tue, 17 Jun 2026 10:00:00 +0200
|
||||
|
||||
--===============0315165645846539514==
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
MIME-Version: 1.0
|
||||
Content-Transfer-Encoding: base64
|
||||
|
||||
QXJjaGl2IHVuZCBOb3RpemVuLg==
|
||||
|
||||
--===============0315165645846539514==
|
||||
Content-Type: application/octet-stream
|
||||
MIME-Version: 1.0
|
||||
Content-Transfer-Encoding: base64
|
||||
Content-Disposition: attachment; filename="archive.zip"
|
||||
|
||||
UEsDBBQAAAAAAG8+01xNvKCxLQAAAC0AAAAJAAAAbm90ZXMudHh0RWluZmFjaGUgVGV4dGRhdGVp
|
||||
LgpaZWlsZSAyLgpVbWxhdXRlOiBhZW9ldWUKUEsDBBQAAAAAAG8+01wa5IaIGQAAABkAAAAIAAAA
|
||||
ZGF0YS5jc3ZuYW1lLHdlcnQKQWxwaGEsMQpCZXRhLDIKUEsBAhQDFAAAAAAAbz7TXE28oLEtAAAA
|
||||
LQAAAAkAAAAAAAAAAAAAALCBAAAAAG5vdGVzLnR4dFBLAQIUAxQAAAAAAG8+01wa5IaIGQAAABkA
|
||||
AAAIAAAAAAAAAAAAAACwgVQAAABkYXRhLmNzdlBLBQYAAAAAAgACAG0AAACTAAAAAAA=
|
||||
|
||||
--===============0315165645846539514==
|
||||
Content-Type: application/octet-stream
|
||||
MIME-Version: 1.0
|
||||
Content-Transfer-Encoding: base64
|
||||
Content-Disposition: attachment; filename="notes.txt"
|
||||
|
||||
RWluZmFjaGUgVGV4dGRhdGVpLgpaZWlsZSAyLgpVbWxhdXRlOiBhZW9ldWUK
|
||||
|
||||
--===============0315165645846539514==
|
||||
Content-Type: application/octet-stream
|
||||
MIME-Version: 1.0
|
||||
Content-Transfer-Encoding: base64
|
||||
Content-Disposition: attachment; filename="data.csv"
|
||||
|
||||
bmFtZSx3ZXJ0CkFscGhhLDEKQmV0YSwyCg==
|
||||
|
||||
--===============0315165645846539514==--
|
||||
Reference in New Issue
Block a user