Add github.com/klauspost/compress (v1.19.2) — scope: api-platform - #37
Add github.com/klauspost/compress (v1.19.2) — scope: api-platform#37Thushani-Jayasekera wants to merge 1 commit into
github.com/klauspost/compress (v1.19.2) — scope: api-platform#37Conversation
Included version >=v1.19.2 with allowed scope 'api-platform' in go.yaml.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughSummary
WalkthroughThe Go dependency registry adds Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
github.com/klauspost/compress (v1.19.2) — scope: api-platform
github.com/klauspost/compress (v1.19.2) — scope: api-platformgithub.com/klauspost/compress (v1.19.2) — scope: api-platform
Dependency Registry Analysis ReportSummaryTotal Registry Entries Changed: 1 See detailed analysis for more information
|
|
+1 from me. Go Mod of the library: https://github.com/klauspost/compress/blob/master/go.mod cc: @pubudu538 |
Registry change (
dependency-registry/go.yaml):1. Purpose of Dependency
Please describe the core functionality of the requested dependency:
2. Technical Justification
Explain why this cannot be achieved without introducing a new third-party library:
Scope of usage: deliberately narrow, and verified rather than assumed. Across the entire
api-platformworkspace there is exactly one import of this library:go list -deps -test ./...on the policy-engine confirms the reachable set iszstdand its own internal support packages only. The library's other codecs (s2,flate,zip,gzhttp, …) are not linked, and the standard library remains the implementation for gzip/deflate/zlib.The other seven workspace modules hold it only as
// indirect, which the registry validator (scripts/validate-go-dependencies.sh) skips — so>=v1.19.2does not need to accommodate theirv1.18.6.3. Dependency Health & Security Validation
By checking the boxes below, you confirm that you have evaluated the dependency against WSO2 engineering standards:
golang/snappyandcespare/xxhash) — all Apache-2.0-compatible. No copyleft components.zip/s2readers — are fixed well below this version and affect packages we do not import). The library has zero non-test module dependencies, so its transitive tree adds nothing further to the supply chain.Requested version and scope
>=v1.19.2— matches the version pinned as a direct require ingateway/gateway-runtime/policy-engine/go.modand allows routine patch/minor upgrades.api-platformonly. Not requested globally — gzip/deflate needs elsewhere are served by the standard library, and zstd is specific to the gateway's content-coding path.Downstream PR blocked by this
The API Platform Gateway PR refactoring zstd support to the policy-engine kernel fails dependency validation with
Module not found in dependency registryuntil this is merged.