Skip to content

Commit 51a5a9f

Browse files
authored
[bot] Remove flaky detection for flaky across jobs (#4693)
Currently buggy due to tests jumping from shard to shard.
1 parent b3f4379 commit 51a5a9f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

torchci/pages/api/flaky-tests/disable.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,21 +36,17 @@ async function disableFlakyTestsAndReenableNonFlakyTests() {
3636
octokit,
3737
flakyTests,
3838
flakyTestsAcrossFileReruns,
39-
flakyTestsAcrossJobs,
4039
issues,
4140
disabledNonFlakyTests,
4241
] = await Promise.all([
4342
getOctokit(owner, repo),
4443
fetchFlakyTests(`${NUM_HOURS}`),
4544
fetchFlakyTestsAcrossFileReruns(`${NUM_HOURS}`),
46-
fetchFlakyTestsAcrossJobs(`${NUM_HOURS_ACROSS_JOBS}`), // use a larger time window so we can get more data
4745
fetchIssuesByLabel("skipped"),
4846
fetchDisabledNonFlakyTests(),
4947
]);
5048

51-
const allFlakyTests = flakyTests
52-
.concat(flakyTestsAcrossJobs)
53-
.concat(flakyTestsAcrossFileReruns);
49+
const allFlakyTests = flakyTests.concat(flakyTestsAcrossFileReruns);
5450
// If the test is flaky only on PRs, we should not disable it yet.
5551
const flakyTestsOnTrunk = filterThreshold(
5652
filterOutPRFlakyTests(allFlakyTests)

0 commit comments

Comments
 (0)