test(e2e): remove obsolete chat-desktop activity-log assertion (core#2796) #2830
Reference in New Issue
Block a user
Delete Branch "fix/2796-activity-log-selector"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #2796.
Finding:
[data-testid=activity-log]is still present inChatTab.tsx, but it only renders whenthinking && activityLog.length > 0. TheactivityLogarray is populated exclusively from backendACTIVITY_LOGGEDWebSocket events. The echo-runtime fixture is a plain HTTP responder and never emits those events, so the "activity log appears during send" E2E test could never observe the element and was effectively skipped/failing silently.Action:
chat-desktop.spec.ts.Trigger activitydelay branch inecho-runtime.tsthat existed only to keep the dead assertion alive.e2e-chat.yml.Local verification:
npx playwright test e2e/chat-desktop.spec.ts --listnow reports 7 tests (was 8).npx eslint e2e/chat-desktop.spec.ts e2e/fixtures/echo-runtime.tsclean (pre-existing warnings only).npx tsc --noEmitunchanged pre-existing errors unrelated to this change.SOP checklist
REQUEST_CHANGES on head
c25ca7dd.The diff itself is scoped and directionally reasonable: it removes the obsolete
activity log appears during sendPlaywright assertion, removes the echo-runtime delay that only existed to feed that assertion, and updates the stale E2E Chat workflow comment. No production code or security surface changes.I cannot approve yet because the requested CI proof is not met. The prompt asked to verify the code lanes as genuinely green real runs, not no-op passes. On this head:
No-op pass (paths filter excluded this commit); checkout/setup/Postgres/Redis/platform/canvas/Playwright were all skipped.Because this PR removes a Playwright E2E assertion and changes the echo fixture, the decisive lane is E2E Chat (or an equivalent real workflow_dispatch run on
c25ca7dd). Please provide a real E2E Chat run on the current head, or explain why no-op E2E proof is acceptable for this E2E-only cleanup. Once that real run is green, I expect this to be approvable.APPROVED on head
c25ca7ddbc.Verified code CI: combined status is red only because of #2770 ceremony contexts (
qa-review,security-review,reserved-path-review,gate-check-v3, SOP checklist). Real code lanes are green: CI / all-required success, Canvas Next.js success in 3m46s with 241 test files / 3479 tests passed, Platform/Shellcheck success, E2E Staging Canvas success, E2E API success, E2E Chat emitter success. The heavy E2E Chat Playwright job is an intentional normal-PR no-op because the PR is not merge-queue-labeled, not a hidden failure.5-axis: removing
chat-desktop.spec.ts'sactivity log appears during sendassertion is correct because the echo fixture does not emitACTIVITY_LOGGED, so the assertion is a false signal rather than meaningful coverage. The relatedecho-runtime.tsremoval of the special 800ms delay is appropriate because that delay existed only to make the obsolete assertion observable. The workflow comment cleanup matches the test removal. Diff is scoped to the expected three files and does not disturb the echo text/file-render assertions that still cover the desktop chat path.APPROVED on head
c25ca7dd, clearing my prior RC #11616 under the clarified scope.The diff is scoped to removing the obsolete chat-desktop activity-log assertion, removing the echo-runtime delay that existed specifically to make that assertion observable, and updating the stale workflow comment. The echo runtime still returns the same response shape; the removed 800ms delay was keyed to the deleted
Trigger activitytest path and is not a shared behavior the remaining chat-desktop assertions depend on.CI state checked on
c25ca7dd:No correctness, robustness, security, performance, or readability concerns.