Checkpoint: 858b34ef56b8

Entire-Session: 7916ffa0-cf9e-4cb7-a75f-8a1db33c75bd
Entire-Strategy: manual-commit
Entire-Agent: Claude Code
Ephemeral-branch: entire/7f3eb44-e3b0c4
This commit is contained in:
2026-03-16 20:03:32 +01:00
parent 13607be94f
commit 9fff22afce
6 changed files with 177 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
# Session Context
## User Prompts
### Prompt 1
Implement the following plan:
# Plan: Improve scanJob logging
## Context
`scanJob` in `internal/repository/job.go` (line 162) logs a `Warn` for every scan error, including the very common `sql.ErrNoRows` case. This produces noisy, unhelpful log lines like:
```
WARN Error while scanning rows (Job): sql: no rows in result set
```
Two problems:
1. `sql.ErrNoRows` is a normal, expected condition (callers are documented to check for it). It should not produce a warning.
2. When a real scan er...