Archive location (Gitea issue 7): ARCHIVE_ROOT, Admin file-locations API, archive-copy job, doctor check
A filed packet's sealed data book, documents and a manifest are copied to the archive folder by the worker. A failed copy never blocks filing: it is retried with backoff and raises the archive_failed condition. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -143,7 +143,7 @@ def test_get_seeds_every_rule(c: TestClient, base: Settings) -> None:
|
||||
body = c.get(ADMIN).json()
|
||||
assert body["dry_run"] is True and body["subject_prefix"] == "[Packet Station TEST]"
|
||||
assert body["smtp"] == {"host": base.smtp_host, "port": base.smtp_port, "from": base.smtp_from, "starttls": True}
|
||||
assert len(body["rules"]) == 13
|
||||
assert len(body["rules"]) == 14
|
||||
r = next(x for x in body["rules"] if x["event_type"] == "drawing_failing")
|
||||
assert r["label"] == "Drawing lookup failing" and r["param"] == {"name": "hours", "value": 24, "default": 24}
|
||||
assert r["enabled"] is True and r["delivery"] == "immediate" and r["digest_time"] == "07:00"
|
||||
|
||||
Reference in New Issue
Block a user