You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tests: align [APEH] with current handleIncomingRequest collision contract
The test asserted the old throw-on-collision behavior, but
AppClientAccount.handleIncomingRequest was rewritten earlier to handle
collisions gracefully (log + return existing for same-apiEndpoint, log + create
new for different-apiEndpoint — see the explicit comment on line 49). The
implementation contract is now: id-based keys make eventId-only collisions a
no-op; apiEndpoint collisions yield a fresh CollectorClient with its own key.
The test was failing on every CI run since at least 0.7.x, surfaced again
during Plan 45 work. Updated assertions to match the current contract:
- Same apiEndpoint + bogus eventId → returns the existing CollectorClient
- Different apiEndpoint + same key → returns a fresh CollectorClient
The reset() / status-incoming check at the end still passes unchanged.
469 passing locally (was 468 + 1 failing).
0 commit comments