Skip to content

Conversation

@dsanders11
Copy link
Member

@dsanders11 dsanders11 commented May 2, 2025

The test fixtures for backport PRs were not quite right as they didn't have their base.ref set to a non-main branch. Updates the fixtures to be accurate and then some minor tweaks to the tests to get them working again. Also added a missing pull_request.number field on some of the fixtures - note that in the webhook event payload number is indeed both a top-level field and duplicated inside pull_request.

Marks the tests I added in #336 as skipped because I whiffed the implementation in that PR but didn't notice at the time because the tests passed due to the incorrect test fixtures. Fixing them cause the tests to fail, so I'm going to skip them for now and they'll be fixed in a follow-up PR that fixes the feat added in #336.

@dsanders11 dsanders11 requested a review from a team as a code owner May 2, 2025 06:50
@dsanders11 dsanders11 marked this pull request as draft May 2, 2025 06:51
@dsanders11 dsanders11 force-pushed the test/fix-backport-tests branch from 7baab71 to 3ed24fe Compare May 2, 2025 06:53
@dsanders11 dsanders11 marked this pull request as ready for review May 2, 2025 06:57
@codebytere codebytere merged commit 2696657 into main May 2, 2025
3 checks passed
@codebytere codebytere deleted the test/fix-backport-tests branch May 2, 2025 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants