Skip to content

Commit

Permalink
Update bot commands
Browse files Browse the repository at this point in the history
  • Loading branch information
gabritto committed May 23, 2024
1 parent c1e655c commit 5e177a1
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions Triggering-TypeScript-Bot.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
If you're a TS maintainer, you can respond to a PR with a comment similar to
```
@typescript-bot test this
@typescript-bot [test command]
```
to trigger a specialized on-demand build on the PR.

The following command triggers a set of the more common on-demand tests:
```
@tyepscript-bot test it
```

This will trigger the `test top400`, `user test this`, `run dt`, `perf test this faster` commands.

The currently recognized commands are:
* [`run dt`](https://typescript.visualstudio.com/TypeScript/_build?definitionId=23) - The runs the definitely typed linter using the PR TS build sharded across 4 worker containers (this takes around 25 minutes).
* [`run dt slower`](https://typescript.visualstudio.com/TypeScript/_build?definitionId=18) - This is the same as the above, but only on a single worker (this takes around 90 minutes). This is useful if the results aren't needed promptly and the build queue is busy.
Expand Down Expand Up @@ -37,7 +44,6 @@ The source of the webhook running the bot is currently available [here](https://
Here is the usual invocation of all the useful bot commands at once:

```ts
@typescript-bot test this
@typescript-bot test top100
@typescript-bot test tsserver top100
@typescript-bot user test this
Expand Down

0 comments on commit 5e177a1

Please sign in to comment.