@bitfab/sdk 0.64.28 → 0.64.30

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 (35) hide show
  1. package/cloudReplay.py +3 -5
  2. package/dist/{chunk-JQAWBK2H.js → chunk-5H2UZ2LR.js} +2 -2
  3. package/dist/{chunk-JQAWBK2H.js.map → chunk-5H2UZ2LR.js.map} +1 -1
  4. package/dist/{chunk-76JZFING.js → chunk-BTCJ5XGH.js} +16 -7
  5. package/dist/chunk-BTCJ5XGH.js.map +1 -0
  6. package/dist/{chunk-PRL7RHVH.js → chunk-DARYURT3.js} +2 -2
  7. package/dist/{chunk-PRL7RHVH.js.map → chunk-DARYURT3.js.map} +1 -1
  8. package/dist/{chunk-YHOEROQD.js → chunk-GLBBZLG2.js} +4 -4
  9. package/dist/{chunk-DMELEG6J.js → chunk-N3CG4AHU.js} +2 -2
  10. package/dist/{chunk-45NVW5X6.js → chunk-PIMCRSR2.js} +2 -2
  11. package/dist/{http-BLY35UVE.js → http-5HVQJKA7.js} +2 -2
  12. package/dist/{http-5HDU4GXW.js → http-JI7TADRE.js} +2 -2
  13. package/dist/index.cjs +11 -2
  14. package/dist/index.cjs.map +1 -1
  15. package/dist/index.d.cts +23 -3
  16. package/dist/index.d.ts +23 -3
  17. package/dist/index.js +3 -3
  18. package/dist/node.cjs +11 -2
  19. package/dist/node.cjs.map +1 -1
  20. package/dist/node.d.cts +1 -1
  21. package/dist/node.d.ts +1 -1
  22. package/dist/node.js +3 -3
  23. package/dist/{replay-CLERHFPY.js → replay-FRGREQBV.js} +3 -3
  24. package/dist/{replay-HSY2CUX5.js → replay-WL7ZJP3A.js} +3 -3
  25. package/dist/replayCli.js +3 -3
  26. package/dist/seedCli.js +3 -3
  27. package/package.json +1 -1
  28. package/dist/chunk-76JZFING.js.map +0 -1
  29. /package/dist/{chunk-YHOEROQD.js.map → chunk-GLBBZLG2.js.map} +0 -0
  30. /package/dist/{chunk-DMELEG6J.js.map → chunk-N3CG4AHU.js.map} +0 -0
  31. /package/dist/{chunk-45NVW5X6.js.map → chunk-PIMCRSR2.js.map} +0 -0
  32. /package/dist/{http-5HDU4GXW.js.map → http-5HVQJKA7.js.map} +0 -0
  33. /package/dist/{http-BLY35UVE.js.map → http-JI7TADRE.js.map} +0 -0
  34. /package/dist/{replay-CLERHFPY.js.map → replay-FRGREQBV.js.map} +0 -0
  35. /package/dist/{replay-HSY2CUX5.js.map → replay-WL7ZJP3A.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 = []
@@ -181,7 +181,7 @@ function encodeRequestBody(body) {
181
181
  }
182
182
 
183
183
  // src/version.generated.ts
184
- var __version__ = "0.64.28";
184
+ var __version__ = "0.64.30";
185
185
  var __packageName__ = "@bitfab/sdk";
186
186
 
187
187
  // src/errors.ts
@@ -2544,4 +2544,4 @@ export {
2544
2544
  HttpClient,
2545
2545
  experimentIdWireFields
2546
2546
  };
2547
- //# sourceMappingURL=chunk-JQAWBK2H.js.map
2547
+ //# sourceMappingURL=chunk-5H2UZ2LR.js.map