relayrunner 0.14.0 → 0.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +30 -0
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -210,6 +210,36 @@ Runners page, and a running `relayrunner connect` prints when that happens.
210
210
  In the terminal running `relayrunner connect`, `p` does the same.
211
211
  Both exit 1 when not signed in or when the token is no longer valid.
212
212
 
213
+ ## `relayrunner history`
214
+
215
+ ```sh
216
+ npx relayrunner history # the last 20 jobs this machine ran
217
+ npx relayrunner history --limit 50
218
+ npx relayrunner history --json
219
+ ```
220
+
221
+ Lists the jobs `relayrunner connect` ran on this machine, newest first, with
222
+ each one's result and how long it took. They're kept in
223
+ `~/.relayrunner/history.jsonl`, which RelayRunner for Mac reads too.
224
+
225
+ ## `relayrunner jobs`
226
+
227
+ ```sh
228
+ npx relayrunner jobs # the jobs this machine ran in the last week
229
+ npx relayrunner jobs --before <ms> # the page after, from the last page's hint
230
+ npx relayrunner jobs --result failed --repo acme/app # only some of them
231
+ npx relayrunner jobs 123456789 # one job's steps and, if it failed, why
232
+ npx relayrunner jobs --json
233
+ ```
234
+
235
+ Unlike `history`, which reads this computer's own file, `jobs` asks the
236
+ gateway, so it shows GitHub's steps for each job and, for a failed one, the
237
+ failed step, its annotations and the end of its log. Jobs running or waiting
238
+ to start on the machine come first. `--repo`, `--workflow`, `--result`
239
+ (`succeeded`, `failed` or `canceled`) and `--since <ms>` narrow the list. A
240
+ machine only sees jobs that ran on it. RelayRunner for Mac's Jobs window reads
241
+ the same.
242
+
213
243
  ## `relayrunner share`
214
244
 
215
245
  ```sh
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "relayrunner",
3
- "version": "0.14.0",
3
+ "version": "0.16.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Run GitHub Actions jobs on your machine through the RelayRunner gateway.",
6
6
  "repository": {
@@ -19,9 +19,9 @@
19
19
  "bin"
20
20
  ],
21
21
  "optionalDependencies": {
22
- "@relayrunner/cli-darwin-arm64": "0.14.0",
23
- "@relayrunner/cli-darwin-x64": "0.14.0",
24
- "@relayrunner/cli-linux-arm64": "0.14.0",
25
- "@relayrunner/cli-linux-x64": "0.14.0"
22
+ "@relayrunner/cli-darwin-arm64": "0.16.0",
23
+ "@relayrunner/cli-darwin-x64": "0.16.0",
24
+ "@relayrunner/cli-linux-arm64": "0.16.0",
25
+ "@relayrunner/cli-linux-x64": "0.16.0"
26
26
  }
27
27
  }