hillclimb 0.9.11 → 0.9.12
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.
|
@@ -138,6 +138,7 @@ async function gitOut(args, cwd) {
|
|
|
138
138
|
try {
|
|
139
139
|
const { stdout } = await execFileAsync("git", args, {
|
|
140
140
|
cwd,
|
|
141
|
+
windowsHide: true,
|
|
141
142
|
timeout: 5e3,
|
|
142
143
|
maxBuffer: 1024 * 1024
|
|
143
144
|
});
|
|
@@ -160,7 +161,7 @@ async function repoIdentity(repoRoot) {
|
|
|
160
161
|
}
|
|
161
162
|
async function logHeal(level, message) {
|
|
162
163
|
try {
|
|
163
|
-
const { appendLog: appendLog2 } = await import("./log-
|
|
164
|
+
const { appendLog: appendLog2 } = await import("./log-DZFABG3I.js");
|
|
164
165
|
appendLog2(level, message);
|
|
165
166
|
} catch {
|
|
166
167
|
}
|
package/dist/main.js
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
setLogPrefix,
|
|
11
11
|
todayLogPath,
|
|
12
12
|
upsertProject
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YBBDXGEY.js";
|
|
14
14
|
|
|
15
15
|
// src/main.ts
|
|
16
16
|
import fs28 from "fs";
|
|
@@ -4658,6 +4658,7 @@ async function gitOut(cwd, args) {
|
|
|
4658
4658
|
try {
|
|
4659
4659
|
const { stdout } = await execFileAsync("git", args, {
|
|
4660
4660
|
cwd,
|
|
4661
|
+
windowsHide: true,
|
|
4661
4662
|
encoding: "utf-8",
|
|
4662
4663
|
timeout: GIT_TIMEOUT_MS,
|
|
4663
4664
|
maxBuffer: 4 * 1024 * 1024
|
|
@@ -18763,7 +18764,7 @@ async function uploadArtifact(client, contributionId, filename, mimeType, buffer
|
|
|
18763
18764
|
}
|
|
18764
18765
|
|
|
18765
18766
|
// package.json
|
|
18766
|
-
var version = "0.9.
|
|
18767
|
+
var version = "0.9.12";
|
|
18767
18768
|
|
|
18768
18769
|
// src/version.ts
|
|
18769
18770
|
var CLI_VERSION = version;
|
|
@@ -20352,6 +20353,7 @@ import path21 from "path";
|
|
|
20352
20353
|
var GIT_TRACES_SLUG = "git-traces";
|
|
20353
20354
|
var MAX_FORK_SWEEP_THREADS2 = 8;
|
|
20354
20355
|
var MAX_UPLOAD_BYTES = 500 * 1024 * 1024;
|
|
20356
|
+
var MAX_BASELINE_BUNDLE_UPLOAD_BYTES = 1024 * 1024 * 1024;
|
|
20355
20357
|
var STALE_SCOPED_STATE_TTL_MS = 24 * 60 * 60 * 1e3;
|
|
20356
20358
|
var REBASELINE_AFTER_DIFF_FAILURES = 2;
|
|
20357
20359
|
async function withRepoCaptureLock(repoRoot, capture) {
|
|
@@ -20496,10 +20498,11 @@ function execGit(cwd, args) {
|
|
|
20496
20498
|
}).toString("utf-8").trim();
|
|
20497
20499
|
}
|
|
20498
20500
|
function canUploadFile(filename, buffer) {
|
|
20499
|
-
|
|
20501
|
+
const limit = filename.endsWith("-baseline.bundle") ? MAX_BASELINE_BUNDLE_UPLOAD_BYTES : MAX_UPLOAD_BYTES;
|
|
20502
|
+
if (buffer.byteLength <= limit) return true;
|
|
20500
20503
|
appendLog(
|
|
20501
20504
|
"warn",
|
|
20502
|
-
`git-traces: skipping ${filename} (${buffer.byteLength} bytes > ${
|
|
20505
|
+
`git-traces: skipping ${filename} (${buffer.byteLength} bytes > ${limit} limit)`
|
|
20503
20506
|
);
|
|
20504
20507
|
return false;
|
|
20505
20508
|
}
|