fix(perception): correlate GC with active stages

This commit is contained in:
DCCONSTRUCTIONS
2026-08-25 18:44:57 +03:00
parent d1e6e42cf4
commit 1d706dd169
2 changed files with 63 additions and 23 deletions
+9 -2
View File
@@ -98,6 +98,13 @@ def test_gc_pause_telemetry_attributes_collection_to_active_stage() -> None:
assert summary["event_count"] == 1
assert summary["pipeline_attributed_event_count"] == 1
assert summary["maximum_event"]["generation"] == 2
assert summary["maximum_event"]["stage_id"] == "rolling"
assert summary["maximum_event"]["sequence"] == 3928
assert summary["maximum_event"]["trigger_stage_id"] == "rolling"
assert summary["maximum_event"]["trigger_sequence"] == 3928
assert summary["maximum_event"]["active_stages"] == [
{
"stage_id": "rolling",
"sequence": 3928,
"thread_name": "MainThread",
}
]
assert summary["maximum_event"]["duration_ms"] >= 1.0