Dmitriy Matrenichev

Results 27 issues of Dmitriy Matrenichev

This is somewhat strange, but based on [this](https://travis-ci.org/streadway/amqp/jobs/179461194) build there is probably data race around `sendM` mutex and `conn.Close()`. In theory one goroutine (1) can get `me.IsClosed() == false` and...

bug

Given the ``` service MyService { rpc myMethod (myMethodRequest) returns (myMethodResponse) { option (google.api.http) = { get: "/method/all" }; } } message myMethodRequest { repeated Scoped scope = 1; message...

enhancement
help wanted

We are in process of tracking down panic during `leveldb.(*DB).NewIterator` call, but instead of closing and shutting down, we would like to recreate db (it's possible for us). So my...

Now that we have implemented and added Go-structs 2 protobuf encoder/decoder we should add generator which will generate proto definitions from those structs. Relevant: - https://github.com/siderolabs/talos/issues/4417 - https://github.com/siderolabs/talos/issues/4416

Patch version linter upgrade. Signed-off-by: Dmitriy Matrenichev

status/ok-to-test

Repro: ``` package gorules import "github.com/quasilyte/go-ruleguard/dsl" func reproCapture(m dsl.Matcher) { m.Match(`type $t struct { $*body }`). Do(printRepro) } func printRepro(context *dsl.DoContext) { text := context.Var("body").Text() context.SetReport(text) } ```

For example - it will get the `github.com/mattn/go-colorable` and `github.com/mattn/go-isatty` for `github.com/fatih/color`, but will not get the transitive dependency of `golang.org/x/sys/unix` from https://github.com/mattn/go-isatty/blob/master/isatty_solaris.go#L7

Bump golangci-lint to v1.50.0 Signed-off-by: Dmitriy Matrenichev

status/ok-to-test

## Feature Request We should implement protobuf enums generator from Go source files. ### Description Right now, we manually generate `api/resource/definitions/enums/enums.proto`. This is not a good solution, since it can...

> should we add `--mount=type=cache,target=/.cache` to re-use build cache? > > _Originally posted by @smira in https://github.com/siderolabs/talos/pull/6165#discussion_r962754104_ On my tests I didn't notice any performance benefit to do so, but...