Hi all,

  I wanted to bring up a minor concern of mine that I've seen becoming
more frequent in Go Team-maintained packages over the past few months.
It seems that we are pretty quick to just disable a failing test,
rather than trying to actually fix it and, once disabled, there's not
much (if any) context given to help future uploaders decide if the test
should remain disabled or not. Just papering over failing tests is a
disservice as the action may be hiding legitimate issues that could
affect users.

  As a specific example, a new version of golang-github-zitadel-oidc
was recently uploaded which disabled a test. (I happened to notice this
since it's on my QA page. Simon, I'm not directing criticism
specifically at you, this just happened to bring my concern to front of
mind again. Thanks for the continued cleanup you've been doing of Go
Team packages.)

  When I look at the debci logs for this package for
testing/{armhf,i386}[0,1], it's been consistently passing until the
recent upload of golang-github-go-jose-go-jose. The specific test that
fails ("TestJsonWebKeySet_UnmarshalJSON") points to exercising
functionality that the go-jose library provides.

  Because of this, my initial thought is that there's some issue with
the latest release of golang-github-go-jose-go-jose on 32bit
architectures. Maybe the affected code isn't exercised in that
library's tests, so autopkgtests didn't catch it. But just disabling
the newly-failing test in golang-github-zitadel-oidc may be sweeping a
legitimate issue under the rug, and who knows where else this issue may
then crop up for users once forky is released?

  In an i386 Incus container, I've verified that golang-github-zitadel-
oidc's tests in v3.53.0 pass just fine with with golang-github-go-jose-
go-jose v4.1.6, but v4.1.7 and later cause that test to fail. So, it's
pretty clear there's an actual issue in go-jose.

Mathias

[0] -- 
https://ci.debian.net/packages/g/golang-github-zitadel-oidc/testing/armhf/
[1] -- https://ci.debian.net/packages/g/golang-github-zitadel-oidc/testing/i386/

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to