Status Update
Comments
ry...@derivita.com <ry...@derivita.com> #2
ma...@postmastery.net <ma...@postmastery.net> #3
va...@google.com <va...@google.com>
su...@google.com <su...@google.com> #4
ry...@derivita.com <ry...@derivita.com> #5
su...@google.com <su...@google.com> #6
ry...@derivita.com <ry...@derivita.com> #7
I'm sorry that is not a fix. I specified in the title this is an issue using GOPATH, which the app engine documentation says should work: "you can continue to use the older GOPATH mode if you aren't ready to migrate to Go modules."
When you create a go.mod file it completely changes how dependencies are loaded. I mentioned above that it works if you switch to modules, but that is a non-trivial change and the documentation says it is not required.
ba...@google.com <ba...@google.com>
su...@google.com <su...@google.com> #8
Hello,
Thank you for reporting this issue.
I investigated the issue again. The workaround suggested in the
This issue has been reported to the Engineering team. The team is currently working on the issue. While we cannot provide an estimated time for resolving the issue, please be assured that your input is highly valued. Your feedback enables us to enhance our products and services.
We appreciate your continued trust and support in improving our Google Cloud Platform products. In case you want to report a new issue, Please do not hesitate to create a new issue on the
Once again, we sincerely appreciate your valuable feedback; Thank you for your understanding and collaboration.
Description
Problem you have encountered:
When you use go:embed with a go 1.16 app engine app and try to deploy it using GOPATH mode, the go-app-stager fails. It seems to not recognize that "embed" is part of the standard library as of go 1.16:
What you expected to happen:
The app would deploy without errors. The same code works if you add a go.mod file.
Steps to reproduce:
Sample code is athttps://github.com/ribrdb/silver-engine
This version fails:
GOPATH=$PWD/gopath gcloud app deploy gopath/src/example.com/embedder
But the go.mod version works:gcloud app deploy mod
Other information (workarounds you have tried, documentation consulted, etc):