From a399f839ac098e9a0a40a73a6534a91e74e2dc01 Mon Sep 17 00:00:00 2001 From: PyTorch MergeBot Date: Mon, 18 Sep 2023 17:35:35 +0000 Subject: [PATCH] Revert "Add PR number to metrics when available (#109406)" This reverts commit f0fb4b3897e9cac3b99ee5b9b2ecab255e9e2da3. Reverted https://github.com/pytorch/pytorch/pull/109406 on behalf of https://github.com/ZainRizvi due to breaks trunk ([comment](https://github.com/pytorch/pytorch/pull/109406#issuecomment-1724061024)) --- tools/stats/upload_metrics.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/stats/upload_metrics.py b/tools/stats/upload_metrics.py index 348344b7c222b..75285bb2ad8df 100644 --- a/tools/stats/upload_metrics.py +++ b/tools/stats/upload_metrics.py @@ -85,7 +85,6 @@ def emit_metric( EnvVarMetric("build_environment", "BUILD_ENVIRONMENT"), EnvVarMetric("job", "GITHUB_JOB"), EnvVarMetric("test_config", "TEST_CONFIG", required=False), - EnvVarMetric("pr_number", "PR_NUMBER", required=False, type_conversion_fn=int), EnvVarMetric("run_id", "GITHUB_RUN_ID", type_conversion_fn=int), EnvVarMetric("run_number", "GITHUB_RUN_NUMBER", type_conversion_fn=int), EnvVarMetric("run_attempt", "GITHUB_RUN_ATTEMPT", type_conversion_fn=int),