Skip to content

datastores: getLatestForumPostDates degrades to empty map on query error — lastForumPostDate silently blank on 200s #155

@SyniRon

Description

@SyniRon

Found during the wave-2 silent-failure review (pre-existing, shared by both stacks).

datastores/mysql.go:599 (getLatestForumPostDates): on query error it logs and returns an empty map — every lastForumPostDate in a roster/search response silently degrades to "" on a 200 during a partial outage. Logged at least, but the caller cannot distinguish degraded from genuinely-empty.

Fix shape: propagate the error so the route's outage path answers (or return a sentinel the caller converts). Needs the same parity-ruling caveat as the sibling ticket: the current degrade shape is what production has always served.

Metadata

Metadata

Assignees

Labels

7cavbugSomething isn't workingready-for-agentFully specified, ready for an AFK agent to implement

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions