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
{{ message }}
Repository navigation
Build a lifecycle event once, then consume it in stdout and OTLP #1744
The attrs slice is shared and the body comes from a shared constant, so those can't drift. Two things still can:
Severity. slog.LevelInfo lives at the call site, log.SeverityInfo lives on the Event.
The pairing. Nothing makes you call Emit at all. Add a third record with only slog.LogAttrs and it has no OTLP copy, and no test fails.
Proposal
Have actorevent own one emission helper that takes the event and the attrs and produces both outputs, with the slog level derived from Event.Severity rather than stored twice. One call per record, nothing left to keep in sync by hand.
Activity
(chore): Write both copies of an actor lifecycle event from one call (a…