@bitfab/sdk 0.64.29 → 0.65.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.
Files changed (39) hide show
  1. package/cloudReplay.py +3 -5
  2. package/dist/{chunk-2YYVO4RI.js → chunk-3W6RLPGK.js} +4 -4
  3. package/dist/chunk-3W6RLPGK.js.map +1 -0
  4. package/dist/{chunk-UIDS5FUO.js → chunk-JIGT4NC5.js} +2 -2
  5. package/dist/{chunk-KDYML76E.js → chunk-JXIW4FOF.js} +2 -2
  6. package/dist/{chunk-BDPDIXLA.js → chunk-SUXEIG4U.js} +42 -14
  7. package/dist/chunk-SUXEIG4U.js.map +1 -0
  8. package/dist/{chunk-CBF3YILJ.js → chunk-TNIJXUGC.js} +2 -2
  9. package/dist/chunk-TNIJXUGC.js.map +1 -0
  10. package/dist/{chunk-Q74E5WXG.js → chunk-WW2RMMTA.js} +2 -2
  11. package/dist/chunk-WW2RMMTA.js.map +1 -0
  12. package/dist/{http-CTG3RWQO.js → http-7LTYEMJO.js} +2 -2
  13. package/dist/{http-7AS2BELK.js → http-NNVOMI63.js} +2 -2
  14. package/dist/index.cjs +38 -9
  15. package/dist/index.cjs.map +1 -1
  16. package/dist/index.d.cts +76 -43
  17. package/dist/index.d.ts +76 -43
  18. package/dist/index.js +5 -3
  19. package/dist/node.cjs +38 -9
  20. package/dist/node.cjs.map +1 -1
  21. package/dist/node.d.cts +1 -1
  22. package/dist/node.d.ts +1 -1
  23. package/dist/node.js +5 -3
  24. package/dist/node.js.map +1 -1
  25. package/dist/{replay-JV22WC77.js → replay-D7AN6O25.js} +3 -3
  26. package/dist/{replay-FSWT222C.js → replay-L56SESG7.js} +3 -3
  27. package/dist/replayCli.js +3 -3
  28. package/dist/seedCli.js +3 -3
  29. package/package.json +1 -1
  30. package/dist/chunk-2YYVO4RI.js.map +0 -1
  31. package/dist/chunk-BDPDIXLA.js.map +0 -1
  32. package/dist/chunk-CBF3YILJ.js.map +0 -1
  33. package/dist/chunk-Q74E5WXG.js.map +0 -1
  34. /package/dist/{chunk-UIDS5FUO.js.map → chunk-JIGT4NC5.js.map} +0 -0
  35. /package/dist/{chunk-KDYML76E.js.map → chunk-JXIW4FOF.js.map} +0 -0
  36. /package/dist/{http-7AS2BELK.js.map → http-7LTYEMJO.js.map} +0 -0
  37. /package/dist/{http-CTG3RWQO.js.map → http-NNVOMI63.js.map} +0 -0
  38. /package/dist/{replay-FSWT222C.js.map → replay-D7AN6O25.js.map} +0 -0
  39. /package/dist/{replay-JV22WC77.js.map → replay-L56SESG7.js.map} +0 -0
package/cloudReplay.py CHANGED
@@ -1896,7 +1896,7 @@ def check_out_snapshot_base(root, commit, branch):
1896
1896
  base = git(root, "rev-parse", "--verify", "-q", f"{commit}^")
1897
1897
  except CommandError:
1898
1898
  print(
1899
- "This checkout does not include the commit the snapshot was taken on, so the experiment records no code change; set fetch-depth: 2 on the workflow's actions/checkout step, or run bitfab-replay --cloud-update",
1899
+ "This checkout does not include the commit the snapshot was taken on, so the experiment records no code change and the snapshot commit instead of your branch; set fetch-depth: 2 on the workflow's checkout step, or run bitfab-replay --cloud-update",
1900
1900
  flush=True,
1901
1901
  )
1902
1902
  return None
@@ -2900,7 +2900,7 @@ def raise_checkout_depth(lines, start, end):
2900
2900
  def add_checkout_depth(lines):
2901
2901
  for index, line in enumerate(lines):
2902
2902
  match = re.match(
2903
- r'([ \t]*)(- +)?"?uses"?[ \t]*:[ \t]*"?actions/checkout@',
2903
+ r'([ \t]*)(- +)?"?uses"?[ \t]*:[ \t]*"?[\w.-]+/checkout@',
2904
2904
  without_yaml_comment(line),
2905
2905
  )
2906
2906
  if not match:
@@ -3063,9 +3063,7 @@ def update_workflow(root, path, *, remove_old_key_secrets=False):
3063
3063
  "Checked out the commit each snapshot is taken on, so experiments record the code change"
3064
3064
  )
3065
3065
  elif depth == "by hand":
3066
- by_hand.append(
3067
- f"fetch-depth: {CHECKOUT_DEPTH} in the actions/checkout step's with"
3068
- )
3066
+ by_hand.append(f"fetch-depth: {CHECKOUT_DEPTH} in the checkout step's with")
3069
3067
  if updated:
3070
3068
  target.write_text("\n".join(lines))
3071
3069
  steps = []
@@ -6,13 +6,13 @@ import {
6
6
  serializeReplayResult,
7
7
  warnJudgeAssertionsDeprecated,
8
8
  withCliFlags
9
- } from "./chunk-KDYML76E.js";
9
+ } from "./chunk-JXIW4FOF.js";
10
10
  import {
11
11
  BitfabError,
12
12
  asyncStorageReady,
13
13
  createAsyncLocalStorage,
14
14
  warnOnce
15
- } from "./chunk-Q74E5WXG.js";
15
+ } from "./chunk-WW2RMMTA.js";
16
16
 
17
17
  // src/autoTrace.ts
18
18
  var autoTraceGlobal = globalThis;
@@ -458,7 +458,7 @@ async function seedFromRegistry(registry, pipeline, cases, options = {}) {
458
458
  sessionId: seedCase.sessionId
459
459
  })
460
460
  );
461
- const { flushTraces } = await import("./http-7AS2BELK.js");
461
+ const { flushTraces } = await import("./http-NNVOMI63.js");
462
462
  await flushTraces(3e4);
463
463
  return { pipeline, traceFunctionKey, traceIds };
464
464
  }
@@ -1173,4 +1173,4 @@ export {
1173
1173
  runRegistryMain,
1174
1174
  runIfEntrypoint
1175
1175
  };
1176
- //# sourceMappingURL=chunk-2YYVO4RI.js.map
1176
+ //# sourceMappingURL=chunk-3W6RLPGK.js.map