@@ -758,6 +758,7 @@ def _run_migrator_on_feedstock_branch(
758
758
759
759
except (github3 .GitHubError , github .GithubException ) as e :
760
760
# TODO: pull this down into run() - also check the other exceptions
761
+ # TODO: continue here, after that run locally and add tests, backend should be injected into run
761
762
if hasattr (e , "msg" ) and e .msg == "Repository was archived so is read-only." :
762
763
attrs ["archived" ] = True
763
764
else :
@@ -1091,7 +1092,7 @@ def _update_nodes_with_bot_rerun(gx: nx.DiGraph, package: str | None = None):
1091
1092
1092
1093
nodes = gx .nodes .items () if not package else [(package , gx .nodes [package ])]
1093
1094
1094
- for i , (name , node ) in nodes :
1095
+ for i , (name , node ) in enumerate ( nodes ) :
1095
1096
# logger.info(
1096
1097
# f"node: {i} memory usage: "
1097
1098
# f"{psutil.Process().memory_info().rss // 1024 ** 2}MB",
@@ -1299,6 +1300,7 @@ def main(ctx: CliContext, package: str | None = None) -> None:
1299
1300
smithy_version = smithy_version ,
1300
1301
pinning_version = pinning_version ,
1301
1302
)
1303
+ # TODO: this does not support --online
1302
1304
migrators = load_migrators ()
1303
1305
1304
1306
# compute the time per migrator
0 commit comments