refactor(webui): unify live and replay event projection (#5819)

* refactor(webui): unify live and replay event projection

* chore(webui): mark legacy projection cleanup

* fix(webui): rewrite streamed replay media URLs
This commit is contained in:
chengyongru authored and GitHub committed 2026-09-20 13:52:43 +08:00
1 parent 3d4200ff0d
commit db675a43b6
14 files changed
+1726 -665

No files matched your search

@@ -56,8 +56,8 @@ def _normalize_projection(messages: list[dict[str, Any]]) -> list[dict[str, Any]
return normalized
def test_replay_matches_shared_live_projection_before_canonical_revision_migration() -> None:
"""Lock the known-equivalent subset without defining the future snapshot protocol."""
def test_legacy_message_projection_keeps_canonical_fixture_compatibility() -> None:
"""Keep the old-client and oversized-trace fallback compatible during migration."""
fixture = json.loads(_FIXTURE_PATH.read_text(encoding="utf-8"))
for case in fixture["cases"]: