commit | 63b7c4940017488453a853975706f6c8aaed550c | [log] [tgz] |
---|---|---|
author | Oliver Newman <olivernewman@google.com> | Fri Jun 02 21:27:22 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jun 02 21:27:22 2023 +0000 |
tree | b3ba024350906f1c6f70e593de96446ba69addb5 | |
parent | 906b738bb97e78d190746fb697c8f544a1f10789 [diff] |
[reporting] Wait until resultdb uploads complete before exiting There was a race condition where shac would exit after calling `reporter.Close()` but before the resultdb uploader was guaranteed to have uploaded all the results. Now `Close()` won't return until the uploads have completed. Change-Id: I6efea9aa470e1f94eb62393e11ee1d43a6aea763 Reviewed-on: https://fuchsia-review.googlesource.com/c/shac-project/shac/+/865297 Reviewed-by: Marc-Antoine Ruel <maruel@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> Fuchsia-Auto-Submit: Oliver Newman <olivernewman@google.com>
Shac (Scalable Hermetic Analysis and Checks) is a unified and ergonomic tool and framework for writing and running static analysis checks.
Shac checks are written in Starlark.
go install go.fuchsia.dev/shac-project/shac@latest shac check shac doc shac.star | less
⚠ The source of truth is at https://fuchsia.googlesource.com/shac-project/shac.git and uses Gerrit for code review.
See CONTRIBUTING.md to submit changes.