repowise 0.1.75 → 0.1.77
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/bin/repowise.js +3 -3
- package/package.json +1 -1
package/dist/bin/repowise.js
CHANGED
|
@@ -2297,7 +2297,7 @@ function formatElapsed(ms) {
|
|
|
2297
2297
|
return seconds > 0 ? `${minutes}m ${seconds}s` : `${minutes}m`;
|
|
2298
2298
|
}
|
|
2299
2299
|
var POLL_INTERVAL_MS = 3e3;
|
|
2300
|
-
var MAX_POLL_ATTEMPTS =
|
|
2300
|
+
var MAX_POLL_ATTEMPTS = 7200;
|
|
2301
2301
|
var DEFAULT_CONTEXT_FOLDER = "repowise-context";
|
|
2302
2302
|
async function create() {
|
|
2303
2303
|
const startTime = Date.now();
|
|
@@ -2420,7 +2420,7 @@ async function create() {
|
|
|
2420
2420
|
syncId = triggerResult.syncId;
|
|
2421
2421
|
} catch (triggerErr) {
|
|
2422
2422
|
const msg = triggerErr instanceof Error ? triggerErr.message : "";
|
|
2423
|
-
if (!msg.toLowerCase().includes("already running")) {
|
|
2423
|
+
if (!msg.toLowerCase().includes("already running") && !msg.toLowerCase().includes("already in progress")) {
|
|
2424
2424
|
throw triggerErr;
|
|
2425
2425
|
}
|
|
2426
2426
|
spinner.text = "Resuming existing pipeline...";
|
|
@@ -2775,7 +2775,7 @@ import { join as join15 } from "path";
|
|
|
2775
2775
|
import chalk8 from "chalk";
|
|
2776
2776
|
import ora3 from "ora";
|
|
2777
2777
|
var POLL_INTERVAL_MS2 = 3e3;
|
|
2778
|
-
var MAX_POLL_ATTEMPTS2 =
|
|
2778
|
+
var MAX_POLL_ATTEMPTS2 = 7200;
|
|
2779
2779
|
var DEFAULT_CONTEXT_FOLDER2 = "repowise-context";
|
|
2780
2780
|
function detectRepoRoot2() {
|
|
2781
2781
|
return execSync2("git rev-parse --show-toplevel", { encoding: "utf-8" }).trim();
|