Skip to content

Commit 4c33853

Browse files
committed
fix: ensure ci artifacts are present when using devtool sandbox
Without ensure_ci_artifacts called inside cmd_sandbox, you will see an index out of bounds errors during set up of the argument parser, since build/img will be an empty directory (e.g. there are no kernels to select, and the -1 index will be out of bounds). Reported-by: Jack Thomson <[email protected]> Signed-off-by: Patrick Roy <[email protected]>
1 parent 63ea863 commit 4c33853

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/devtool

+1
Original file line numberDiff line numberDiff line change
@@ -890,6 +890,7 @@ cmd_sh() {
890890

891891
cmd_sandbox() {
892892
cmd_build --release
893+
ensure_ci_artifacts
893894
cmd_sh "tmux new env PYTEST_ADDOPTS=--pdbcls=IPython.terminal.debugger:TerminalPdb PYTHONPATH=tests IPYTHONDIR=\$PWD/.ipython ipython -i ./tools/sandbox.py $@"
894895
}
895896

0 commit comments

Comments
 (0)