commit | 150846ee1ff67a929730c7ca3f42845692ee496c | [log] [tgz] |
---|---|---|
author | Rob Findley <rfindley@google.com> | Fri May 10 14:26:07 2024 +0000 |
committer | Robert Findley <rfindley@google.com> | Fri May 10 20:43:20 2024 +0000 |
tree | 4aca03177830c6531eabd1f003fd3245e54e2d35 | |
parent | fd5c27b581eaff33c65286a48dad6de481267a9b [diff] |
internal/upload: migrate TestUploadBasic and TestUploadFailure Move TestUploadBasic and TestUpload failure to the new upload_test package, and rewrite them to use only the public upload API. This also cleans up the file layout a bit, as TestDates is now the only test in dates_test.go. Additionally, check the state of the telemetry dir before and after upload, and generalize TestUploadFailure to a retry test that checks various status code retry behavior. For golang/go#65970 Change-Id: Iab9d33a5eb852b43e7876bbf8b12d91b40c85909 Reviewed-on: https://go-review.googlesource.com/c/telemetry/+/584795 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
This repository holds the Go Telemetry server code and libraries, used for hosting telemetry.go.dev and instrumenting Go toolchain programs with opt-in telemetry.
Warning: this repository is intended for use only in tools maintained by the Go team, including tools in the Go distribution and auxiliary tools like gopls or govulncheck. There are no compatibility guarantees for any of the packages here: public APIs will change in breaking ways as the telemetry integration is refined.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the time repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/telemetry:” in the subject line, so it is easy to find.
This repository uses eslint to format TS files, stylelint to format CSS files, and prettier to format TS, CSS, Markdown, and YAML files.
See the style guides:
It is encouraged that all TS and CSS code be run through formatters before submitting a change. However, it is not a strict requirement enforced by CI.
./npm install
./npm run all