Skip to content

agent sample on fly full optimisation #4662

agent sample on fly full optimisation

agent sample on fly full optimisation #4662

Triggered via pull request June 4, 2026 10:00
Status Failure
Total duration 3m 57s
Artifacts

ci-go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 1 warning
staticcheck: internal/aggregator/aggregator_insert.go#L423
item.SF undefined (type *data_model.MultiItem has no field or method SF) (compile)
staticcheck: internal/aggregator/aggregator_insert.go#L423
cannot use func(item *data_model.MultiItem, bucketTs uint32, _ uint32) {…} (value of type func(item *data_model.MultiItem, bucketTs uint32, _ uint32)) as func(v data_model.SamplingMultiItemPair, ts uint32, quota uint32) value in struct literal
staticcheck: internal/aggregator/aggregator.go#L1032
cannot use func(item *data_model.MultiItem, _ uint32, quota uint32) {…} (value of type func(item *data_model.MultiItem, _ uint32, quota uint32)) as func(v data_model.SamplingMultiItemPair, ts uint32, quota uint32) value in struct literal
staticcheck: internal/aggregator/aggregator_insert.go#L423
item.SF undefined (type *data_model.MultiItem has no field or method SF) (compile)
staticcheck: internal/aggregator/aggregator_insert.go#L423
cannot use func(item *data_model.MultiItem, bucketTs uint32, _ uint32) {…} (value of type func(item *data_model.MultiItem, bucketTs uint32, _ uint32)) as func(v data_model.SamplingMultiItemPair, ts uint32, quota uint32) value in struct literal
staticcheck: internal/aggregator/aggregator.go#L1032
cannot use func(item *data_model.MultiItem, _ uint32, quota uint32) {…} (value of type func(item *data_model.MultiItem, _ uint32, quota uint32)) as func(v data_model.SamplingMultiItemPair, ts uint32, quota uint32) value in struct literal
staticcheck: internal/agent/agent_test.go#L362
too many arguments in call to shard.sampleBucket
staticcheck: internal/agent/agent_test.go#L362
assignment mismatch: 2 variables but shard.sampleBucket returns 1 value
staticcheck: internal/agent/agent_test.go#L306
too many arguments in call to shard.sampleBucket
staticcheck: internal/agent/agent_test.go#L306
assignment mismatch: 2 variables but shard.sampleBucket returns 1 value
test: internal/data_model/sampling_test.go#L42
item.SF undefined (type *MultiItem has no field or method SF)
test: internal/data_model/sampling_test.go#L41
item.SF undefined (type *MultiItem has no field or method SF)
test: internal/data_model/sampling_test.go#L37
cannot use func(item *MultiItem, _ uint32, _ uint32) {…} (value of type func(item *MultiItem, _ uint32, _ uint32)) as func(v SamplingMultiItemPair, ts uint32, quota uint32) value in struct literal
test: internal/agent/agent_test.go#L362
too many arguments in call to shard.sampleBucket
test: internal/agent/agent_test.go#L362
assignment mismatch: 2 variables but shard.sampleBucket returns 1 value
test: internal/agent/agent_test.go#L306
too many arguments in call to shard.sampleBucket
test: internal/agent/agent_test.go#L306
assignment mismatch: 2 variables but shard.sampleBucket returns 1 value
test: internal/aggregator/aggregator_insert.go#L423
item.SF undefined (type *data_model.MultiItem has no field or method SF)
test: internal/aggregator/aggregator_insert.go#L423
cannot use func(item *data_model.MultiItem, bucketTs uint32, _ uint32) {…} (value of type func(item *data_model.MultiItem, bucketTs uint32, _ uint32)) as func(v data_model.SamplingMultiItemPair, ts uint32, quota uint32) value in struct literal
test: internal/aggregator/aggregator.go#L1032
cannot use func(item *data_model.MultiItem, _ uint32, quota uint32) {…} (value of type func(item *data_model.MultiItem, _ uint32, quota uint32)) as func(v data_model.SamplingMultiItemPair, ts uint32, quota uint32) value in struct literal
staticcheck
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v3. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/