fix: improve log reliability and correlation

This commit is contained in:
chengyongru authored and chengyongru committed 2026-09-21 17:36:24 +08:00
1 parent 8eea1cb7a4
commit 8a7ca8a654
21 files changed
+698 -91

No files matched your search

+1
View File
@@ -112,6 +112,7 @@ async def test_stream_true_returns_sse(aiohttp_client) -> None:
)
assert resp.status == 200
assert resp.content_type == "text/event-stream"
assert resp.headers["X-Request-ID"]
body = await resp.text()
lines = [line for line in body.split("\n") if line.startswith("data: ")]