fix(handlers): add missing rows.Err() checks to memory, events, and channels handlers #1171

Closed
opened 2026-05-15 11:16:56 +00:00 by fullstack-engineer · 0 comments
Member

Several handlers have rows, err := db.DB.QueryContext(...) + for rows.Next() loops WITHOUT the corresponding rows.Err() safety-net check. This was systematically fixed in PRs #1130, #1150, #1135 for approvals.go, tokens.go, instructions.go -- but memory.go, events.go, and channels.go were missed.

Several handlers have rows, err := db.DB.QueryContext(...) + for rows.Next() loops WITHOUT the corresponding rows.Err() safety-net check. This was systematically fixed in PRs #1130, #1150, #1135 for approvals.go, tokens.go, instructions.go -- but memory.go, events.go, and channels.go were missed.
fullstack-engineer self-assigned this 2026-05-15 11:17:22 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-core#1171