Skip to content

[bots][ez] Add testing for webhookToDynamo bot#5869

Merged
clee2000 merged 7 commits intomainfrom
csl/webhookToDynamo_tests
Nov 6, 2024
Merged

[bots][ez] Add testing for webhookToDynamo bot#5869
clee2000 merged 7 commits intomainfrom
csl/webhookToDynamo_tests

Conversation

@clee2000
Copy link
Copy Markdown
Contributor

@clee2000 clee2000 commented Nov 6, 2024

Adds tests for webhookToDynamo bot so I can be certain that nothing changes when I upgrade octokit

The tests do not have every webhook event, but most of that bot's code is the same for each event

zipped file of expected results (zipped to reduce size and to reduce confusion when grepping for things)

No functional changes, just saving the current outputs/results

@vercel
Copy link
Copy Markdown

vercel bot commented Nov 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
torchci ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 6, 2024 8:45pm

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 6, 2024
@clee2000 clee2000 marked this pull request as ready for review November 6, 2024 18:53
@clee2000 clee2000 requested a review from a team November 6, 2024 18:53
@clee2000 clee2000 changed the title [bots][ez] Adds testing for webhookToDynamo bot [bots][ez] Add testing for webhookToDynamo bot Nov 6, 2024
Catherine Lee added 2 commits November 6, 2024 11:17
Copy link
Copy Markdown
Contributor

@huydhn huydhn left a comment

Choose a reason for hiding this comment

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

Having more test is definitely better than having no tests I think :)

@clee2000 clee2000 merged commit 3c88f8c into main Nov 6, 2024
@clee2000 clee2000 deleted the csl/webhookToDynamo_tests branch November 6, 2024 20:56
@clee2000 clee2000 mentioned this pull request Nov 6, 2024
clee2000 added a commit that referenced this pull request Nov 8, 2024
Upgrading cuz I think it's a good idea to be on a more recent version.
idk what the consequences will be

Theres also next 15.something but that came out really recently and
next-auth doesn't list it as a compatible version

octokit types changed which is why webhookToDyanamo looks different.
Functionality should be the same, mostly just type changes + casting,
and we have tests after #5869

Cousin to #5862 but does both
slightly less and slightly more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants