bitfab 0.64.26 → 0.64.28
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/{chunk-ASTEBDSS.js → chunk-5XISBPYE.js} +6 -3
- package/dist/{chunk-ASTEBDSS.js.map → chunk-5XISBPYE.js.map} +1 -1
- package/dist/{chunk-VD6MDXZW.js → chunk-6LDCF6CT.js} +9 -2
- package/dist/chunk-6LDCF6CT.js.map +1 -0
- package/dist/{chunk-VO53KBVA.js → chunk-AKEMXWCU.js} +6 -3
- package/dist/{chunk-VO53KBVA.js.map → chunk-AKEMXWCU.js.map} +1 -1
- package/dist/{chunk-TY2KDCRL.js → chunk-B6MEDBL5.js} +6 -6
- package/dist/chunk-B6MEDBL5.js.map +1 -0
- package/dist/{chunk-LH5VU43B.js → chunk-C4LDBXZU.js} +9 -2
- package/dist/chunk-C4LDBXZU.js.map +1 -0
- package/dist/{chunk-MTIBQLYF.js → chunk-WBCKZ2NA.js} +11 -5
- package/dist/{chunk-MTIBQLYF.js.map → chunk-WBCKZ2NA.js.map} +1 -1
- package/dist/{http-LANLQNQ3.js → http-ATKNNYT2.js} +2 -2
- package/dist/{http-CXHTC4WS.js → http-LO4LVZXI.js} +2 -2
- package/dist/index.cjs +12 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +22 -3
- package/dist/index.d.ts +22 -3
- package/dist/index.js +3 -3
- package/dist/node.cjs +12 -2
- package/dist/node.cjs.map +1 -1
- package/dist/node.js +3 -3
- package/dist/{replay-2YS2BPDW.js → replay-NDQA27IL.js} +3 -3
- package/dist/{replay-DFRQF5TU.js → replay-NWZAOS5L.js} +3 -3
- package/dist/replayCli.js +3 -3
- package/dist/seedCli.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-LH5VU43B.js.map +0 -1
- package/dist/chunk-TY2KDCRL.js.map +0 -1
- package/dist/chunk-VD6MDXZW.js.map +0 -1
- /package/dist/{http-CXHTC4WS.js.map → http-ATKNNYT2.js.map} +0 -0
- /package/dist/{http-LANLQNQ3.js.map → http-LO4LVZXI.js.map} +0 -0
- /package/dist/{replay-2YS2BPDW.js.map → replay-NDQA27IL.js.map} +0 -0
- /package/dist/{replay-DFRQF5TU.js.map → replay-NWZAOS5L.js.map} +0 -0
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
flushTraces,
|
|
9
9
|
parseRetryAfterMs,
|
|
10
10
|
serializePayloadBody
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AKEMXWCU.js";
|
|
12
12
|
import "./chunk-MT36GJMW.js";
|
|
13
13
|
export {
|
|
14
14
|
BitfabError,
|
|
@@ -21,4 +21,4 @@ export {
|
|
|
21
21
|
parseRetryAfterMs,
|
|
22
22
|
serializePayloadBody
|
|
23
23
|
};
|
|
24
|
-
//# sourceMappingURL=http-
|
|
24
|
+
//# sourceMappingURL=http-ATKNNYT2.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
flushTraces,
|
|
9
9
|
parseRetryAfterMs,
|
|
10
10
|
serializePayloadBody
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-5XISBPYE.js";
|
|
12
12
|
export {
|
|
13
13
|
BitfabError,
|
|
14
14
|
HttpClient,
|
|
@@ -20,4 +20,4 @@ export {
|
|
|
20
20
|
parseRetryAfterMs,
|
|
21
21
|
serializePayloadBody
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=http-
|
|
23
|
+
//# sourceMappingURL=http-LO4LVZXI.js.map
|
package/dist/index.cjs
CHANGED
|
@@ -51,7 +51,7 @@ var __version__, __packageName__;
|
|
|
51
51
|
var init_version_generated = __esm({
|
|
52
52
|
"src/version.generated.ts"() {
|
|
53
53
|
"use strict";
|
|
54
|
-
__version__ = "0.64.
|
|
54
|
+
__version__ = "0.64.28";
|
|
55
55
|
__packageName__ = "bitfab";
|
|
56
56
|
}
|
|
57
57
|
});
|
|
@@ -2928,7 +2928,7 @@ var init_http = __esm({
|
|
|
2928
2928
|
* Start a replay session by fetching historical traces.
|
|
2929
2929
|
* Blocking call - creates an experiment and returns lightweight item references.
|
|
2930
2930
|
*/
|
|
2931
|
-
async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetIds, graderIds, dbBranchSettings, attempts, includeOriginalMetadata, onlyWithAssertions, skipAssertionJudging, experimentalSelectiveReplay, notes, metadata, dryRun, invocation) {
|
|
2931
|
+
async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetIds, graderIds, dbBranchSettings, attempts, includeOriginalMetadata, onlyWithAssertions, skipAssertionJudging, experimentalSelectiveReplay, notes, metadata, dryRun, experimentGroupName, invocation) {
|
|
2932
2932
|
const payload = { traceFunctionKey };
|
|
2933
2933
|
if (experimentalSelectiveReplay !== void 0) {
|
|
2934
2934
|
payload.experimentalSelectiveReplay = experimentalSelectiveReplay;
|
|
@@ -2961,6 +2961,9 @@ var init_http = __esm({
|
|
|
2961
2961
|
if (experimentGroupId !== void 0) {
|
|
2962
2962
|
payload.experimentGroupId = experimentGroupId;
|
|
2963
2963
|
}
|
|
2964
|
+
if (experimentGroupName !== void 0) {
|
|
2965
|
+
payload.experimentGroupName = experimentGroupName;
|
|
2966
|
+
}
|
|
2964
2967
|
if (datasetIds !== void 0) {
|
|
2965
2968
|
if (datasetIds.length === 1) {
|
|
2966
2969
|
payload.datasetId = datasetIds[0];
|
|
@@ -4780,6 +4783,11 @@ async function replay(httpClient, serviceUrl, traceFunctionKey, fn, options, reg
|
|
|
4780
4783
|
"force only applies when resuming an experiment. Pass it together with resume."
|
|
4781
4784
|
);
|
|
4782
4785
|
}
|
|
4786
|
+
if (options?.experimentGroupName !== void 0 && options.experimentGroupId === void 0) {
|
|
4787
|
+
throw new BitfabError(
|
|
4788
|
+
"experimentGroupName only applies with experimentGroupId. Pass it together with experimentGroupId."
|
|
4789
|
+
);
|
|
4790
|
+
}
|
|
4783
4791
|
if (options?.experimentalSelectiveReplay !== void 0) {
|
|
4784
4792
|
validateSelectiveReplayOptions(options.experimentalSelectiveReplay);
|
|
4785
4793
|
if ((options.mock ?? "marked") !== "marked" || normalizeMockOverrides(options.mockOverride).length > 0 || registeredOverrides.length > 0) {
|
|
@@ -4854,6 +4862,7 @@ async function replay(httpClient, serviceUrl, traceFunctionKey, fn, options, reg
|
|
|
4854
4862
|
options?.notes,
|
|
4855
4863
|
options?.metadata,
|
|
4856
4864
|
options?.dryRun === true,
|
|
4865
|
+
options?.experimentGroupName,
|
|
4857
4866
|
safeReplayInvocation(
|
|
4858
4867
|
() => buildReplayInvocation(
|
|
4859
4868
|
Object.entries(cliFlags(options) ?? explicitReplayOptions(options))
|
|
@@ -5306,6 +5315,7 @@ var init_replay = __esm({
|
|
|
5306
5315
|
"mockOverride",
|
|
5307
5316
|
"dbBranch",
|
|
5308
5317
|
"experimentGroupId",
|
|
5318
|
+
"experimentGroupName",
|
|
5309
5319
|
"datasetId",
|
|
5310
5320
|
"datasetIds",
|
|
5311
5321
|
"graderIds",
|