@testdriverai/runner 7.8.0-test.65 → 7.8.0-test.67
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.
- package/README.md +19 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -160,6 +160,25 @@ Helper scripts in `scripts-desktop/` for managing the Linux desktop environment:
|
|
|
160
160
|
|
|
161
161
|
## Deployment
|
|
162
162
|
|
|
163
|
+
### Runner Version Management
|
|
164
|
+
|
|
165
|
+
The runner is deployed to sandboxes using the same strategy on both Windows (EC2/AMI) and Linux (E2B):
|
|
166
|
+
|
|
167
|
+
| Channel | npm dist-tag | Strategy |
|
|
168
|
+
|---------|-------------|----------|
|
|
169
|
+
| **stable** | `latest` | `npm install -g @testdriverai/runner@latest` |
|
|
170
|
+
| **canary** | `canary` | `npm install -g @testdriverai/runner@canary` |
|
|
171
|
+
| **test** | `test` | `npm install -g @testdriverai/runner@test` |
|
|
172
|
+
| **dev** | — | Upload local source to S3, download & extract on sandbox, `npm install` (deps only) |
|
|
173
|
+
|
|
174
|
+
The Docker image (E2B) and AMI (Windows) bake in a runner version at build time to warm the npm cache. On every sandbox provision, the API runs `npm install` with the channel's dist-tag:
|
|
175
|
+
|
|
176
|
+
- If the baked-in version matches, npm is a **fast no-op**
|
|
177
|
+
- If stale, npm does an **incremental update** reusing cached dependencies
|
|
178
|
+
- Dev mode bypasses npm entirely and copies local source via S3
|
|
179
|
+
|
|
180
|
+
This ensures sandboxes always get the correct runner version for their channel without requiring image rebuilds for every release.
|
|
181
|
+
|
|
163
182
|
### AWS AMI (Packer)
|
|
164
183
|
|
|
165
184
|
See `packer/` for Packer templates that build AMIs with the runner pre-installed. The AMI includes the full desktop stack, Chrome, Python, and the runner.
|