bitfab 0.64.17 → 0.64.18

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.
Files changed (32) hide show
  1. package/cloudReplay.py +5 -1
  2. package/dist/{chunk-QXL4BWR7.js → chunk-4AZHPORE.js} +6 -6
  3. package/dist/{chunk-CAPJNFVL.js → chunk-FYRM6KRA.js} +2 -2
  4. package/dist/{chunk-YKPUKZJ2.js → chunk-HYIDCLES.js} +2 -2
  5. package/dist/{chunk-TL7SEFMM.js → chunk-J76P75JP.js} +2 -2
  6. package/dist/{chunk-TL7SEFMM.js.map → chunk-J76P75JP.js.map} +1 -1
  7. package/dist/{chunk-SHLXQATL.js → chunk-MFYWZFV6.js} +2 -2
  8. package/dist/{chunk-SHLXQATL.js.map → chunk-MFYWZFV6.js.map} +1 -1
  9. package/dist/{chunk-424DGY5C.js → chunk-N23USNUX.js} +4 -4
  10. package/dist/{http-LGFMXXJT.js → http-J7BSIXZV.js} +2 -2
  11. package/dist/{http-X5ZUGL5H.js → http-V3DB4PXL.js} +2 -2
  12. package/dist/index.cjs +1 -1
  13. package/dist/index.cjs.map +1 -1
  14. package/dist/index.d.cts +1 -1
  15. package/dist/index.d.ts +1 -1
  16. package/dist/index.js +3 -3
  17. package/dist/node.cjs +1 -1
  18. package/dist/node.cjs.map +1 -1
  19. package/dist/node.js +3 -3
  20. package/dist/{replay-TY6224JF.js → replay-TF4ATVXC.js} +3 -3
  21. package/dist/{replay-JNQDEFND.js → replay-W6AODQF3.js} +3 -3
  22. package/dist/replayCli.js +3 -3
  23. package/dist/seedCli.js +3 -3
  24. package/package.json +1 -1
  25. /package/dist/{chunk-QXL4BWR7.js.map → chunk-4AZHPORE.js.map} +0 -0
  26. /package/dist/{chunk-CAPJNFVL.js.map → chunk-FYRM6KRA.js.map} +0 -0
  27. /package/dist/{chunk-YKPUKZJ2.js.map → chunk-HYIDCLES.js.map} +0 -0
  28. /package/dist/{chunk-424DGY5C.js.map → chunk-N23USNUX.js.map} +0 -0
  29. /package/dist/{http-LGFMXXJT.js.map → http-J7BSIXZV.js.map} +0 -0
  30. /package/dist/{http-X5ZUGL5H.js.map → http-V3DB4PXL.js.map} +0 -0
  31. /package/dist/{replay-JNQDEFND.js.map → replay-TF4ATVXC.js.map} +0 -0
  32. /package/dist/{replay-TY6224JF.js.map → replay-W6AODQF3.js.map} +0 -0
package/cloudReplay.py CHANGED
@@ -2569,9 +2569,13 @@ def add_run_name(lines):
2569
2569
  lines.insert(named + 1, f"run-name: {json.dumps(RUN_NAME)}")
2570
2570
 
2571
2571
 
2572
+ def without_yaml_comment(line):
2573
+ return re.sub(r"(^|\s)#.*", "", line)
2574
+
2575
+
2572
2576
  def replay_step_key(lines):
2573
2577
  for index, line in enumerate(lines):
2574
- if "--cloud-execute" not in line:
2578
+ if "--cloud-execute" not in without_yaml_comment(line):
2575
2579
  continue
2576
2580
  for above in range(index, -1, -1):
2577
2581
  match = re.match(r"([ \t]*)(- +)?run[ \t]*:", lines[above])
@@ -17,7 +17,7 @@ import {
17
17
  serializeValue,
18
18
  toJsonSafe,
19
19
  toJsonSafeReport
20
- } from "./chunk-YKPUKZJ2.js";
20
+ } from "./chunk-HYIDCLES.js";
21
21
  import {
22
22
  BitfabError,
23
23
  CONTENT_OFF_KEY,
@@ -36,7 +36,7 @@ import {
36
36
  readEnv,
37
37
  recordCallerTraceMetadata,
38
38
  retireTraceMetadata
39
- } from "./chunk-TL7SEFMM.js";
39
+ } from "./chunk-J76P75JP.js";
40
40
  import {
41
41
  __privateAdd,
42
42
  __privateGet,
@@ -6307,7 +6307,7 @@ var Bitfab = class {
6307
6307
  await runWithSeedContext({ traceId }, async () => target(...args));
6308
6308
  } finally {
6309
6309
  try {
6310
- const { flushTraces: flushTraces2 } = await import("./http-LGFMXXJT.js");
6310
+ const { flushTraces: flushTraces2 } = await import("./http-J7BSIXZV.js");
6311
6311
  await flushTraces2(3e4);
6312
6312
  } finally {
6313
6313
  unrecorded = activeTraceStates.delete(traceId);
@@ -6366,7 +6366,7 @@ var Bitfab = class {
6366
6366
  `Function is wrapped with trace function key '${wrappedKey}' but replay was called with '${traceFunctionKey}'. Pass matching keys, or pass the unwrapped function to replay it under the explicit key.`
6367
6367
  );
6368
6368
  }
6369
- const { replay: doReplay } = await import("./replay-TY6224JF.js");
6369
+ const { replay: doReplay } = await import("./replay-TF4ATVXC.js");
6370
6370
  return doReplay(
6371
6371
  this.httpClient,
6372
6372
  this.serviceUrl,
@@ -6712,7 +6712,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
6712
6712
  sessionId: seedCase.sessionId
6713
6713
  })
6714
6714
  );
6715
- const { flushTraces: flushTraces2 } = await import("./http-LGFMXXJT.js");
6715
+ const { flushTraces: flushTraces2 } = await import("./http-J7BSIXZV.js");
6716
6716
  await flushTraces2(3e4);
6717
6717
  return { pipeline, traceFunctionKey, traceIds };
6718
6718
  }
@@ -6757,4 +6757,4 @@ export {
6757
6757
  reseedFromRegistry,
6758
6758
  seedFromRegistry
6759
6759
  };
6760
- //# sourceMappingURL=chunk-QXL4BWR7.js.map
6760
+ //# sourceMappingURL=chunk-4AZHPORE.js.map
@@ -9,7 +9,7 @@ import {
9
9
  unrefTimer,
10
10
  warnOnce,
11
11
  writeOnce
12
- } from "./chunk-SHLXQATL.js";
12
+ } from "./chunk-MFYWZFV6.js";
13
13
 
14
14
  // src/codeChange.ts
15
15
  var MAX_FILES = 60;
@@ -1902,4 +1902,4 @@ export {
1902
1902
  warnJudgeAssertionsDeprecated,
1903
1903
  replay
1904
1904
  };
1905
- //# sourceMappingURL=chunk-CAPJNFVL.js.map
1905
+ //# sourceMappingURL=chunk-FYRM6KRA.js.map
@@ -8,7 +8,7 @@ import {
8
8
  replayContextReady,
9
9
  runWithReplayContext,
10
10
  unrefTimer
11
- } from "./chunk-TL7SEFMM.js";
11
+ } from "./chunk-J76P75JP.js";
12
12
  import {
13
13
  runWithCaptureSuppressed,
14
14
  warnOnce,
@@ -2050,4 +2050,4 @@ export {
2050
2050
  warnJudgeAssertionsDeprecated,
2051
2051
  replay
2052
2052
  };
2053
- //# sourceMappingURL=chunk-YKPUKZJ2.js.map
2053
+ //# sourceMappingURL=chunk-HYIDCLES.js.map
@@ -189,7 +189,7 @@ function encodeRequestBody(body) {
189
189
  }
190
190
 
191
191
  // src/version.generated.ts
192
- var __version__ = "0.64.17";
192
+ var __version__ = "0.64.18";
193
193
  var __packageName__ = "bitfab";
194
194
 
195
195
  // src/constants.ts
@@ -2959,4 +2959,4 @@ export {
2959
2959
  HttpClient,
2960
2960
  experimentIdWireFields
2961
2961
  };
2962
- //# sourceMappingURL=chunk-TL7SEFMM.js.map
2962
+ //# sourceMappingURL=chunk-J76P75JP.js.map