Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No longer works with supported go versions (imports unsupported go4.org/unsafe/assume-no-moving-gc) #266

Open
Mic92 opened this issue Nov 29, 2022 · 0 comments

Comments

@Mic92
Copy link

Mic92 commented Nov 29, 2022

cortextool is the only frontend for now that also support uploading loki rules (not supported by mimirtool yet).
However it is not longer compatible with any go version that is not end-of-life: https://endoflife.date/go

$ cortextool
panic: Something in this program imports go4.org/unsafe/assume-no-moving-gc to declare that it assumes a non-moving garbage collector, but your version of go4.org/unsafe/assume-no-moving-gc hasn't been updated to assert that 
it's safe against the go1.19 runtime. If you want to risk it, run with environment variable ASSUME_NO_MOVING_GC_UNSAFE_RISK_IT_WITH=go1.19 set. Notably, if go1.19 adds a moving garbage collector, this program is unsafe to use
.

goroutine 1 [running]:
go4.org/unsafe/assume-no-moving-gc.init.0()
        go4.org/unsafe/assume-no-moving-gc@v0.0.0-20201222180813-1025295fd063/untested.go:24 +0x1f4

Hence there is no safe way to upload loki rules to grafana cloud because there is no go version that still receives security updates.

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

No branches or pull requests

1 participant