Caleb Spare

Results 71 issues of Caleb Spare

When I try to insert multiple rows at once, I get a RethinkDB error. This is fine: ``` go if err := r.Table("counters").Insert(rows[0]).Run(session).One(response); err != nil { ``` this doesn't...

This would be nice when you've fixed an alert and you'd like watchman to verify.

enhancement

I find "max retries" confusing. "Max" is confusing because it's actually the highest allowed number of attempts, and N+1 attempts cause the check to fail. Intuitively, if I set "max...

In the Overview tab, it's not particularly easy to see what the checks are for a single role. Options: - Be able to select a particular role and then filter...

enhancement

You can delete all the checks, but the role persists. We should be able to directly delete the role.

enhancement

Writing graphite/shadow checks, I end up with a lot of characters (`*`, `{`, `

enhancement

I'm adding some fairly expensive checks and just pinging them, say, once every 5 or 10 minutes is probably fine. What if there were a field for frequency (automatically filled...

enhancement

### Go version go version go1.22.3 linux/amd64 ### Output of `go env` in your module/workspace: ```shell GO111MODULE='' GOARCH='amd64' GOBIN='/home/caleb/bin' GOCACHE='/home/caleb/.cache/go-build' GOENV='/home/caleb/.config/go/env' GOEXE='' GOEXPERIMENT='' GOFLAGS='' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMODCACHE='/home/caleb/p/go/pkg/mod' GONOPROXY='' GONOSUMDB=''...

NeedsInvestigation
GoCommand

### Go version go1.21.13 linux/amd64 ### Output of `go env` in your module/workspace: ```shell GO111MODULE='' GOARCH='amd64' GOBIN='/home/caleb/bin' GOCACHE='/home/caleb/.cache/go-build' GOENV='/home/caleb/.config/go/env' GOEXE='' GOEXPERIMENT='' GOFLAGS='' GOHOSTARCH='amd64' GOHOSTOS='linux' GOINSECURE='' GOMODCACHE='/home/caleb/go/pkg/mod' GONOPROXY='' GONOSUMDB='' GOOS='linux' GOPATH='/home/caleb/go'...

NeedsInvestigation

Since the introduction of `strings.CutPrefix` and `strings.CutSuffix` I've started noticing code that should use `strings.TrimPrefix`/`strings.TrimSuffix` instead: ``` x, _ := strings.CutPrefix(y, "abc") ``` I just implemented the trivial analyzer for...

new-check