@validate.qa/runner 1.0.33 → 1.0.35

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 (4) hide show
  1. package/README.md +24 -1
  2. package/dist/cli.js +566 -194
  3. package/dist/cli.mjs +566 -194
  4. package/package.json +2 -1
package/README.md CHANGED
@@ -39,6 +39,28 @@ Starts the runner daemon, polling for pending test runs from the cloud and execu
39
39
  npx @validate.qa/runner start
40
40
  ```
41
41
 
42
+ ### Auto-update (required)
43
+
44
+ Every published runner version can change the client↔server workflow. On
45
+ `login` / `start` / `status`, and again every ~15 minutes while running, the
46
+ CLI checks the npm `latest` dist-tag for `@validate.qa/runner`. If your
47
+ install is behind, the process **exits** with install instructions:
48
+
49
+ ```bash
50
+ npm install -g @validate.qa/runner@latest
51
+ validate-runner start
52
+ ```
53
+
54
+ The server also rejects heartbeats from outdated local runners (HTTP 426) so
55
+ they cannot claim new work. Cloud / shared runners are not gated by this.
56
+
57
+ | Env var | Effect |
58
+ |---------|--------|
59
+ | `VALIDATE_RUNNER_ALLOW_OUTDATED=1` | Emergency bypass (debug / air-gapped only) |
60
+ | `VALIDATE_RUNNER_VERSION_CHECK_MS` | Recheck interval while running (min 60s, default 15m) |
61
+ | `RUNNER_CLOUD=true` | Skips the check (shared-runner / cloud images) |
62
+ | `MIN_LOCAL_RUNNER_VERSION` *(server)* | Optional floor version if npm is unreachable |
63
+
42
64
  ---
43
65
 
44
66
  ## Commands
@@ -529,10 +551,11 @@ npm publish --access public
529
551
 
530
552
  ### Version
531
553
 
532
- **Current:** 1.0.0
554
+ **Current:** 1.0.35
533
555
 
534
556
  **Changelog:** See [git history](https://github.com/Validate-QA/validate.qa/commits/main/packages/runner) for the full change log. Recent highlights:
535
557
 
558
+ - **1.0.35** - Force-upgrade gate: outdated installs exit when a newer package is on npm (workflow changes every release)
536
559
  - **1.0.0** - First stable release
537
560
  - **0.1.10** - Rename package to `@validate.qa/runner`; API test capabilities; discovery pipeline refactor
538
561
  - **0.1.9** - Mobile execution improvements; mobile bridge security hardening