bitfab 0.63.1 → 0.63.3
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-Q74D6UQA.js → chunk-2SHMY7VT.js} +10 -4
- package/dist/{chunk-Q74D6UQA.js.map → chunk-2SHMY7VT.js.map} +1 -1
- package/dist/{chunk-RW26DE5W.js → chunk-2UXFKQAO.js} +6 -4
- package/dist/chunk-2UXFKQAO.js.map +1 -0
- package/dist/{chunk-KARCQKAW.js → chunk-7J4PWCMT.js} +10 -4
- package/dist/{chunk-KARCQKAW.js.map → chunk-7J4PWCMT.js.map} +1 -1
- package/dist/{chunk-ZVEIZZAN.js → chunk-DISN55EE.js} +6 -6
- package/dist/{chunk-ZVEIZZAN.js.map → chunk-DISN55EE.js.map} +1 -1
- package/dist/{chunk-5RHWKAAZ.js → chunk-ZVBOAKPF.js} +43 -22
- package/dist/chunk-ZVBOAKPF.js.map +1 -0
- package/dist/{http-TO3MKZLO.js → http-T57OQRSM.js} +2 -2
- package/dist/{http-Q62IVATC.js → http-TNAMJGTM.js} +2 -2
- package/dist/index.cjs +50 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +26 -19
- package/dist/index.d.ts +26 -19
- package/dist/index.js +3 -3
- package/dist/node.cjs +50 -23
- package/dist/node.cjs.map +1 -1
- package/dist/node.js +3 -3
- package/dist/{replay-RJJAPO6Q.js → replay-GMHI5FIV.js} +3 -3
- package/dist/replayCli.js +34 -3
- package/dist/replayCli.js.map +1 -1
- package/dist/seedCli.js +2 -2
- package/package.json +2 -2
- package/dist/chunk-5RHWKAAZ.js.map +0 -1
- package/dist/chunk-RW26DE5W.js.map +0 -1
- /package/dist/{http-Q62IVATC.js.map → http-T57OQRSM.js.map} +0 -0
- /package/dist/{http-TO3MKZLO.js.map → http-TNAMJGTM.js.map} +0 -0
- /package/dist/{replay-RJJAPO6Q.js.map → replay-GMHI5FIV.js.map} +0 -0
|
@@ -189,7 +189,7 @@ function encodeRequestBody(body) {
|
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
// src/version.generated.ts
|
|
192
|
-
var __version__ = "0.63.
|
|
192
|
+
var __version__ = "0.63.3";
|
|
193
193
|
var __packageName__ = "bitfab";
|
|
194
194
|
|
|
195
195
|
// src/constants.ts
|
|
@@ -2615,7 +2615,7 @@ var HttpClient = class {
|
|
|
2615
2615
|
* Start a replay session by fetching historical traces.
|
|
2616
2616
|
* Blocking call - creates an experiment and returns lightweight item references.
|
|
2617
2617
|
*/
|
|
2618
|
-
async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetIds, graderIds, dbBranchSettings, attempts, includeOriginalMetadata, onlyWithAssertions, skipAssertionJudging, experimentalSelectiveReplay, notes, metadata) {
|
|
2618
|
+
async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetIds, graderIds, dbBranchSettings, attempts, includeOriginalMetadata, onlyWithAssertions, skipAssertionJudging, experimentalSelectiveReplay, notes, metadata, dryRun) {
|
|
2619
2619
|
const payload = { traceFunctionKey };
|
|
2620
2620
|
if (experimentalSelectiveReplay !== void 0) {
|
|
2621
2621
|
payload.experimentalSelectiveReplay = experimentalSelectiveReplay;
|
|
@@ -2673,6 +2673,9 @@ var HttpClient = class {
|
|
|
2673
2673
|
if (skipAssertionJudging !== true) {
|
|
2674
2674
|
payload.judgeAssertions = true;
|
|
2675
2675
|
}
|
|
2676
|
+
if (dryRun) {
|
|
2677
|
+
payload.dryRun = true;
|
|
2678
|
+
}
|
|
2676
2679
|
const git = await resolvedGitState();
|
|
2677
2680
|
if (git && !isEmptyGitState(git)) {
|
|
2678
2681
|
payload.git = git;
|
|
@@ -2686,7 +2689,10 @@ var HttpClient = class {
|
|
|
2686
2689
|
const { testRunId, testRunUrl, ...rest } = response;
|
|
2687
2690
|
const experimentId = response.experimentId ?? testRunId;
|
|
2688
2691
|
const experimentUrl = response.experimentUrl ?? testRunUrl;
|
|
2689
|
-
if (
|
|
2692
|
+
if (dryRun && response.experimentId === null) {
|
|
2693
|
+
return { ...rest, experimentId: null, experimentUrl: null };
|
|
2694
|
+
}
|
|
2695
|
+
if (experimentId === void 0 || experimentId === null || experimentUrl === void 0 || experimentUrl === null) {
|
|
2690
2696
|
throw new BitfabError(
|
|
2691
2697
|
"Replay start response is missing the experiment ID or URL."
|
|
2692
2698
|
);
|
|
@@ -2940,4 +2946,4 @@ export {
|
|
|
2940
2946
|
HttpClient,
|
|
2941
2947
|
experimentIdWireFields
|
|
2942
2948
|
};
|
|
2943
|
-
//# sourceMappingURL=chunk-
|
|
2949
|
+
//# sourceMappingURL=chunk-2SHMY7VT.js.map
|