bitfab 0.61.4 → 0.61.6

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-54EGXUZ3.js";
10
+ } from "./chunk-6WNBR7CF.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-ONLJPP6W.js.map
22
+ //# sourceMappingURL=http-V7JVDVND.js.map
@@ -7,7 +7,7 @@ import {
7
7
  flushTraces,
8
8
  parseRetryAfterMs,
9
9
  serializePayloadBody
10
- } from "./chunk-VWRCLZCA.js";
10
+ } from "./chunk-SUZDXSQB.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-C2TCBBQV.js.map
21
+ //# sourceMappingURL=http-WI7PHG2H.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.4";
54
+ __version__ = "0.61.6";
55
55
  __packageName__ = "bitfab";
56
56
  }
57
57
  });
@@ -2894,7 +2894,7 @@ var init_http = __esm({
2894
2894
  * Start a replay session by fetching historical traces.
2895
2895
  * Blocking call - creates an experiment and returns lightweight item references.
2896
2896
  */
2897
- async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetIds, graderIds, dbBranchSettings, attempts, includeOriginalMetadata, onlyWithAssertions, judgeAssertions, experimentalSelectiveReplay) {
2897
+ async startReplay(traceFunctionKey, limit, traceIds, name, codeChangeDescription, codeChangeFiles, includeDbBranchLease, experimentGroupId, datasetIds, graderIds, dbBranchSettings, attempts, includeOriginalMetadata, onlyWithAssertions, judgeAssertions, experimentalSelectiveReplay, notes) {
2898
2898
  const payload = { traceFunctionKey };
2899
2899
  if (experimentalSelectiveReplay !== void 0) {
2900
2900
  payload.experimentalSelectiveReplay = experimentalSelectiveReplay;
@@ -2908,6 +2908,9 @@ var init_http = __esm({
2908
2908
  if (name !== void 0) {
2909
2909
  payload.name = name;
2910
2910
  }
2911
+ if (notes !== void 0) {
2912
+ payload.notes = notes;
2913
+ }
2911
2914
  if (codeChangeDescription !== void 0) {
2912
2915
  payload.codeChangeDescription = codeChangeDescription;
2913
2916
  }
@@ -4562,6 +4565,7 @@ async function waitForReplayPersistence(httpClient, experimentId, replayedTraceI
4562
4565
  expectedSpanCounts
4563
4566
  );
4564
4567
  const ready = status.traceIds ?? {};
4568
+ Object.assign(readBackTraceIds, ready);
4565
4569
  missing = Object.keys(expectedSpanCounts).filter(
4566
4570
  (traceId) => ready[traceId] === void 0
4567
4571
  ).length;
@@ -4682,7 +4686,8 @@ async function replay(httpClient, serviceUrl, traceFunctionKey, fn, options, reg
4682
4686
  options?.adaptInputs !== void 0,
4683
4687
  options?.onlyWithAssertions,
4684
4688
  options?.judgeAssertions,
4685
- options?.experimentalSelectiveReplay
4689
+ options?.experimentalSelectiveReplay,
4690
+ options?.notes
4686
4691
  );
4687
4692
  if (started.items.length === 0) {
4688
4693
  try {