-
Notifications
You must be signed in to change notification settings - Fork 989
build: makes CI choose latest Go 1.18.x #3143
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Actually something I wanted to do a while ago but never got around doing it.
The failure here looks suspiciously like the one I saw when I tried Go 1.19. I suspect a bugfix causes the test to fail. I'll need to investigate this. |
Looks like this is caused by golang/go@315e80d. Specifically, it is a stack overflow. I suggest removing io/fs from the tested packages because it requires a stack that's just far too large for TinyGo to support. @dgryski @dkegel-fastly @deadprogram opinions on this removal? |
SGTM. We want to keep CI passing. |
tinygo-org/tinyfs#6 where @bgould mentions wanting to use this package for tinyfs. |
Can we raise the stack size on Linux/Mac/windows and keep testing Io/fs there? |
It starts to work at 6MB on linux/amd64, which to me seems like an unreasonably large stack size per goroutine. Remember that TinyGo doesn't support growing the goroutine stack. |
How about adding a stack size commandline option? Then we could keep testing io/fs without burdening the world with big stacks... |
Yeah, sounds reasonable: #3159 |
could a heavy or slow tag help? It is fairly common for projects to have slow, bench or otherwise code in the makefile, just only run in CI to keep dev flow faster. ex FYI I'm keeping the comments running on this topic despite not being related to go versions, as they are here anyway. If we don't come up with a way out before this merges, we should fork an issue to make sure things work smooth. |
de83a4b
to
2ad867e
Compare
Signed-off-by: Adrian Cole <adrian@tetrate.io>
Signed-off-by: Adrian Cole <adrian@tetrate.io>
2ad867e
to
1850112
Compare
I tried a workaround to help middle-ground approach. |
looks like a green. feel free to squash on my behalf if this is a go @deadprogram etc! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
anyone has my permission to squash or obviate this with another PR if the solution isn't good enough. I'll be away for a few days. |
Thanks very much for fixing this @codefromthecrypt now going to squash/merge. |
No description provided.