commit | 39ace7a40ae7adf90bd106518be3e8d9c21bc6ff | [log] [tgz] |
---|---|---|
author | Rob Findley <rfindley@google.com> | Wed May 22 14:58:22 2024 +0000 |
committer | Robert Findley <rfindley@google.com> | Wed May 22 23:36:18 2024 +0000 |
tree | 70855dc158093d266a8a45cb6d91ef625058281d | |
parent | 2e57a912eafefc904ac735f10bace823128f67ba [diff] |
internal/upload: make upload.Run concurrency safe Fix broken writes by writing upload-related files exclusively. Prevent duplicate uploads using a lock file. For golang/go#65970 Change-Id: I548134f597b2dbf5232de54027adb3daa4bad53d Reviewed-on: https://go-review.googlesource.com/c/telemetry/+/587197 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