next-issue 14.4.14 → 14.4.15
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/switch-run.mjs
CHANGED
|
@@ -40,6 +40,10 @@ export async function refreshInWorker(root) {
|
|
|
40
40
|
connection.close();
|
|
41
41
|
throw new Error('the worker of the going run is older than next-issue, so it cannot refresh. Stop the run, then start it again');
|
|
42
42
|
}
|
|
43
|
+
if (progress.status === 'stopping' && progress.upgrade !== undefined) {
|
|
44
|
+
connection.close();
|
|
45
|
+
return 'next-issue: the run is stopping for an upgrade, so nothing was asked; it starts again on the newer worker and picks up new issues then\n';
|
|
46
|
+
}
|
|
43
47
|
if (progress.status === 'stopping') {
|
|
44
48
|
connection.close();
|
|
45
49
|
return 'next-issue: the run is stopping, so nothing was asked\n';
|
package/package.json
CHANGED
|
@@ -100,7 +100,7 @@ Help the user understand why the worker handed an issue over, then answer the ha
|
|
|
100
100
|
|
|
101
101
|
When it prints `no run is going in this repository`, ask only whether to start a run. On yes, run `next-issue start` in the background, such as with the `run_in_background` option of the Bash tool, since it goes on until the run ends, and tell the user that the run started. The run watches for new issues. On no, do nothing.
|
|
102
102
|
|
|
103
|
-
When it prints `the run is stopping`, tell the user that the stopping run will not claim the issue. Ask no question.
|
|
103
|
+
When it prints `the run is stopping, so nothing was asked`, tell the user that the stopping run will not claim the issue. When it prints `the run is stopping for an upgrade`, tell the user that the run starts again on the newer worker and claims the issue then. Ask no question.
|
|
104
104
|
|
|
105
105
|
When it prints `the run does not watch for new issues`, ask only whether to turn watching on. On yes, run `next-issue watch on`, then `next-issue refresh`, and tell the user what they print. On no, do nothing.
|
|
106
106
|
|
|
@@ -47,7 +47,7 @@ Turn the problem of the user into one GitHub issue, or a split of linked issues
|
|
|
47
47
|
|
|
48
48
|
When it prints `no run is going in this repository`, give the user the url or urls and ask only whether to start a run. On yes, run `next-issue start` in the background, such as with the `run_in_background` option of the Bash tool, since it goes on until the run ends, and tell the user that the run started. The run watches for new issues. On no, do nothing.
|
|
49
49
|
|
|
50
|
-
When it prints `the run is stopping`, give the user the url or urls and say that the stopping run will not claim the issue. Ask no question.
|
|
50
|
+
When it prints `the run is stopping, so nothing was asked`, give the user the url or urls and say that the stopping run will not claim the issue. When it prints `the run is stopping for an upgrade`, give the user the url or urls and say that the run starts again on the newer worker and claims the issue then. Ask no question.
|
|
51
51
|
|
|
52
52
|
When it prints `the run does not watch for new issues`, give the user the url or urls and ask only whether to turn watching on. On yes, run `next-issue watch on`, then `next-issue refresh`, and tell the user what they print. On no, do nothing.
|
|
53
53
|
|