bitfab 0.64.29 → 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 (32) hide show
  1. package/cloudReplay.py +3 -5
  2. package/dist/{chunk-W5DDLKC5.js → chunk-FXYVGFBP.js} +2 -2
  3. package/dist/{chunk-E2N56K23.js → chunk-FY5WZ6M4.js} +2 -2
  4. package/dist/{chunk-24JBL2FV.js → chunk-GUPAIDK4.js} +2 -2
  5. package/dist/{chunk-24JBL2FV.js.map → chunk-GUPAIDK4.js.map} +1 -1
  6. package/dist/{chunk-RC6IC2EL.js → chunk-JTFPBPMC.js} +2 -2
  7. package/dist/{chunk-RC6IC2EL.js.map → chunk-JTFPBPMC.js.map} +1 -1
  8. package/dist/{chunk-W2AQ56UP.js → chunk-KDNS4BVZ.js} +6 -6
  9. package/dist/{chunk-LOR3CWDQ.js → chunk-OREQTFEI.js} +4 -4
  10. package/dist/{http-S33OM4NK.js → http-EWWU4KU2.js} +2 -2
  11. package/dist/{http-6UJ47MDP.js → http-NUZD6TOB.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-RSAJN6YA.js → replay-7Y5ERBDN.js} +3 -3
  21. package/dist/{replay-MBMPKUFX.js → replay-MIZRT2LG.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-W5DDLKC5.js.map → chunk-FXYVGFBP.js.map} +0 -0
  26. /package/dist/{chunk-E2N56K23.js.map → chunk-FY5WZ6M4.js.map} +0 -0
  27. /package/dist/{chunk-W2AQ56UP.js.map → chunk-KDNS4BVZ.js.map} +0 -0
  28. /package/dist/{chunk-LOR3CWDQ.js.map → chunk-OREQTFEI.js.map} +0 -0
  29. /package/dist/{http-6UJ47MDP.js.map → http-EWWU4KU2.js.map} +0 -0
  30. /package/dist/{http-S33OM4NK.js.map → http-NUZD6TOB.js.map} +0 -0
  31. /package/dist/{replay-MBMPKUFX.js.map → replay-7Y5ERBDN.js.map} +0 -0
  32. /package/dist/{replay-RSAJN6YA.js.map → replay-MIZRT2LG.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 = []
@@ -9,7 +9,7 @@ import {
9
9
  unrefTimer,
10
10
  warnOnce,
11
11
  writeOnce
12
- } from "./chunk-RC6IC2EL.js";
12
+ } from "./chunk-JTFPBPMC.js";
13
13
 
14
14
  // src/codeChange.ts
15
15
  var MAX_FILES = 60;
@@ -1909,4 +1909,4 @@ export {
1909
1909
  warnJudgeAssertionsDeprecated,
1910
1910
  replay
1911
1911
  };
1912
- //# sourceMappingURL=chunk-W5DDLKC5.js.map
1912
+ //# sourceMappingURL=chunk-FXYVGFBP.js.map
@@ -8,7 +8,7 @@ import {
8
8
  replayContextReady,
9
9
  runWithReplayContext,
10
10
  unrefTimer
11
- } from "./chunk-24JBL2FV.js";
11
+ } from "./chunk-GUPAIDK4.js";
12
12
  import {
13
13
  runWithCaptureSuppressed,
14
14
  warnOnce,
@@ -2057,4 +2057,4 @@ export {
2057
2057
  warnJudgeAssertionsDeprecated,
2058
2058
  replay
2059
2059
  };
2060
- //# sourceMappingURL=chunk-E2N56K23.js.map
2060
+ //# sourceMappingURL=chunk-FY5WZ6M4.js.map
@@ -189,7 +189,7 @@ function encodeRequestBody(body) {
189
189
  }
190
190
 
191
191
  // src/version.generated.ts
192
- var __version__ = "0.64.29";
192
+ var __version__ = "0.64.30";
193
193
  var __packageName__ = "bitfab";
194
194
 
195
195
  // src/constants.ts
@@ -2976,4 +2976,4 @@ export {
2976
2976
  HttpClient,
2977
2977
  experimentIdWireFields
2978
2978
  };
2979
- //# sourceMappingURL=chunk-24JBL2FV.js.map
2979
+ //# sourceMappingURL=chunk-GUPAIDK4.js.map