Checking disk quota on $HOME...
Installing VSCode extensions that are on the local machine on graham.
(graham) $ cd $SCRATCH && sbatch --parsable --wckey=milatools_test --account=SLURM_ACCOUNT --nodes=1 --ntasks=1 --cpus-per-task=1 --mem=1G --time=0:05:00 --oversubscribe --job-name=mila-code --wrap
'srun sleep 7d'
JOB_ID

sbatch: NOTE: Your memory request of 1024M was likely submitted as 1G. Please note that Slurm interprets memory requests denominated in G as multiples of 1024M, not 1000M.

✓ Syncing vscode extensions:  N/N ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00 H:MM:SS
✓ localhost -> graham - Done. N/N ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00 H:MM:SS
(localhost) $ echo --new-window --wait --remote ssh-remote+COMPUTE_NODE $HOME/bob
--new-window --wait --remote ssh-remote+COMPUTE_NODE $HOME/bob

The editor was closed. Reopen it with <Enter> or terminate the process with <Ctrl+C> (maybe twice).
This allocation is persistent and is still active.
To reconnect to this job, run the following:
  mila code bob --cluster graham --job JOB_ID
To kill this allocation:
  ssh graham scancel JOB_ID