@qawolf/cli 1.19.1 → 1.19.2
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/dist/cli.js
CHANGED
|
@@ -326146,7 +326146,7 @@ var lifecycleMessages = {
|
|
|
326146
326146
|
alreadyRunning: (id) => `Runner ${id} was already running.`,
|
|
326147
326147
|
defaultNotRemembered: (id) => `Runner ${id} could not be written to .qawolf as this directory's default, so later commands will not find it on their own. Pass --runner ${id}, or set QAWOLF_RUNNER_ID=${id}.`,
|
|
326148
326148
|
defaultNotForgotten: (id) => `Runner ${id} was terminated, but it could not be removed from .qawolf as this directory's default, so later commands will still be sent to it. Pass --runner, or launch a new runner.`,
|
|
326149
|
-
envRunnerIdShadowsLaunch: (launchedId, envId) => `QAWOLF_RUNNER_ID=${envId} is still set, so commands that omit --runner will keep targeting it instead of the runner just launched. Pass --runner ${launchedId}
|
|
326149
|
+
envRunnerIdShadowsLaunch: (launchedId, envId) => `QAWOLF_RUNNER_ID=${envId} is still set, so commands that omit --runner will keep targeting it instead of the runner just launched. Pass --runner ${launchedId} to address this one.`,
|
|
326150
326150
|
keptAlive: (id) => `Runner ${id} is alive, and its inactivity clock has been reset.`,
|
|
326151
326151
|
launchFailed: (id, error) => `Launching runner ${id} failed. ${error}`,
|
|
326152
326152
|
launchLost: (id, error) => `Launching runner ${id} failed. ${error}. The request may still have reached QA Wolf and started a runner, so relaunch the same id with qawolf runner launch --id ${id} to attach to it rather than start a second one, or terminate it with qawolf runner terminate --runner ${id}.`,
|
|
@@ -346136,7 +346136,7 @@ function startUpdateCheck(deps) {
|
|
|
346136
346136
|
// package.json
|
|
346137
346137
|
var package_default = {
|
|
346138
346138
|
name: "@qawolf/cli",
|
|
346139
|
-
version: "1.19.
|
|
346139
|
+
version: "1.19.2",
|
|
346140
346140
|
description: "Run and manage QA Wolf flows from the terminal, CI, or an AI agent",
|
|
346141
346141
|
keywords: [
|
|
346142
346142
|
"automation",
|
|
@@ -359030,4 +359030,4 @@ createProgram({ signals }).parseAsync().catch(() => {
|
|
|
359030
359030
|
process.exitCode = 1;
|
|
359031
359031
|
}).finally(() => flushAndExit(typeof process.exitCode === "number" ? process.exitCode : 0));
|
|
359032
359032
|
|
|
359033
|
-
//# debugId=
|
|
359033
|
+
//# debugId=3E751EC68D3A12B564756E2164756E21
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@ Commands that target a runner find one in this order: `--runner`, then
|
|
|
17
17
|
`QAWOLF_RUNNER_ID`, then the runner stored for the current directory (which
|
|
18
18
|
`qawolf runner launch` sets). Setting the environment variable once is the most
|
|
19
19
|
robust for a harness whose working directory may not be stable, but it comes
|
|
20
|
-
with
|
|
20
|
+
with three catches worth knowing before you rely on it.
|
|
21
21
|
|
|
22
22
|
`qawolf runner launch` is not in that order: it takes its id from `--id` and
|
|
23
23
|
never reads `QAWOLF_RUNNER_ID`. Bare `qawolf runner launch` invents a random id,
|
|
@@ -31,6 +31,13 @@ auto-launch described next: instead of starting `agent-1`, commands try to reach
|
|
|
31
31
|
it and fail with exit code `4`, which reads as "retry" and never succeeds.
|
|
32
32
|
Launch that id once yourself and the rest follows.
|
|
33
33
|
|
|
34
|
+
And launching an id that differs from `QAWOLF_RUNNER_ID` prints a warning on
|
|
35
|
+
stderr naming both ids: the variable still outranks the directory default, so
|
|
36
|
+
commands that omit `--runner` keep going to whatever it names, not the runner
|
|
37
|
+
you just launched. Expected when you are launching an additional runner on
|
|
38
|
+
purpose — address that one with `--runner` rather than re-exporting the
|
|
39
|
+
variable, which would repoint every other runner-less command too.
|
|
40
|
+
|
|
34
41
|
If nothing names a runner, the commands that change something will launch one
|
|
35
42
|
and say so on stderr, naming it: `run`, `act` and `exec`. **Read that
|
|
36
43
|
announcement.** The browser it just started is fresh: nothing has been run on it,
|