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

go-pkgz / auth / 32643976278
86%
master: 86%

Build:
Build:
LAST BUILD BRANCH: feat/partitioned-cookies
DEFAULT BRANCH: master
Ran 23 Aug 2026 01:59PM UTC
Jobs 1
Files 25
Run time 1min
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

23 Aug 2026 01:58PM UTC coverage: 86.097% (+0.05%) from 86.05%
32643976278

Pull #317

github

paskal
Restore the pixel coverage the byte counts were providing

The rewrite traded exact encoded sizes for geometry, and geometry alone cannot
tell a drawn identicon from a blank canvas of the same dimensions. Mutating
GenerateAvatar to emit an empty 300x300 PNG passes the entire suite on both
modules, where master catches it in TestIntegrationAvatar, TestAvatar_PutIdenticon
and TestAvatar_PutFailed, because a blank image encodes to a different size.
So the brittle assertions were inspecting pixel content by accident, and
removing them opened a gap rather than closing one.

assertStoredImage now also rejects a uniform image, and the three tests that
decode a served avatar do the same. The blank-identicon mutation fails four
tests, and the lost-Scale mutation still fails TestAvatar_resize.

Also corrects the reset subtest's comment, which explained the repeated cookie
attributes by cookie identity. Identity is name, domain and path, which is why
Reset writing HttpOnly false over a cookie Set wrote HttpOnly true replaces it
normally. The attributes matter because Chrome and Firefox reject SameSite=None
without Secure, so a discarded removal cookie leaves the original in place.
Pull Request #317: Cover the cookie attributes from Opts, and assert the avatar path instead of byte counts

3214 of 3733 relevant lines covered (86.1%)

9.62 hits per line

Jobs
ID Job ID Ran Files Coverage
1 32643976278.1 23 Aug 2026 01:59PM UTC 25
86.1
GitHub Action Run
Source Files on build 32643976278
  • Tree
  • List 25
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #317
  • PR Base - master (#32226875382)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc