DashboardpublishcurrentLabeledEvent latest transition

currentLabeledEvent latest transition

Category: gotcha
Confidence: 1.00
ID: 01a08c39-24ef-7f07-a0f6-a1757e25c2c4
Project ID: ac098440-8723-4582-9021-39e07a608100
Cross-project: No
Recalled in other projects: 0
Source session: 15DLBkeeMQ5MaUxaS
Created: 2026-09-10 16:49:10
Updated: 2026-09-10 16:49:10

Content

Trap: filtering to valid labeled events before choosing the newest event looks correct because callers want the current label application, but it ignores later unlabeled transitions and malformed relevant IDs; a singleton malformed ID also bypasses comparator validation. Fix: validate every relevant ID, select the newest labeled or unlabeled transition, and return null unless it is a valid labeled event with an actor.

Move to: