bitfab 0.64.6 → 0.64.7

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/cloudReplay.py CHANGED
@@ -33,6 +33,8 @@ API_VERSION = "2026-03-10"
33
33
  REPLAY_COMMAND_ENV = "BITFAB_REPLAY_COMMAND"
34
34
  SDK_LANGUAGE_ENV = "BITFAB_SDK_LANGUAGE"
35
35
  CHECK_COMMAND_ENV = "BITFAB_REPLAY_CHECK"
36
+ EXECUTION_TARGET_ENV = "BITFAB_REPLAY_EXECUTION_TARGET"
37
+ HOSTED_EXECUTION_TARGET = "hosted"
36
38
  REQUEST_VERSION = 3
37
39
  OLDEST_DISPATCHED_VERSION = 2
38
40
  RESULT_LINE = "bitfab-replay-result "
@@ -1776,6 +1778,7 @@ def run_command(directory, args, timeout, experiment, *, summarize=True):
1776
1778
  with subprocess.Popen(
1777
1779
  args,
1778
1780
  cwd=directory,
1781
+ env={**os.environ, EXECUTION_TARGET_ENV: HOSTED_EXECUTION_TARGET},
1779
1782
  stdout=output,
1780
1783
  stderr=subprocess.PIPE,
1781
1784
  stdin=subprocess.DEVNULL,
@@ -17,7 +17,7 @@ import {
17
17
  serializeValue,
18
18
  toJsonSafe,
19
19
  toJsonSafeReport
20
- } from "./chunk-B363XZTL.js";
20
+ } from "./chunk-SZVZU3F6.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-ROZEHSGO.js";
39
+ } from "./chunk-TAGNRN6F.js";
40
40
  import {
41
41
  __privateAdd,
42
42
  __privateGet,
@@ -6253,7 +6253,7 @@ var Bitfab = class {
6253
6253
  await runWithSeedContext({ traceId }, async () => target(...args));
6254
6254
  } finally {
6255
6255
  try {
6256
- const { flushTraces: flushTraces2 } = await import("./http-2UZ6CM3K.js");
6256
+ const { flushTraces: flushTraces2 } = await import("./http-YUNQFRQY.js");
6257
6257
  await flushTraces2(3e4);
6258
6258
  } finally {
6259
6259
  unrecorded = activeTraceStates.delete(traceId);
@@ -6312,7 +6312,7 @@ var Bitfab = class {
6312
6312
  `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.`
6313
6313
  );
6314
6314
  }
6315
- const { replay: doReplay } = await import("./replay-KQCLQRJT.js");
6315
+ const { replay: doReplay } = await import("./replay-PN6MNLGK.js");
6316
6316
  return doReplay(
6317
6317
  this.httpClient,
6318
6318
  this.serviceUrl,
@@ -6658,7 +6658,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
6658
6658
  sessionId: seedCase.sessionId
6659
6659
  })
6660
6660
  );
6661
- const { flushTraces: flushTraces2 } = await import("./http-2UZ6CM3K.js");
6661
+ const { flushTraces: flushTraces2 } = await import("./http-YUNQFRQY.js");
6662
6662
  await flushTraces2(3e4);
6663
6663
  return { pipeline, traceFunctionKey, traceIds };
6664
6664
  }
@@ -6703,4 +6703,4 @@ export {
6703
6703
  reseedFromRegistry,
6704
6704
  seedFromRegistry
6705
6705
  };
6706
- //# sourceMappingURL=chunk-6NUSTEQ6.js.map
6706
+ //# sourceMappingURL=chunk-DIOPUOV3.js.map