Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Support pagination while querying for issues in flaky reporter #12832

Merged
merged 2 commits into from
Jul 26, 2024

Conversation

MidhunSureshR
Copy link
Contributor

No description provided.

This way we collect all the issues that were created after Jan 1 2024
@MidhunSureshR MidhunSureshR added the T-Task Refactoring, enabling or disabling functionality, other engineering tasks label Jul 26, 2024
Comment on lines +111 to +112
const headers = { Authorization: `Bearer ${GITHUB_TOKEN}` };
const body = `${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID}`;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why did this move into the for loop? tiny de-optimisation

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

didn't think much of it, just moved the variables closer to where they're used. I'm sure the compiler will move stuff out for us anyway 🤞

Copy link
Member

@t3chguy t3chguy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks sane otherwise

playwright/flaky-reporter.ts Show resolved Hide resolved
playwright/tsconfig.json Show resolved Hide resolved
@MidhunSureshR MidhunSureshR marked this pull request as ready for review July 26, 2024 14:23
@MidhunSureshR MidhunSureshR requested a review from a team as a code owner July 26, 2024 14:23
@MidhunSureshR MidhunSureshR added this pull request to the merge queue Jul 26, 2024
Merged via the queue into develop with commit 76d2ab4 Jul 26, 2024
34 checks passed
@MidhunSureshR MidhunSureshR deleted the midhun/workflows/paginate-all-issues branch July 26, 2024 14:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Task Refactoring, enabling or disabling functionality, other engineering tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants