• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

coder / slog
96%

Build:
DEFAULT BRANCH: main
Repo Added 05 Jan 2022 12:31PM UTC
Token RwaFMiyeLjsSbbPvnzRlCGnFaUGTPofYK regen
Build 146 Last
Files 11
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: main
CHANGE BRANCH
x
Reset
Sync Branches
  • main
  • TERM-4389
  • callum/human-perf
  • calm-sublogger
  • colin/fix-ci
  • colin/otel
  • colin/revert
  • colin/sync-test-logs
  • colin/update-all-deps
  • colin/x-term
  • dependabot/go_modules/cloud.google.com/go-0.100.1
  • dependabot/go_modules/cloud.google.com/go-0.100.2
  • dependabot/go_modules/cloud.google.com/go-0.107.0
  • dependabot/go_modules/cloud.google.com/go-0.108.0
  • dependabot/go_modules/cloud.google.com/go-0.109.0
  • dependabot/go_modules/cloud.google.com/go-0.110.2
  • dependabot/go_modules/cloud.google.com/go/compute-1.10.0
  • dependabot/go_modules/cloud.google.com/go/compute-1.11.0
  • dependabot/go_modules/cloud.google.com/go/compute-1.12.1
  • dependabot/go_modules/cloud.google.com/go/compute-1.13.0
  • dependabot/go_modules/cloud.google.com/go/compute-1.14.0
  • dependabot/go_modules/cloud.google.com/go/compute-1.6.1
  • dependabot/go_modules/cloud.google.com/go/compute-1.7.0
  • dependabot/go_modules/cloud.google.com/go/compute-1.8.0
  • dependabot/go_modules/cloud.google.com/go/compute-1.9.0
  • dependabot/go_modules/github.com/alecthomas/chroma-0.10.0
  • dependabot/go_modules/github.com/charmbracelet/lipgloss-0.9.1
  • dependabot/go_modules/github.com/fatih/color-1.14.0
  • dependabot/go_modules/github.com/fatih/color-1.14.1
  • dependabot/go_modules/github.com/google/go-cmp-0.5.7
  • dependabot/go_modules/github.com/google/go-cmp-0.5.8
  • dependabot/go_modules/github.com/google/go-cmp-0.5.9
  • dependabot/go_modules/github.com/google/go-cmp-0.6.0
  • dependabot/go_modules/github.com/muesli/termenv-0.15.2
  • dependabot/go_modules/go.opencensus.io-0.24.0
  • dependabot/go_modules/go.opentelemetry.io/otel/trace-1.19.0
  • dependabot/go_modules/golang.org/x/crypto-0.10.0
  • dependabot/go_modules/golang.org/x/crypto-0.11.0
  • dependabot/go_modules/golang.org/x/crypto-0.9.0
  • dependabot/go_modules/golang.org/x/net-0.17.0
  • dependabot/go_modules/golang.org/x/term-0.12.0
  • dependabot/go_modules/golang.org/x/term-0.13.0
  • dependabot/go_modules/golang.org/x/term-0.14.0
  • dependabot/go_modules/google.golang.org/grpc-1.57.1
  • dependabot/go_modules/otel-19afbd04db
  • dependabot/go_modules/otel-526f66d0b0
  • dependabot/go_modules/otel-87141668d4
  • dependabot/go_modules/otel-b6fd91a875
  • dependabot/go_modules/otel-be7620059b
  • dk/err-formatting
  • ethan/handle-sql-types-slogjson
  • fix-stackdriver
  • human
  • kvapi
  • mafredri-patch-1
  • mafredri/safer-istty
  • nuke-cf1b
  • refs/heads/main
  • refs/pull/184/merge
  • refs/pull/185/merge
  • refs/pull/186/merge
  • refs/pull/188/merge
  • refs/pull/189/merge
  • refs/pull/190/merge
  • refs/pull/194/merge
  • refs/pull/198/merge
  • spike/dont-panic
  • spike/ignore-context-canceled
  • spike/ignore-error-fn
  • spike/v3
  • terrastruct

23 Feb 2026 03:30PM UTC coverage: 96.026% (+0.01%) from 96.013%
284c50fc40d7c4f7943d62343aa2b156385b8a80

push

github

web-flow
fix: render error types as strings in human log sink (#224)

`formatValue` checked `reflect.Struct` before checking the `error`
interface, so struct-typed errors like `context.DeadlineExceeded`
were serialized via `json.Marshal` as `{}` instead of their error
string.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

3 of 3 new or added lines in 1 file covered. (100.0%)

894 of 931 relevant lines covered (96.03%)

25.39 hits per line

Relevant lines Covered
Build:
Build:
931 RELEVANT LINES 894 COVERED LINES
25.39 HITS PER LINE
Source Files on main
  • Tree
  • List 11
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
284c50fc... main fix: render error types as strings in human log sink (#224) `formatValue` checked `reflect.Struct` before checking the `error` interface, so struct-typed errors like `context.DeadlineExceeded` were serialized via `json.Marshal` as `{}` instead of... push 23 Feb 2026 03:31PM UTC web-flow github
96.03
348ac12d... main chore: update to v3 (#223) push 23 Dec 2025 11:36AM UTC web-flow github
96.01
99abaf9e... main fix!: don't panic, only accept typed log Fields (#222) * fix: don't panic, only accept typed log Fields * slogtest errors if we fail to stringify a field value push 23 Dec 2025 10:42AM UTC web-flow github
96.01
40ff1993... main perf: human log sink performance bump via reduction of allocs/total allocated memory (#220) Signed-off-by: Callum Styan <callumstyan@gmail.com> push 20 Nov 2025 10:47PM UTC web-flow github
95.7
9df5e0a6... main fix!: handle `sql/driver.Valuer` types properly in `slogjson` (#219) Currently, if a field like `sql.NullInt32` has `Valid: False`, `sloghuman` will export it's value as `<nil>`, regardless of it's `String`. This is because it checks `(driver.Va... push 03 Jul 2025 07:43AM UTC web-flow github
96.82
0ec81e6e... main feat: add IgnoreErrorFn to slogtest options (#217) Signed-off-by: Spike Curtis <spike@coder.com> push 12 Nov 2024 04:18AM UTC web-flow github
97.04
3e5cea5e... main ci: fix lint, fmt and upload artifacts (#218) * chore(.github): update actions/upload-artifacts push 08 Nov 2024 06:15AM UTC web-flow github
97.01
20367d4a... main feat: ignore context.Canceled by default in slogtest (#207) * feat: ignore context.Canceled by default in slogtest Signed-off-by: Spike Curtis <spike@coder.com> * code review suggestions Signed-off-by: Spike Curtis <spike@coder.com> -... push 26 Jan 2024 06:48AM UTC web-flow github
97.01
f0c466fa... main fix: add additional severity field to stackdriver (#194) push 29 Sep 2023 07:38PM UTC web-flow github
96.7
3e17d6de... main feat: add more prominent failure notice on slogtest error (#190) * feat: add more prominent failure notice on slogtest error Signed-off-by: Spike Curtis <spike@coder.com> * reinstated Fatal logs calling tb.Fatal Signed-off-by: Spike Curt... push 01 Sep 2023 04:32AM UTC web-flow github
96.7
See All Builds (146)

Badge your Repo: slog

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc