Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make fences optional when reporting warnings (#98)
This is because when running as a git commit hook we frequently run into issues that we want to report to the user but do not want to fail the build, which are not associated with a specific build. For example: - As part of incremental checks, we impose a maximum file limit so that the incremental check on commits (e.g. large merges) does not run for multiple minutes. This leaves open the option to opt into a full check without blocking commits. When the incremental check would exceed the maximum check limit, we want to warn the user that the check is not happening, but not exit with 1, as it would fail precommit hooks. - When a partial check cannot be calculated from git, we abort early and do not perform checks for the same reason as above - When performing partial checks but there are no changes from git in source or fence files, we skip validation. We want to warn users about this because they may be running the program manually and not running it over the set of files they think they are running it over. Co-authored-by: Maxwell Huang-Hobbs <mahuangh@microsoft.com> Co-authored-by: Scott Mikula <mikula@gmail.com>
- Loading branch information