pkg updates #2294

Merged
mfreeman451 merged 5 commits from refs/pull/2294/head into main 2025-10-06 05:49:51 +00:00
mfreeman451 commented 2025-10-06 02:47:27 +00:00 (Migrated from github.com)
Owner

Imported from GitHub pull request.

Original GitHub pull request: #1723
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/pull/1723
Original created: 2025-10-06T02:47:27Z
Original updated: 2025-10-06T05:49:57Z
Original head: carverauto/serviceradar:update/package_iupdates
Original base: main
Original merged: 2025-10-06T05:49:51Z by @mfreeman451

PR Type

Other


Description

  • Update Go dependencies to latest versions

  • Upgrade NATS client from v1.45.0 to v1.46.1

  • Update Google Protocol Buffers to v1.36.10

  • Modernize go-openapi/swag package structure


Diagram Walkthrough

flowchart LR
  deps["Dependencies"] --> nats["NATS v1.46.1"]
  deps --> protobuf["Protobuf v1.36.10"]
  deps --> openapi["OpenAPI Swag v0.25.1"]
  deps --> cloud["Cloud Metadata v0.9.0"]

File Walkthrough

Relevant files
Dependencies
go.mod
Update Go module dependencies                                                       

go.mod

  • Update direct dependencies: NATS, protobuf, cloud metadata
  • Update indirect dependencies: go-jose, openapi packages, grpc-gateway
  • Remove deprecated swag subpackages and add new yaml dependency
  • Consolidate go-openapi/swag package structure
+20/-26 
go.sum
Update dependency checksums                                                           

go.sum

  • Update checksums for all modified dependencies
  • Add new dependency checksums for updated packages
  • Remove checksums for deprecated/removed packages
  • Reflect structural changes in go-openapi/swag packages
+43/-52 

Imported from GitHub pull request. Original GitHub pull request: #1723 Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/pull/1723 Original created: 2025-10-06T02:47:27Z Original updated: 2025-10-06T05:49:57Z Original head: carverauto/serviceradar:update/package_iupdates Original base: main Original merged: 2025-10-06T05:49:51Z by @mfreeman451 --- ### **PR Type** Other ___ ### **Description** - Update Go dependencies to latest versions - Upgrade NATS client from v1.45.0 to v1.46.1 - Update Google Protocol Buffers to v1.36.10 - Modernize go-openapi/swag package structure ___ ### Diagram Walkthrough ```mermaid flowchart LR deps["Dependencies"] --> nats["NATS v1.46.1"] deps --> protobuf["Protobuf v1.36.10"] deps --> openapi["OpenAPI Swag v0.25.1"] deps --> cloud["Cloud Metadata v0.9.0"] ``` <details> <summary><h3> File Walkthrough</h3></summary> <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Dependencies</strong></td><td><table> <tr> <td> <details> <summary><strong>go.mod</strong><dd><code>Update Go module dependencies</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> go.mod <ul><li>Update direct dependencies: NATS, protobuf, cloud metadata<br> <li> Update indirect dependencies: go-jose, openapi packages, grpc-gateway<br> <li> Remove deprecated swag subpackages and add new yaml dependency<br> <li> Consolidate go-openapi/swag package structure</ul> </details> </td> <td><a href="https://github.com/carverauto/serviceradar/pull/1723/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6">+20/-26</a>&nbsp; </td> </tr> <tr> <td> <details> <summary><strong>go.sum</strong><dd><code>Update dependency checksums</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> go.sum <ul><li>Update checksums for all modified dependencies<br> <li> Add new dependency checksums for updated packages<br> <li> Remove checksums for deprecated/removed packages<br> <li> Reflect structural changes in go-openapi/swag packages</ul> </details> </td> <td><a href="https://github.com/carverauto/serviceradar/pull/1723/files#diff-3295df7234525439d778f1b282d146a4f1ff6b415248aaac074e8042d9f42d63">+43/-52</a>&nbsp; </td> </tr> </table></td></tr></tr></tbody></table> </details> ___
qodo-code-review[bot] commented 2025-10-06 02:47:47 +00:00 (Migrated from github.com)
Author
Owner

Imported GitHub PR comment.

Original author: @qodo-code-review[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/1723#issuecomment-3369748251
Original created: 2025-10-06T02:47:47Z

PR Compliance Guide 🔍

Below is a summary of compliance checks for this PR:

Security Compliance
🟢
No security concerns identified No security vulnerabilities detected by AI analysis. Human verification advised for critical code.
Ticket Compliance
🎫 No ticket provided
  • Create ticket/issue
Codebase Duplication Compliance
Codebase context is not defined

Follow the guide to enable codebase context checks.

Custom Compliance
No custom compliance provided

Follow the guide to enable custom compliance check.

  • Update
Compliance status legend 🟢 - Fully Compliant
🟡 - Partial Compliant
🔴 - Not Compliant
- Requires Further Human Verification
🏷️ - Compliance label
Imported GitHub PR comment. Original author: @qodo-code-review[bot] Original URL: https://github.com/carverauto/serviceradar/pull/1723#issuecomment-3369748251 Original created: 2025-10-06T02:47:47Z --- ## PR Compliance Guide 🔍 <!-- https://github.com/carverauto/serviceradar/commit/2843704e2acf8703e0d88fd7515f3686bee23903 --> Below is a summary of compliance checks for this PR:<br> <table><tbody><tr><td colspan='2'><strong>Security Compliance</strong></td></tr> <tr><td>🟢</td><td><details><summary><strong>No security concerns identified</strong></summary> No security vulnerabilities detected by AI analysis. Human verification advised for critical code. </details></td></tr> <tr><td colspan='2'><strong>Ticket Compliance</strong></td></tr> <tr><td>⚪</td><td><details><summary>🎫 <strong>No ticket provided </summary></strong> - [ ] Create ticket/issue <!-- /create_ticket --create_ticket=true --> </details></td></tr> <tr><td colspan='2'><strong>Codebase Duplication Compliance</strong></td></tr> <tr><td>⚪</td><td><details><summary><strong>Codebase context is not defined </strong></summary> Follow the <a href='https://qodo-merge-docs.qodo.ai/core-abilities/rag_context_enrichment/'>guide</a> to enable codebase context checks. </details></td></tr> <tr><td colspan='2'><strong>Custom Compliance</strong></td></tr> <tr><td>⚪</td><td><details><summary><strong>No custom compliance provided</strong></summary> Follow the <a href='https://qodo-merge-docs.qodo.ai/tools/compliance/'>guide</a> to enable custom compliance check. </details></td></tr> <tr><td align="center" colspan="2"> - [ ] Update <!-- /compliance --update_compliance=true --> </td></tr></tbody></table> <details><summary>Compliance status legend</summary> 🟢 - Fully Compliant<br> 🟡 - Partial Compliant<br> 🔴 - Not Compliant<br> ⚪ - Requires Further Human Verification<br> 🏷️ - Compliance label<br> </details>
qodo-code-review[bot] commented 2025-10-06 02:48:44 +00:00 (Migrated from github.com)
Author
Owner

Imported GitHub PR comment.

Original author: @qodo-code-review[bot]
Original URL: https://github.com/carverauto/serviceradar/pull/1723#issuecomment-3369749433
Original created: 2025-10-06T02:48:44Z

PR Code Suggestions

Explore these optional code suggestions:

CategorySuggestion                                                                                                                                    Impact
Possible issue
Align go-openapi package versions

Align all go-openapi packages to a consistent version, such as v0.22.x, to
prevent potential build failures or unexpected behavior caused by the current
mix of versions.

go.mod [59-68]

-	github.com/go-openapi/jsonpointer v0.22.1 // indirect
-	github.com/go-openapi/jsonreference v0.21.2 // indirect
-	github.com/go-openapi/spec v0.22.0 // indirect
-	github.com/go-openapi/swag/conv v0.25.1 // indirect
-	github.com/go-openapi/swag/jsonname v0.25.1 // indirect
-	github.com/go-openapi/swag/jsonutils v0.25.1 // indirect
-	github.com/go-openapi/swag/loading v0.25.1 // indirect
-	github.com/go-openapi/swag/stringutils v0.25.1 // indirect
-	github.com/go-openapi/swag/typeutils v0.25.1 // indirect
-	github.com/go-openapi/swag/yamlutils v0.25.1 // indirect
+	github.com/go-openapi/jsonpointer v0.22.9 // indirect
+	github.com/go-openapi/jsonreference v0.22.9 // indirect
+	github.com/go-openapi/spec v0.22.9 // indirect
+	github.com/go-openapi/swag v0.22.9 // indirect
  • Apply / Chat
Suggestion importance[1-10]: 6

__

Why: The suggestion correctly identifies that the versions of go-openapi packages are inconsistent, which can lead to compatibility issues, and proposes a valid solution to align them to a consistent version.

Low
  • Update
Imported GitHub PR comment. Original author: @qodo-code-review[bot] Original URL: https://github.com/carverauto/serviceradar/pull/1723#issuecomment-3369749433 Original created: 2025-10-06T02:48:44Z --- ## PR Code Suggestions ✨ <!-- 2843704 --> Explore these optional code suggestions: <table><thead><tr><td><strong>Category</strong></td><td align=left><strong>Suggestion&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </strong></td><td align=center><strong>Impact</strong></td></tr><tbody><tr><td rowspan=1>Possible issue</td> <td> <details><summary>Align go-openapi package versions</summary> ___ **Align all <code>go-openapi</code> packages to a consistent version, such as <code>v0.22.x</code>, to <br>prevent potential build failures or unexpected behavior caused by the current <br>mix of versions.** [go.mod [59-68]](https://github.com/carverauto/serviceradar/pull/1723/files#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6R59-R68) ```diff - github.com/go-openapi/jsonpointer v0.22.1 // indirect - github.com/go-openapi/jsonreference v0.21.2 // indirect - github.com/go-openapi/spec v0.22.0 // indirect - github.com/go-openapi/swag/conv v0.25.1 // indirect - github.com/go-openapi/swag/jsonname v0.25.1 // indirect - github.com/go-openapi/swag/jsonutils v0.25.1 // indirect - github.com/go-openapi/swag/loading v0.25.1 // indirect - github.com/go-openapi/swag/stringutils v0.25.1 // indirect - github.com/go-openapi/swag/typeutils v0.25.1 // indirect - github.com/go-openapi/swag/yamlutils v0.25.1 // indirect + github.com/go-openapi/jsonpointer v0.22.9 // indirect + github.com/go-openapi/jsonreference v0.22.9 // indirect + github.com/go-openapi/spec v0.22.9 // indirect + github.com/go-openapi/swag v0.22.9 // indirect ``` - [ ] **Apply / Chat** <!-- /improve --apply_suggestion=0 --> <details><summary>Suggestion importance[1-10]: 6</summary> __ Why: The suggestion correctly identifies that the versions of `go-openapi` packages are inconsistent, which can lead to compatibility issues, and proposes a valid solution to align them to a consistent version. </details></details></td><td align=center>Low </td></tr> <tr><td align="center" colspan="2"> - [ ] Update <!-- /improve_multi --more_suggestions=true --> </td><td></td></tr></tbody></table>
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carverauto/serviceradar!2294
No description provided.