bitfab 0.61.5 → 0.62.0

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.
@@ -7,7 +7,7 @@ import {
7
7
  flushTraces,
8
8
  parseRetryAfterMs,
9
9
  serializePayloadBody
10
- } from "./chunk-4TRH3X3S.js";
10
+ } from "./chunk-KYHIRSSK.js";
11
11
  import "./chunk-BAOIRE5T.js";
12
12
  export {
13
13
  BitfabError,
@@ -19,4 +19,4 @@ export {
19
19
  parseRetryAfterMs,
20
20
  serializePayloadBody
21
21
  };
22
- //# sourceMappingURL=http-SK2QESXJ.js.map
22
+ //# sourceMappingURL=http-FVLGLWIO.js.map
@@ -7,7 +7,7 @@ import {
7
7
  flushTraces,
8
8
  parseRetryAfterMs,
9
9
  serializePayloadBody
10
- } from "./chunk-R5RMFRHX.js";
10
+ } from "./chunk-7ZFWK2BA.js";
11
11
  export {
12
12
  BitfabError,
13
13
  HttpClient,
@@ -18,4 +18,4 @@ export {
18
18
  parseRetryAfterMs,
19
19
  serializePayloadBody
20
20
  };
21
- //# sourceMappingURL=http-CR2SEMK4.js.map
21
+ //# sourceMappingURL=http-P24OJM7Z.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.61.5";
54
+ __version__ = "0.62.0";
55
55
  __packageName__ = "bitfab";
56
56
  }
57
57
  });
@@ -4136,8 +4136,6 @@ function carriedOverReplayItem(finished) {
4136
4136
  model: null,
4137
4137
  dbSnapshotRef: null,
4138
4138
  dbBranchTimings: null,
4139
- traceOutline: null,
4140
- originalTraceOutline: null,
4141
4139
  carriedOver: true
4142
4140
  };
4143
4141
  }
@@ -4430,9 +4428,7 @@ async function processItem(httpClient, serverItem, fn, experimentId, mockStrateg
4430
4428
  tokens: null,
4431
4429
  model: serverItem.originalModel ?? serverItem.model ?? null,
4432
4430
  dbSnapshotRef: dbSnapshotRef ?? null,
4433
- dbBranchTimings: dbBranchTimings ?? null,
4434
- traceOutline: null,
4435
- originalTraceOutline: null
4431
+ dbBranchTimings: dbBranchTimings ?? null
4436
4432
  };
4437
4433
  }
4438
4434
  try {
@@ -4520,9 +4516,7 @@ async function processItem(httpClient, serverItem, fn, experimentId, mockStrateg
4520
4516
  tokens: null,
4521
4517
  model: originalModel,
4522
4518
  dbSnapshotRef: dbSnapshotRef ?? null,
4523
- dbBranchTimings: dbBranchTimings ?? null,
4524
- traceOutline: null,
4525
- originalTraceOutline: null
4519
+ dbBranchTimings: dbBranchTimings ?? null
4526
4520
  };
4527
4521
  }
4528
4522
  async function waitForReplayPersistence(httpClient, experimentId, replayedTraceIds) {
@@ -4565,6 +4559,7 @@ async function waitForReplayPersistence(httpClient, experimentId, replayedTraceI
4565
4559
  expectedSpanCounts
4566
4560
  );
4567
4561
  const ready = status.traceIds ?? {};
4562
+ Object.assign(readBackTraceIds, ready);
4568
4563
  missing = Object.keys(expectedSpanCounts).filter(
4569
4564
  (traceId) => ready[traceId] === void 0
4570
4565
  ).length;
@@ -4889,9 +4884,7 @@ async function runReplaySession(httpClient, fn, session, fullExperimentUrl, maxC
4889
4884
  tokens: item.tokens,
4890
4885
  model: item.model,
4891
4886
  dbSnapshotRef: item.dbSnapshotRef,
4892
- dbBranchTimings: item.dbBranchTimings,
4893
- traceOutline: item.traceOutline,
4894
- originalTraceOutline: item.originalTraceOutline
4887
+ dbBranchTimings: item.dbBranchTimings
4895
4888
  }
4896
4889
  });
4897
4890
  } catch {
@@ -4986,9 +4979,7 @@ async function runReplaySession(httpClient, fn, session, fullExperimentUrl, maxC
4986
4979
  }
4987
4980
  if (mapped !== void 0) {
4988
4981
  item.tokens = replayTokens?.[mapped] ?? null;
4989
- item.traceOutline = completeResult.traceOutlines?.[mapped] ?? null;
4990
4982
  }
4991
- item.originalTraceOutline = completeResult.originalTraceOutlines?.[item.originalTraceId] ?? null;
4992
4983
  }
4993
4984
  if (completedCount > 0 && missing.length === completedCount) {
4994
4985
  const serverCount = completeResult.traceCount !== void 0 ? ` The server persisted ${completeResult.traceCount} trace(s) for this run.` : "";