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

Fix Go coverage #4219

Merged
merged 2 commits into from
Mar 1, 2024
Merged

Fix Go coverage #4219

merged 2 commits into from
Mar 1, 2024

Conversation

begelundmuller
Copy link
Contributor

The coverage test has been failing for some time with the following errors:

github.com/rilldata/rill/proto/gen/rill/admin/v1: open /tmp/go-build1717652986/b205/covmeta.efd544d54abd57024320e5b09e7fbb7333ec3c9e2c058a3d351094eaca3dd4d6: no such file or directory
github.com/rilldata/rill/proto/gen/rill/runtime/v1: open /tmp/go-build1717652986/b324/covmeta.067b3bf4a6ecbbbcd442d5d3dfcb816dbf6bc1aee18591e902bf98c6b115f2e7: no such file or directory

This appears to be a bug in Go that can be resolved by setting GOEXPERIMENT=nocoverageredesign.

This issue may provide guidance on when the change can be reverted: golang/go#55953.

@begelundmuller begelundmuller merged commit 77faed7 into main Mar 1, 2024
1 check passed
@begelundmuller begelundmuller deleted the begelundmuller/fix-go-coverage branch March 1, 2024 09:19
begelundmuller added a commit that referenced this pull request Mar 1, 2024
* Update Bookmarks API to support new designs (#4167)

* Update Bookmarks API to support new designs

* Update list bookmarks

* Fix migration sql

* Update to use shared/default for bookmarks

* Fix edit bookmark query

* Update list bookmark

* Update API to use resource kind/name

* Update default resource type

* Set cookies to Lax (#4212)

* Fix Go coverage (#4219)

* Fix Go coverage

* Whoops

* Util for better HTTP error handling (#4220)

* Util for better HTTP error handling

* Self review

* Add resource for chart and dashboard (#4197)

* Add resource for chart and dashboard

* Fix format

* PR comments

* API resource review

---------

Co-authored-by: Aditya Hegde <adityahegderocks@gmail.com>
begelundmuller added a commit that referenced this pull request Mar 1, 2024
* draft commit

* draft commit

* permissions

* review comments - more generic APIs

* review comments - more generic APIs

* review comments - more generic APIs

* remove parsing metric

* revert wrong change

* comment change

* API resource review (#4223)

* Update Bookmarks API to support new designs (#4167)

* Update Bookmarks API to support new designs

* Update list bookmarks

* Fix migration sql

* Update to use shared/default for bookmarks

* Fix edit bookmark query

* Update list bookmark

* Update API to use resource kind/name

* Update default resource type

* Set cookies to Lax (#4212)

* Fix Go coverage (#4219)

* Fix Go coverage

* Whoops

* Util for better HTTP error handling (#4220)

* Util for better HTTP error handling

* Self review

* Add resource for chart and dashboard (#4197)

* Add resource for chart and dashboard

* Fix format

* PR comments

* API resource review

---------

Co-authored-by: Aditya Hegde <adityahegderocks@gmail.com>

---------

Co-authored-by: Benjamin Egelund-Müller <b@egelund-muller.com>
Co-authored-by: Aditya Hegde <adityahegderocks@gmail.com>
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

Successfully merging this pull request may close these issues.

2 participants