| commit | c9256ac60984612d97e14415fb46c23722427a3f | [log] [tgz] |
|---|---|---|
| author | PaliC <sahancpal@gmail.com> | Tue Jun 20 11:35:40 2023 -0700 |
| committer | PyTorch MergeBot <pytorchmergebot@users.noreply.github.com> | Tue Jun 20 22:58:37 2023 +0000 |
| tree | d98bbde560c444aa37139f8a8852c972c1371bb1 | |
| parent | a4b9872187cf18e5aedf4a13838ecae44b72b7f2 [diff] |
add branch and sha info to alerting schema (#103631) https://github.com/pytorch/pytorch/pull/103897 is used for testing Pull Request resolved: https://github.com/pytorch/pytorch/pull/103631 Approved by: https://github.com/huydhn
diff --git a/tools/alerts/create_alerts.py b/tools/alerts/create_alerts.py index dc59091..33e595f 100644 --- a/tools/alerts/create_alerts.py +++ b/tools/alerts/create_alerts.py
@@ -266,6 +266,8 @@ "OncallTeams": [], "OncallIndividuals": [], "Flags": [], + "sha": job.failure_chain[-1]["sha"], + "branch": branch, } alerts.append(entry) return alerts