@bitfab/sdk 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.
- package/cloudReplay.py +3 -5
- package/dist/{chunk-Q74E5WXG.js → chunk-5H2UZ2LR.js} +2 -2
- package/dist/{chunk-Q74E5WXG.js.map → chunk-5H2UZ2LR.js.map} +1 -1
- package/dist/{chunk-BDPDIXLA.js → chunk-BTCJ5XGH.js} +6 -6
- package/dist/{chunk-CBF3YILJ.js → chunk-DARYURT3.js} +2 -2
- package/dist/{chunk-CBF3YILJ.js.map → chunk-DARYURT3.js.map} +1 -1
- package/dist/{chunk-2YYVO4RI.js → chunk-GLBBZLG2.js} +4 -4
- package/dist/{chunk-KDYML76E.js → chunk-N3CG4AHU.js} +2 -2
- package/dist/{chunk-UIDS5FUO.js → chunk-PIMCRSR2.js} +2 -2
- package/dist/{http-CTG3RWQO.js → http-5HVQJKA7.js} +2 -2
- package/dist/{http-7AS2BELK.js → http-JI7TADRE.js} +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -3
- package/dist/node.cjs +1 -1
- package/dist/node.cjs.map +1 -1
- package/dist/node.js +3 -3
- package/dist/{replay-JV22WC77.js → replay-FRGREQBV.js} +3 -3
- package/dist/{replay-FSWT222C.js → replay-WL7ZJP3A.js} +3 -3
- package/dist/replayCli.js +3 -3
- package/dist/seedCli.js +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-BDPDIXLA.js.map → chunk-BTCJ5XGH.js.map} +0 -0
- /package/dist/{chunk-2YYVO4RI.js.map → chunk-GLBBZLG2.js.map} +0 -0
- /package/dist/{chunk-KDYML76E.js.map → chunk-N3CG4AHU.js.map} +0 -0
- /package/dist/{chunk-UIDS5FUO.js.map → chunk-PIMCRSR2.js.map} +0 -0
- /package/dist/{http-7AS2BELK.js.map → http-5HVQJKA7.js.map} +0 -0
- /package/dist/{http-CTG3RWQO.js.map → http-JI7TADRE.js.map} +0 -0
- /package/dist/{replay-FSWT222C.js.map → replay-FRGREQBV.js.map} +0 -0
- /package/dist/{replay-JV22WC77.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
|
|
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]*"?
|
|
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.
|
|
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-
|
|
2547
|
+
//# sourceMappingURL=chunk-5H2UZ2LR.js.map
|