* Catch login failures and raise an exception
* Trying to fix library serialization crap (not working)
* Use validated_data instead of data
* Promments
* Add script to download libraries, and download directx
* Add libraries endpoint
* Allow compiling with a library
* Add new libraries tab in frontend
* Add libraries support in CI
* Better look for the libraries
* Give pretty names to libraries
* Move Libraries to live under CompilerOpts
* typechecking hackery
* Make libraries trigger autorecomp and set the unsaved flag
* Fix libraryVersions
* Add new libraries download script to CI, docker and docs
---------
Co-authored-by: Ethan Roseman <ethteck@gmail.com>
* Switch to subprocess.run for timeouts
* [experiment] Set CI TIMEOUT_SCALE_FACTOR to 1
* supress parameterized.expand error in event of no compilers, change TIMEOUT_SCALE_FACTOR in CI to 2
* Exempt dummy compilers from nsjail bind mounts, disable nsjail time limits
* Don't run timeout test on windows
* Decouple test_compiler_timeout's timeout from global timeout settings, reset TIMEOUT_SCALE_FACTOR to 10
* Have DummyLongRunningCompiler subclass DummyCompiler
* Have a timeout of zero disable timeouts entirely
* Skip test_zero_timeout on windows
* black
Co-authored-by: ConorBobbleHat <c.github@firstpartners.net>
* Force exception_on_timeout to use spawn to make gunicorn happy
* black
* Have test_fpr_reg_names_output and test_giant_compilation test for success as opposed to a lack of output
* Refactor timeouts for:
- compiling
- decompiling
- assembling
- disassembling
* Move m2c timeout wrapper to prevent interfering with StringIO
* Increase default timeouts by an order of magnitude to investigate failing CI tests
* Add timeout scale factor, have CI timeouts be 10x default
Co-authored-by: ConorBobbleHat <c.github@firstpartners.net>
As this title suggests, this PR caps the runtime for all compiler / m2c
calls. Currently, the timeout is five seconds for both.
There may well be a better place to put the compile timeout; as ever,
happy to change :)
Co-authored-by: ConorBobbleHat <ConorBobbleHat>
* add projects list
* new project page
* mypy
* allow '.' in github identifiers
* implement project create
* project settings
* disallow anons from being project members
* uploadable project icon
* docker attempt
* fix tests
* add tests
* add description form
* refactor to add useEntity and FieldSet
* move FieldSet out of subdirectory
* use same page for project tabs
* scroll up to UnderlineNav when tab changes
* stylelint
* configure vscode mypy extension
* mypy
* fix mypy and dmypy
dmypy does not support follow_imports=silent. Instead we explicitly
disable most checks for asm_differ and m2c, which
has the same effect
* remove redundant mypy flags
* FieldSet style tweaks
* give UnderlineNav horiz padding
* fix swr mutate of project header
* few tweaks to help docker (#550)
* eth changes
* use POST/DELETE rather than PUT for project members
* add migration
* fix pr creation
* simplify project platform derivation
Co-authored-by: Mark Street <22226349+mkst@users.noreply.github.com>
Co-authored-by: Ethan Roseman <ethteck@gmail.com>