GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — chore(deps): bump the go-dependencies group with 10 updates by dependabot[bot] · Pull Request #1071 · kosli-dev/cli Conversation
Contributor
Bumps the go-dependencies group with 10 updates:
Updates CommitsUpdates CommitsUpdates CommitsUpdates CommitsUpdates Commits
Updates Commits
Updates CommitsUpdates Release notesSourced from github.com/go-git/go-git/v5's releases.
Commits
Updates Release notesSourced from github.com/open-policy-agent/opa's releases.
... (truncated) ChangelogSourced from github.com/open-policy-agent/opa's changelog.
... (truncated) Commits
Updates Release notesSourced from google.golang.org/grpc's releases.
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting Dependabot commands and optionsYou can trigger Dependabot actions by commenting on this PR:
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsBumps the go-dependencies group with 10 updates: | Package | From | To | | --- | --- | --- | | [github.com/aws/aws-sdk-go-v2](https://github.com/aws/aws-sdk-go-v2) | `1.43.1` | `1.43.2` | | [github.com/aws/aws-sdk-go-v2/config](https://github.com/aws/aws-sdk-go-v2) | `1.32.32` | `1.32.33` | | [github.com/aws/aws-sdk-go-v2/credentials](https://github.com/aws/aws-sdk-go-v2) | `1.19.31` | `1.19.32` | | [github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager](https://github.com/aws/aws-sdk-go-v2) | `0.3.6` | `0.3.7` | | [github.com/aws/aws-sdk-go-v2/service/ecs](https://github.com/aws/aws-sdk-go-v2) | `1.89.1` | `1.89.2` | | [github.com/aws/aws-sdk-go-v2/service/lambda](https://github.com/aws/aws-sdk-go-v2) | `1.100.1` | `1.101.0` | | [github.com/aws/aws-sdk-go-v2/service/s3](https://github.com/aws/aws-sdk-go-v2) | `1.106.1` | `1.106.2` | | [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) | `5.19.1` | `5.19.2` | | [github.com/open-policy-agent/opa](https://github.com/open-policy-agent/opa) | `1.18.2` | `1.19.0` | | [google.golang.org/grpc](https://github.com/grpc/grpc-go) | `1.82.1` | `1.83.0` | Updates `github.com/aws/aws-sdk-go-v2` from 1.43.1 to 1.43.2 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](aws/aws-sdk-go-v2@v1.43.1...v1.43.2) Updates `github.com/aws/aws-sdk-go-v2/config` from 1.32.32 to 1.32.33 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](aws/aws-sdk-go-v2@config/v1.32.32...config/v1.32.33) Updates `github.com/aws/aws-sdk-go-v2/credentials` from 1.19.31 to 1.19.32 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](aws/aws-sdk-go-v2@credentials/v1.19.31...credentials/v1.19.32) Updates `github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager` from 0.3.6 to 0.3.7 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](aws/aws-sdk-go-v2@feature/s3/transfermanager/v0.3.6...feature/s3/transfermanager/v0.3.7) Updates `github.com/aws/aws-sdk-go-v2/service/ecs` from 1.89.1 to 1.89.2 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](aws/aws-sdk-go-v2@service/s3/v1.89.1...service/s3/v1.89.2) Updates `github.com/aws/aws-sdk-go-v2/service/lambda` from 1.100.1 to 1.101.0 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](aws/aws-sdk-go-v2@service/s3/v1.100.1...service/s3/v1.101.0) Updates `github.com/aws/aws-sdk-go-v2/service/s3` from 1.106.1 to 1.106.2 - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Commits](aws/aws-sdk-go-v2@service/s3/v1.106.1...service/s3/v1.106.2) Updates `github.com/go-git/go-git/v5` from 5.19.1 to 5.19.2 - [Release notes](https://github.com/go-git/go-git/releases) - [Changelog](https://github.com/go-git/go-git/blob/main/HISTORY.md) - [Commits](go-git/go-git@v5.19.1...v5.19.2) Updates `github.com/open-policy-agent/opa` from 1.18.2 to 1.19.0 - [Release notes](https://github.com/open-policy-agent/opa/releases) - [Changelog](https://github.com/open-policy-agent/opa/blob/main/CHANGELOG.md) - [Commits](open-policy-agent/opa@v1.18.2...v1.19.0) Updates `google.golang.org/grpc` from 1.82.1 to 1.83.0 - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](grpc/grpc-go@v1.82.1...v1.83.0) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go-v2 dependency-version: 1.43.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: github.com/aws/aws-sdk-go-v2/config dependency-version: 1.32.33 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: github.com/aws/aws-sdk-go-v2/credentials dependency-version: 1.19.32 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: github.com/aws/aws-sdk-go-v2/feature/s3/transfermanager dependency-version: 0.3.7 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: github.com/aws/aws-sdk-go-v2/service/ecs dependency-version: 1.89.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: github.com/aws/aws-sdk-go-v2/service/lambda dependency-version: 1.101.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: github.com/aws/aws-sdk-go-v2/service/s3 dependency-version: 1.106.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: github.com/go-git/go-git/v5 dependency-version: 5.19.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-dependencies - dependency-name: github.com/open-policy-agent/opa dependency-version: 1.19.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies - dependency-name: google.golang.org/grpc dependency-version: 1.83.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-dependencies ... Signed-off-by: dependabot[bot] <[email protected]>
|
There was an error while loading. Please reload this page.
|
Claude finished @dependabot[bot]'s task in 1m 27s —— View job Dependency upgrade review
This dependabot PR bumps 10 direct deps (plus transitive). I checked each against the repo's actual usage. Overall: low risk, with one behavior change worth a targeted test. Risk assessment by dependency
Highlights
Suggested follow-up checks
Note: I could not run |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
v1.19.0 is the current latest OPA release, matching the bump proposed in #1071. `go mod tidy` settles five transitive bumps with it; wazero comes in with the OPA WASM runtime but tidies back out, since we only use rego.Eval. With the module floor at 1.19.0 the version guard around the `:=` strictness test is dead weight, so drop it (and the version-comparison helper) and assert the behaviour directly. De-duplicate the tests added in the previous commit: - Fold the two undefined-`allow` tests into one table test — a missing `default` and a runtime-undefined expression are two routes to the same assertion. - Fold the two violation-filtering tests likewise; the mixed-types case already proves non-strings are dropped. - Drop ParamsAbsentKeyFallsBackToDefault, subsumed by the object.get characterisation test. - Trim the CLI cases to plumbing only: the Rego v0 syntax case restated a library-level assertion, and the JSON-output case re-tested an output format TestEvaluateInputCmd already covers. Rego semantics belong in internal/evaluate; cmd/kosli proves diagnostics and verdicts reach the terminal. Also tighten the deny-with-violations regex, which alternated in a way that let it pass on the verdict alone without matching either reason. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XecsEZSNTyttx8ZXtzqEWq
Policies passed to `kosli evaluate` are written by users, so a change in Rego parsing, safety checking, or the built-in surface is a breaking change for us even when our own Go code still compiles. The OPA 1.18.2 -> 1.19.0 bump in #1071 is the case in point: stricter safety checking for `:=` invalidates a class of previously working customer policies, and nothing in the suite would have caught it. Add the coverage that would have. These are characterisation tests split by layer: internal/evaluate owns Rego semantics, cmd/kosli proves only that diagnostics and verdicts reach the terminal. internal/evaluate/opa_contract_test.go: - a realistic default-deny policy end to end, with --params-driven required attestations against trail-shaped input - the built-in surface real policies reach for (regex.match, semver.compare, time.parse_rfc3339_ns, every, some ... in, walk) - Rego v1 as the default parser version - the 1.19.0 `:=` strictness change, paired with an over-strictness guard so a release that breaks correct `:=` usage also goes red - unsafe-var reporting, and a broken `violations` rule failing before any verdict is produced cmd/kosli: - the same boundary through `evaluate input` - TestPolicyFixturesStillCompile, a corpus-wide canary over testdata/policies that checks every fixture against each future bump Two sharp edges are pinned as characterisation, not endorsement: an undefined `allow` errors instead of denying, and with --params omitted `data.params` is undefined, so object.get(data.params, k, fallback) yields undefined rather than the fallback. A third is recorded in TestOPAContract_PolicyCanReachTheNetwork: we build rego.New without a capabilities restriction, so a user policy can call http.send. Invert that assertion if we adopt an ast.Capabilities allowlist. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XecsEZSNTyttx8ZXtzqEWq
Policies passed to `kosli evaluate` are written by users, so a change in Rego parsing, safety checking, or the built-in surface is a breaking change for us even when our own Go code still compiles. The OPA 1.18.2 -> 1.19.0 bump in #1071 is the case in point: stricter safety checking for `:=` invalidates a class of previously working customer policies, and nothing in the suite would have caught it. Add the coverage that would have. These are characterisation tests split by layer: internal/evaluate owns Rego semantics, cmd/kosli proves only that diagnostics and verdicts reach the terminal. internal/evaluate/opa_contract_test.go: - a realistic default-deny policy end to end, with --params-driven required attestations against trail-shaped input - the built-in surface real policies reach for (regex.match, semver.compare, time.parse_rfc3339_ns, every, some ... in, walk) - Rego v1 as the default parser version - the 1.19.0 `:=` strictness change, paired with an over-strictness guard so a release that breaks correct `:=` usage also goes red - unsafe-var reporting, and a broken `violations` rule failing before any verdict is produced cmd/kosli: - the same boundary through `evaluate input` - TestPolicyFixturesStillCompile, a corpus-wide canary over testdata/policies that checks every fixture against each future bump Two sharp edges are pinned as characterisation, not endorsement: an undefined `allow` errors instead of denying, and with `--params` omitted `data.params` is undefined, so object.get(data.params, k, fallback) yields undefined rather than the fallback.
* test(evaluate): pin the CLI's OPA/Rego contract Policies passed to `kosli evaluate` are written by users, so a change in Rego parsing, safety checking, or the built-in surface is a breaking change for us even when our own Go code still compiles. The OPA 1.18.2 -> 1.19.0 bump in #1071 is the case in point: stricter safety checking for `:=` invalidates a class of previously working customer policies, and nothing in the suite would have caught it. Add the coverage that would have. These are characterisation tests split by layer: internal/evaluate owns Rego semantics, cmd/kosli proves only that diagnostics and verdicts reach the terminal. internal/evaluate/opa_contract_test.go: - a realistic default-deny policy end to end, with --params-driven required attestations against trail-shaped input - the built-in surface real policies reach for (regex.match, semver.compare, time.parse_rfc3339_ns, every, some ... in, walk) - Rego v1 as the default parser version - the 1.19.0 `:=` strictness change, paired with an over-strictness guard so a release that breaks correct `:=` usage also goes red - unsafe-var reporting, and a broken `violations` rule failing before any verdict is produced cmd/kosli: - the same boundary through `evaluate input` - TestPolicyFixturesStillCompile, a corpus-wide canary over testdata/policies that checks every fixture against each future bump Two sharp edges are pinned as characterisation, not endorsement: an undefined `allow` errors instead of denying, and with `--params` omitted `data.params` is undefined, so object.get(data.params, k, fallback) yields undefined rather than the fallback. * test(evaluate): make the realistic policy a single embedded fixture The policy existed twice — a const in the internal test and a near-identical .rego under cmd/kosli/testdata. Both copies passed independently, so drift would have produced two layers disagreeing about what the policy means with nothing going red. Keep one copy, in internal/evaluate/testdata, and consume it from both layers: the internal test embeds it with //go:embed, and the CLI test points --policy at the same file. That direction is with the grain of the dependency graph — cmd/kosli already imports internal/evaluate in production — and embedding means a rename or deletion breaks the build rather than one test. Verified by mutating the fixture's default `required` list: the CLI's ALLOWED case flips to DENIED, confirming both layers read the one file. `internal/evaluate` gains its own canary over its testdata, mirroring the cmd/kosli one, so each package covers the fixtures it owns. * test(evaluate): mirror the deliberatelyBroken skip-set in both canaries internal/evaluate's fixture canary had no exclusion set, unlike the cmd/kosli copy. It passes today because this package's testdata holds only valid fixtures, but internal/evaluate is exactly where an intentionally uncompilable fixture would naturally land, and that would have turned the canary red spuriously. The set is empty for now — its value is being the obvious home for such a fixture, and keeping the two mirrors structurally identical. * test(evaluate): stamp the OPA version into both canaries' failures The cmd/kosli mirror names the OPA version in its parse and compile failure messages; this copy did not. An upgrade-triggered failure is the whole reason these canaries exist, so the message that names the version that broke the fixture should read the same from either package. Verified both messages render: a malformed fixture reports "no longer parses under OPA 1.19.0", and one that parses but fails safety checking reports "no longer compiles under OPA 1.19.0".
kosli-cli 2.36.4 Created-by: HarmonybrewBot Commit-by: HarmonybrewBot Merged-by: HarmonybrewBot Description: Created by `brew bump` --- Created with `brew bump-formula-pr`.<details> <summary>release notes</summary> <pre>- Added `pull_request`, `merge_request` as additional command aliases for `assert pullrequest` and `attest pullrequest` (alongside existing `pr`, `mr`, `mergerequest`). - Fixed a bug where packaging multiple evidence paths (e.g. `--attachments`) would fail with "operation not permitted" when any attachment was owned by a different user (e.g. files written by a Docker container). Ownership is no longer preserved during staging. - Improved error messages when an evidence attachment path cannot be packaged: the error now names the path the user provided rather than an internal temp directory. ## What's Changed * chore: add cmd aliases by @mbevc1 in kosli-dev/cli#1066 * test(aws): add S3 contract tests by @mbevc1 in kosli-dev/cli#1065 * fix(docs): separate flag types into a column by @mbevc1 in kosli-dev/cli#1068 * chore(deps): bump the github-actions-dependencies group with 2 updates by @dependabot[bot] in kosli-dev/cli#1070 * chore(deps): bump the go-dependencies group with 10 updates by @dependabot[bot] in kosli-dev/cli#1071 * fix(attest): don't preserve file ownership when packaging attachments by @mbevc1 in kosli-dev/cli#1076 **Full Changelog**: https://github.com/kosli-dev/cli/compare/v2.36.3...v2.36.4</pre> <p>View the full release notes at <a href="https://github.com/kosli-dev/cli/releases/tag/v2.36.4">https://github.com/kosli-dev/cli/releases/tag/v2.36.4</a>.</p> </details> <hr> See merge request: Harmonybrew/homebrew-core!15762
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.