internal/worker: query results by job_id and print success message

Previously, attempting to obtain ejobs results would return a broad
results based on the analyzer binary. This has changed to be more
specific based on job_id, which will greatly reduce the time required to
complete the query. Running the following `ejobs -env=dev results -o
test.json <job-id>` should no longer hang.

Updates golang/go#77925

Change-Id: I05de364208a14059ecab1e3b1bd008aeec2700e3
Reviewed-on: https://go-review.googlesource.com/c/pkgsite-metrics/+/793140
Auto-Submit: Ethan Lee <ethanalee@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
3 files changed
tree: 2740387d49b353ba4a2c7a380840725f4717f6dd
  1. cmd/
  2. deploy/
  3. devtools/
  4. internal/
  5. terraform/
  6. .dockerignore
  7. .gitignore
  8. all_test.go
  9. checks.bash
  10. codereview.cfg
  11. config.json.commented
  12. CONTRIBUTING.md
  13. go.mod
  14. go.sum
  15. LICENSE
  16. Makefile
  17. PATENTS
  18. README.md
  19. tools.go
README.md

pkgsite-metrics

This repository contains code that enables collecting and evaluating metrics for the Go ecosystem.

Report Issues / Send Patches

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/pkgsite-metrics:” in the subject line, so it is easy to find.