Skip to content

[upstream #16245] #16245: unseen-replies e2e asserts an absolute unread count on the shared user #131

Description

@berry-13

Seen on LibreChat-AI#16245 CI: e2e (memory, shard 3/3) failed on 2 of 3 attempts (runs 36145255108 first attempt and 36151188309), passing on rerun with identical code.

e2e/specs/mock/scenarios/unseen-replies.spec.ts asserts the absolute unread title count (/^\(2\)/) for the shared E2E user after seeding two unread conversations, and received (3) LibreChat. Any spec earlier in the same shard that leaves a conversation with a reply the user has not seen (the streaming specs step-reducer and streaming-markdown-blocks run just before it in shard 3) inflates the count, so the result depends on shard composition and stream timing.

Fix: assert the count relative to a baseline read before seeding, or clear the user's unread state in the spec's setup.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: e2ereviewctl followups statereadyreviewctl followups statetestreviewctl followups state

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions