Alexey Shuksto

Results 12 issues of Alexey Shuksto

The code below should just produce timeout, but it also prints `1` despite the fact that value was produced _after_ pause: ```scala Stream.eval(SignallingRef[IO].of(false)).flatMap { pause => Stream.sleep[IO](1.second).map(_ => 1).pauseWhen(pause).concurrently {...

bug

Implementation of proposed utility method in `Async` for double-check registration. Also implemented in `IO` itself and some tests. I've chosen `asyncPoll` as a name as method itself reminds me about...

It could be shown by a [simple test harness](https://scastie.scala-lang.org/bGCMtl8xR6exef5XRzug8Q) that 1. `IO.pure(1).start.map(_.join.flatMap(_.embedNever)) === IO(IO.pure(1))`, but 2. `IO.pure(1).background.map(_.flatMap(_.embedNever)) !== Resource.pure(IO.pure(1))`. I believe that with test `Eq[Resource[F, *]` instance like `Eq.by(_.use(F.pure))` above...

:beetle: bug

Could be shown with a simple test case (several run may be needed): ```scala import cats.effect.std.Console import cats.effect.{ IO, IOApp } import cats.syntax.all._ import scala.concurrent.duration._ object GuaranteeBroken extends IOApp.Simple {...

:beetle: bug

It may be intended, but right now circe-config is inconsistent with original config for Boolean values written as strings: ``` scala> import com.typesafe.config.ConfigFactory import com.typesafe.config.ConfigFactory scala> import io.circe.config.parser import io.circe.config.parser...

In Scala 3 declaration of `equals` is `def equals(obj: Any): Boolean = ???`. This means that any attempt to match on a class instance in `equals` body is met with...

good first issue
enhancement
DisableSyntax
scala3

This script wont log error when run with `scala-cli`: ```scala //> using scala "3.2.1" //> using option "-new-syntax" //> using dep "org.typelevel::cats-effect:3.5.0" import cats.effect.* object Main extends IOApp.Simple: val run:...

`scalac` respects `-source` option choices only if they are passed via colon to it: `-source:future`, `-source:future-migration`, etc. As far as I could understand, `sbt-tpolecat` passes all options along with arguments...

When we update our project to `sbt-fs2-grpc:2.7.10` and use it with `sbt-version-policy`, we suddenly get incompatible version change errors: ```console [error] Incompatibilities with dependencies of grpc:1.1.0 [error] com.google.guava:guava: incompatible version...

Steps to reproduce: ```console $ (~) > mkdir sbt-git-test && cd sbt-git-test $ (~/sbt-git-test ) > git init Initialized empty Git repository in ~/junk/.git/ $ (~/sbt-git-test ) > mkdir project...