Commit 57a7b2c
authored
Transition
* Add new version of `code` command
Signed-off-by: Fabrice Normandin <[email protected]>
* Move the `check_disk_quota` fn to a new module
Signed-off-by: Fabrice Normandin <[email protected]>
* Update vscode utils and progress bar
Signed-off-by: Fabrice Normandin <[email protected]>
* Fix bug in _find_allocation (mila code --node)
Signed-off-by: Fabrice Normandin <[email protected]>
* Tweak logging of warnings and run commands
Signed-off-by: Fabrice Normandin <[email protected]>
* Fix big stacktrace printing on KeyboardInterrupt
Signed-off-by: Fabrice Normandin <[email protected]>
* Make job-name optional when fetching test jobs
Signed-off-by: Fabrice Normandin <[email protected]>
* Add tests for `internet_on_compute_nodes`
Signed-off-by: Fabrice Normandin <[email protected]>
* Rename test file, adapt test slightly
Signed-off-by: Fabrice Normandin <[email protected]>
* Add tests for the new `code` implementation
Signed-off-by: Fabrice Normandin <[email protected]>
* Explicitly set the job name when running tests
Signed-off-by: Fabrice Normandin <[email protected]>
* Fixup for test_code_v1
Signed-off-by: Fabrice Normandin <[email protected]>
* Apply suggestion from code review
Signed-off-by: Fabrice Normandin <[email protected]>
* Use only `command` instead of `code_command`
Signed-off-by: Fabrice Normandin <[email protected]>
* Broaden the try-except in vscode loop
Signed-off-by: Fabrice Normandin <[email protected]>
* Remove check for in a test in parallel_progress.py
Signed-off-by: Fabrice Normandin <[email protected]>
* Remove _get_runner_and_hostname function
Signed-off-by: Fabrice Normandin <[email protected]>
* Fix doctest for async progress bar
Signed-off-by: Fabrice Normandin <[email protected]>
* Simplify test code for async progress bar
Signed-off-by: Fabrice Normandin <[email protected]>
* Simplify `test_code.py`'s `existing_job` fixture
Signed-off-by: Fabrice Normandin <[email protected]>
* Fix `parse_args` and `mila` in commands.py
Signed-off-by: Fabrice Normandin <[email protected]>
* Show a hint about relative paths
Signed-off-by: Fabrice Normandin <[email protected]>
* Don't cancel persistent job when using --job/node
Signed-off-by: Fabrice Normandin <[email protected]>
* Fix integration test for `code` with existing job
Signed-off-by: Fabrice Normandin <[email protected]>
* Fix test for install_vscode_extensions task fn
Signed-off-by: Fabrice Normandin <[email protected]>
* Add filter for line that may vary in salloc output
Signed-off-by: Fabrice Normandin <[email protected]>
---------
Signed-off-by: Fabrice Normandin <[email protected]>mila code to RemoteV2 [MT-80] (#105)1 parent bf82ca9 commit 57a7b2c
File tree
30 files changed
+1796
-791
lines changed- milatools
- cli
- utils
- tests
- cli
- integration
- test_code
- utils
- test_parallel_progress
30 files changed
+1796
-791
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
0 commit comments