Skip to content

*: update to go.yaml.in/yaml/v3#129

Merged
oxisto merged 6 commits intomainfrom
oxisto/cleanup-part2
Feb 8, 2026
Merged

*: update to go.yaml.in/yaml/v3#129
oxisto merged 6 commits intomainfrom
oxisto/cleanup-part2

Conversation

@oxisto
Copy link
Copy Markdown
Contributor

@oxisto oxisto commented Feb 7, 2026

This was not completely finished in the last one. It is a problem of testify, but they are working on it (see stretchr/testify#1772).

This hopefully fixes that

oxisto and others added 4 commits February 5, 2026 18:53
This PR does a cleanup after the assessment PR introduced some unncessary dependencies.
Waiting for open-policy-agent/opa#6754 to be merged. This removes 15-16 dependencies that we dont use 🎉
This was not completly finished in the last one. It is a problem of testify, but they are working on it (see stretchr/testify#1772).

This hopefully fixes that
@oxisto oxisto requested a review from immqu as a code owner February 7, 2026 23:30
Copilot AI review requested due to automatic review settings February 7, 2026 23:30
@oxisto oxisto changed the title oxisto/cleanup part2 *: update to go.yaml.in/yaml/v3 Feb 7, 2026
@oxisto oxisto changed the title *: update to go.yaml.in/yaml/v3 *: update to go.yaml.in/yaml/v3 Feb 7, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR focuses on dependency cleanup and consistency updates across the workspace, including switching YAML v3 imports to go.yaml.in/yaml/v3, moving remaining error handling away from gRPC status errors toward Connect errors, and updating dependency versions (including OPA).

Changes:

  • Replace gopkg.in/yaml.v3 imports with go.yaml.in/yaml/v3 in core services/tests.
  • Migrate some error handling from google.golang.org/grpc/status/codes to connectrpc.com/connect errors.
  • Update and reorder Go module/workspace dependencies (core/go.mod, core/go.sum, go.work.sum).

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

Show a summary per file
File Description
go.work.sum Updated workspace dependency checksums after dependency cleanup/updates.
core/service/orchestrator/metrics.go Switch YAML v3 import to go.yaml.in/yaml/v3.
core/service/assessment/assessment.go Replace gRPC status errors with Connect errors in handleEvidence and adjust related comments/imports.
core/policies/rego.go Use Connect error codes instead of gRPC status parsing when handling “not found” cases.
core/policies/policies_test.go Switch YAML v3 import to go.yaml.in/yaml/v3 in tests.
core/go.mod Dependency cleanup/reorg; update OPA and add go.yaml.in/yaml/v3.
core/go.sum Updated checksums to match updated core dependencies.
confirmate.code-workspace Extend workspace spell-check word list for project-specific identifiers.

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

Files with missing lines Coverage Δ
core/service/orchestrator/metrics.go 87.16% <ø> (ø)

@oxisto oxisto merged commit 52259f7 into main Feb 8, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants