Skip to content

Fix Hermetic builds and Enterprise contract violations #354

Fix Hermetic builds and Enterprise contract violations

Fix Hermetic builds and Enterprise contract violations #354

Triggered via pull request February 3, 2025 13:10
@coleenquadroscoleenquadros
synchronize #161
update
Status Failure
Total duration 8m 19s
Artifacts

go.yaml

on: pull_request
Go build for different platforms
8m 7s
Go build for different platforms
Linters (Static Analysis) for Go
2m 22s
Linters (Static Analysis) for Go
Matrix: Thanos end-to-end tests
Fit to window
Zoom out
Zoom in

Annotations

13 errors
Linters (Static Analysis) for Go: internal/cortex/querier/queryrange/results_cache.go#L340
cannot use expr (variable of type parser.Expr) as parser.Node value in argument to parser.Inspect: parser.Expr does not implement parser.Node (missing method PositionRange)
Linters (Static Analysis) for Go: internal/cortex/querier/queryrange/results_cache.go#L380
cannot use expr (variable of type parser.Expr) as parser.Node value in argument to parser.Inspect: parser.Expr does not implement parser.Node (missing method PositionRange)
Linters (Static Analysis) for Go: internal/cortex/querier/queryrange/split_by_interval.go#L104
cannot use expr (variable of type parser.Expr) as parser.Node value in argument to parser.Inspect: parser.Expr does not implement parser.Node (missing method PositionRange)
Linters (Static Analysis) for Go: internal/cortex/querier/queryrange/split_by_interval.go#L116
expr.String undefined (type parser.Expr has no field or method String)
Linters (Static Analysis) for Go: pkg/tenancy/tenancy.go#L156
cannot use expr (variable of type parser.Expr) as parser.Node value in argument to e.EnforceNode: parser.Expr does not implement parser.Node (missing method PositionRange)
Linters (Static Analysis) for Go: pkg/tenancy/tenancy.go#L160
expr.String undefined (type parser.Expr has no field or method String)
Linters (Static Analysis) for Go: pkg/rules/manager.go#L65
rule.Query().String undefined (type parser.Expr has no field or method String)
Linters (Static Analysis) for Go: pkg/rules/manager.go#L81
rule.Query().String undefined (type parser.Expr has no field or method String)
Linters (Static Analysis) for Go: pkg/querysharding/analyzer.go#L101
cannot use expr (variable of type parser.Expr) as parser.Node value in argument to parser.Inspect: parser.Expr does not implement parser.Node (missing method PositionRange)
Linters (Static Analysis) for Go: cmd/thanos/rule.go#L959
cannot use expr (variable of type parser.Expr) as "github.com/thanos-io/promql-engine/api".RemoteQuery value in argument to e.NewInstantQuery: parser.Expr does not implement "github.com/thanos-io/promql-engine/api".RemoteQuery (missing method String)
Thanos end-to-end tests (8, 2)
Process completed with exit code 2.
Thanos end-to-end tests (8, 7)
Process completed with exit code 2.
Thanos end-to-end tests (8, 4)
Process completed with exit code 2.