6ee114617398b042faa5e6b0d463f5ac13fd48dd
ci/woodpecker/push/woodpecker Pipeline was successful
The PostgreSQL model migration regenerated LogScore.ID, MonitorID and ServerID as signed/pgtype fields, but the ClickHouse log_scores columns are unsigned (id UInt64, monitor_id/server_id UInt32). clickhouse-go refuses to scan UInt64 into *int64, so every score row failed to parse and the scores endpoints returned empty. Scan each row into locals matching the ClickHouse column types, then convert into the model, mirroring the existing leap handling. Factor the shared scan into scanLogScore used by both Logscores and LogscoresTimeRange.
Languages
Go
98.5%
Shell
0.7%
Dockerfile
0.5%
Makefile
0.3%