The mood command has received two related fixes.
Some MariaDB drivers already return decoded Perl strings. The previous implementation could attempt to decode that text again, causing a public command failure with a Wide character exception.
MB711 now accepts both decoded Unicode strings and raw UTF-8 bytes without double-decoding them. Emoji and accented text therefore travel safely from the database to IRC.
MB712 makes every part of a Mood response use the same frozen observation boundary.
The mood percentage, energy level, positive signals, punctuation, top emoji, active contributors and daily peak are now calculated from one consistent snapshot. The clock can no longer move between individual queries and produce a response assembled from slightly different time windows.
In short: no accidental Time-Turner halfway through the command. ⏳
The only full-suite failure was an unrelated timing-sensitive ScriptRunner assertion that completed in 5.02 seconds against a strict 5.00-second boundary. Its isolated verification immediately passed 13/13. The full suite was deliberately not repeated.
b7cce63 MB712: make Mood Unicode-safe and time-consistent — Pensieve sealed 🪄🌡️
3.4dev-20260901_104651masterThe owl has reached GitHub. Production deployment remains a separate, controlled step. 🦉
You must be logged in to reply.