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

99designs / gqlgen / 19376397356
0%

Build:
DEFAULT BRANCH: master
Ran 14 Nov 2025 08:15PM UTC
Jobs 1
Files 0
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

14 Nov 2025 08:12PM UTC coverage: 0.0%. Remained the same
19376397356

push

github

web-flow
Migrate from archived go-yaml to goccy/go-yaml (#3913)

* Migrate from archived go-yaml to goccy/go-yaml

Replaces gopkg.in/yaml.v3 with github.com/goccy/go-yaml to address
the archived status of the original library and ensure continued
maintenance and security updates.

Changes:
- Updated go.mod dependency to github.com/goccy/go-yaml v1.18.0
- Updated import and decoder API in codegen/config/config.go
- Added defensive panic recovery for malformed YAML tags
- Updated test error message assertions for new library format
- Added comprehensive fuzz testing (FuzzReadConfig)

Testing:
- All existing tests pass (60+ packages)
- Fuzz testing performed (497,967 iterations)
- Found and handled edge case with malformed YAML tags
- Integration tests verified (server builds, code generation works)
- Example projects compile and run

The new error messages from goccy/go-yaml are more user-friendly,
including visual pointers to show exactly where errors occur.

Fixes #3667

* Fix go.mod formatting: move indirect dependency to correct block

* Fix Windows test failures with platform-specific line ending assertions

* Add goccy/go-yaml to _examples/tools.go to fix circular dependency

The code generator (run via go run ../../testdata/gqlgen.go) depends
on goccy/go-yaml transitively through codegen/config. Adding it to
tools.go ensures go mod tidy preserves this dependency, following
the same pattern used for dataloaden and golang.org/x/text.

Also updated:
- _examples/enum/gqlgen.yaml: Quote TRUE/FALSE keys (goccy YAML spec compliance)
- codegen/config/config_test.go: Update error message expectations (goccy uses \n on all platforms)

Fixes circular dependency where go mod tidy would remove goccy from
_examples/go.sum, causing subsequent code generation to fail.

* Fix Windows test failures: handle mixed line endings in YAML error messages

goccy/go-yaml uses \n for error message formatting but preserves
original line endings from YAML file content. On Windows with... (continued)

0 of 0 relevant lines covered (NaN%)

0.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 19376397356.1 14 Nov 2025 08:15PM UTC 0
0.0
GitHub Action Run
Source Files on build 19376397356
Detailed source file information is not available for this build.
  • Back to Repo
  • a843ca6d on github
  • Prev Build on master (#19345226466)
  • Next Build on master (#19379610518)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc