cms icon indicating copy to clipboard operation
cms copied to clipboard

"Rerun and archive sandbox" button in AWS

Open prandla opened this issue 7 months ago • 2 comments

Our fork has a feature where a specific sandbox can be reran and saved as a zip file, for easier access.

Image

Here the first testcase was reran and archived, the "1" links to a zip file that contains the entire sandbox contents.

This allows having keep_sandboxes = false in the cms config, while still allowing debugging individual submissions. it's also much easier to access the sandbox directly from AWS, instead of having to ssh into a worker and go spelunking around the filesystem. (in our case, the workers are also in docker, which further complicates finding the right sandbox...)

prandla avatar Jun 05 '25 20:06 prandla

IMO the "download the archive" part should be enabled in cms.conf (possibly by default), and I think the interface could be somewhat improved.

Having said that, I think this would be a great feature, please open a PR :-)

veluca93 avatar Jun 05 '25 21:06 veluca93

Yes please! I missed this many times.

gollux avatar Jun 06 '25 11:06 gollux