Skip to content

Conversation

@driazati
Copy link
Contributor

@driazati driazati commented Sep 27, 2022

This moves the tvm-bot pr commenting logic from apache/tvm to an AWS Lambda function. This keeps it out of the queue and also gives us better guarantees about runtime (PR comments previously would take up to a minute to show up, with this they are pretty much instant), and this doesn't show up in the CI jobs box on PRs.

There is lots of copy paste from tvm/ci/scripts into tvm_bot/tvm_bot with some minor changes to work with lambda. The main infra changes are in the folder atop that in ci/terraform, which adds a lambda function with an API gateway that exposes a URL that GitHub can send webhooks to.

This PR is just a start so it skips the more complicated parts that generate PR-specific bits, like the docs URL and the skipped tests list. The commenting is also still gated to members of the OSS team.

@driazati driazati force-pushed the tvmbot branch 10 times, most recently from 3b00626 to 0c54c1e Compare September 27, 2022 22:34
@driazati driazati force-pushed the tvmbot branch 11 times, most recently from 8f52f0f to ada140b Compare October 12, 2022 07:51
@driazati driazati marked this pull request as ready for review October 24, 2022 23:57
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.

2 participants