Upgrade dependencies in the all group with 11 updates#1295
Open
IfSentient wants to merge 5 commits intomainfrom
Open
Upgrade dependencies in the all group with 11 updates#1295IfSentient wants to merge 5 commits intomainfrom
IfSentient wants to merge 5 commits intomainfrom
Conversation
…lude kin-openapi due to conflict with cog.
… graph traversal and cache it, to speed up otherwise uncached Subsume() and Equals() calls that cog makes, which can cause CI and testing to time out. Add some 'sleep 1' commands between codegen commands in the regenerate-codegen-test-files script as otherwise sometimes the process will hang, possibly due to file descriptor access in cog and may be fixed by grafana/cog#1041
IfSentient
added a commit
that referenced
this pull request
Mar 17, 2026
## What Changed? Why? When using the latest version of `cog` (v0.1.4) the `GoTypes` jenny can take an extremely long time to complete, causing CI to fail. This is likely due to two issues that are exacerbated by the newer cog versions: * CUE lazy-evaluates values, and calls to `Subsume()` and `Equals()` do not cache the evaluations * `imports.Process` has to load the dependency graph of all imports, and newer cog versions include a larger graph This PR aims to solve the first of these two issues, by calling `Validate()` on the `cue.Value` used in cog go type pipeline before running it to force CUE to traverse the graph and cache it, reducing downstream function call times by cog. As a side-effect of this, it also is now enforcing a valid cue.Value before passing it off to cog (though at this point in the pipeline is using the parser in `codegen/cuekind`, it should already be valid). We can't use `Eval()` instead of `Validate()` (as they both force a graph traversal and cache), because `Eval()` will resolve reference values, which can impact output typing from cog. This PR was spun off of #1295 to allow it to only do the dependency upgrades. ### How was it tested? Locally, using `make regenerate-codegen-test-files`, `make test`, and `make generate` in `examples/apiserver`, verifying that no changes have been made to the generated files, and no new errors emerge. The speed-up with the latest cog has been tested in #1295 ### Where did you document your changes? Code comments explain the reasoning behind the call to `Validate()`. ### Notes to Reviewers
radiohead
approved these changes
Mar 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a copy of #1292, with the upgrade of
kin-openapiremoved as there is an issue with it andcog0.1.4.Additionally,
sleep 1commands between codegen commands in the regenerate-codegen-test-files script as otherwise sometimes the process will hang, possibly due to file descriptor access in cog and may be fixed by grafana/cog#1041Original PR text follows, minus
kin-openapisection and dependabot comments:Bumps the all group with 11 updates:
0.0.570.1.40.50.40.52.01.40.01.42.01.40.01.42.01.40.01.42.00.19.00.20.00.42.00.43.01.79.11.79.20.35.10.35.20.35.10.35.22.130.12.140.0Updates
github.com/grafana/cogfrom 0.0.57 to 0.1.4Release notes
Sourced from github.com/grafana/cog's releases.
... (truncated)
Commits
be7fc81Support explicitly nil assignments in options (#1016)9f3853fSupport explicitly nil assignments in options1f5df47Use zensical to generate the docs website (#1015)69b9678Terraform: Generate types (#1010)6e8ee52Use zensical to generate the docs websiteca687feDo not try to assign into a constant field in PHP/Python (#1013)ca05855Do not try to assign into a constant field in PHP/Python411d3beImprove runtime converters detection (#1011)5d31182Improve runtime converters detectiondd76005Avoid using make generateUpdates
github.com/grafana/grafana-app-sdk/loggingfrom 0.50.4 to 0.52.0Release notes
Sourced from github.com/grafana/grafana-app-sdk/logging's releases.
... (truncated)
Commits
998657cfix: lint error (#1290)8bbce5eBump the all group across 1 directory with 11 updates (#1287)b0b4e91fix: remove flaky test that keeps timing out (#1289)371cb95[tests] Quick fix to the manifest codegen tests (#1288)ec08416[codegen] Fix non-deterministic manifest code generation (#1286)b0513a6codegen: generate go clients for custom resource routes (#1283)16e4891Bump the all group across 1 directory with 5 updates (#1273)b311c9bchore: clean out golden test files dir on regen (#1285)36ba1c2feat: add a default client with remote client configuration options (#1267)7c68736codegen: remove CLI flags and provide error on their usage (#1278)Updates
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpcfrom 1.40.0 to 1.42.0Changelog
Sourced from go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc's changelog.
Commits
a3941ffRelease v1.42.0/v0.64.0/v0.18.0/v0.0.16 (#8006)6059c47chore(deps): update golang.org/x/telemetry digest to e526e8a (#8010)44c7edfchore(deps): update module github.com/mgechev/revive to v1.15.0 (#8009)de5fb3afix(deps): update module google.golang.org/grpc to v1.79.2 (#8007)0b82dedchore(deps): update codspeedhq/action action to v4.11.1 (#8001)aa3660fchore(deps): update github/codeql-action action to v4.32.6 (#8004)9be8c92chore(deps): update dependency codespell to v2.4.2 (#8003)c9d2015log: add error field to Record and make SDK to emit exception attributes (#7924)fdd1320TracerProvider ForceFlush() Error Fix (#7856)78f9904chore(deps): update golang.org/x/telemetry digest to 18da590 (#8000)Updates
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttpfrom 1.40.0 to 1.42.0Changelog
Sourced from go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp's changelog.
Commits
a3941ffRelease v1.42.0/v0.64.0/v0.18.0/v0.0.16 (#8006)6059c47chore(deps): update golang.org/x/telemetry digest to e526e8a (#8010)44c7edfchore(deps): update module github.com/mgechev/revive to v1.15.0 (#8009)de5fb3afix(deps): update module google.golang.org/grpc to v1.79.2 (#8007)0b82dedchore(deps): update codspeedhq/action action to v4.11.1 (#8001)aa3660fchore(deps): update github/codeql-action action to v4.32.6 (#8004)9be8c92chore(deps): update dependency codespell to v2.4.2 (#8003)c9d2015log: add error field to Record and make SDK to emit exception attributes (#7924)fdd1320TracerProvider ForceFlush() Error Fix (#7856)78f9904chore(deps): update golang.org/x/telemetry digest to 18da590 (#8000)Updates
go.opentelemetry.io/otel/sdkfrom 1.40.0 to 1.42.0Changelog
Sourced from go.opentelemetry.io/otel/sdk's changelog.
Commits
a3941ffRelease v1.42.0/v0.64.0/v0.18.0/v0.0.16 (#8006)6059c47chore(deps): update golang.org/x/telemetry digest to e526e8a (#8010)44c7edfchore(deps): update module github.com/mgechev/revive to v1.15.0 (#8009)de5fb3afix(deps): update module google.golang.org/grpc to v1.79.2 (#8007)0b82dedchore(deps): update codspeedhq/action action to v4.11.1 (#8001)aa3660fchore(deps): update github/codeql-action action to v4.32.6 (#8004)9be8c92chore(deps): update dependency codespell to v2.4.2 (#8003)c9d2015log: add error field to Record and make SDK to emit exception attributes (#7924)fdd1320TracerProvider ForceFlush() Error Fix (#7856)78f9904chore(deps): update golang.org/x/telemetry digest to 18da590 (#8000)Updates
golang.org/x/syncfrom 0.19.0 to 0.20.0Commits
ec11c4aerrgroup: fix a typo in the documentation1a58307all: modernize interface{} -> any3172ca5all: upgrade go directive to at least 1.25.0 [generated]Updates
golang.org/x/toolsfrom 0.42.0 to 0.43.0Commits
24a8e95go.mod: update golang.org/x dependencies3dd57fbgopls/internal/mcp: refactor unified diff generationfcc014dcmd/digraph: fix package doc39f0f5ccmd/stress: add -failfast flag063c264gopls/test/integration/misc: add diagnostics to flaky testdeb6130gopls/internal/golang: fix hover panic in raw strings with CRLF5f1186bgopls/internal/analysis/driverutil: remove unnecessary new importsff45494go/analysis: expose GoMod etc. to Pass.Module62daff4go/analysis/passes/inline: fix panic in inlineAlias with instantiated generic...fcb6088x/tools: delete obsolete codeUpdates
google.golang.org/grpcfrom 1.79.1 to 1.79.2Release notes
Sourced from google.golang.org/grpc's releases.
Commits
8902ab6Change the version to release 1.79.2 (#8947)a928670Cherry-pick #8874 to v1.79.x (#8904)06df363Change version to 1.79.2-dev (#8903)Updates
k8s.io/apiextensions-apiserverfrom 0.35.1 to 0.35.2Commits
79000f4Update dependencies to v0.35.2 tagUpdates
k8s.io/apiserverfrom 0.35.1 to 0.35.2Commits
9120debUpdate dependencies to v0.35.2 tagUpdates
k8s.io/klog/v2from 2.130.1 to 2.140.0Release notes
Sourced from k8s.io/klog/v2's releases.
Commits
ef4b370Merge pull request #432 from pierluigilenoci/fix/stderr-threshold-issue-21239c4c76refactor: address code review feedback from@pohly764a9a3Merge pull request #430 from pohly/textlogger-optional-header015c613Update stderr_threshold_test.go2f517bdUpdate klog.go36bc4fftextlogger: optionally turn off header5f1f303Merge pull request #433 from pohly/textlogger-hook-resultc469d41Merge pull request #431 from pohly/ktesting-vmodule-fix8509d6aktesting: support multi-line result from AnyToStringHook08e6e8bFix stderrthreshold not honored when logtostderr is set