Since the recording feature was added, the ght tool does not work from a snap.
I bisected this issue and found the offending commit to be commit cf74a61 which introduced the screen recording feature.
Steps to reproduce
$ sudo snap install ght --channel latest/edge
$ ght assign -i
Expected outcome
For ght to assign graders.
Actual outcome
wolsen@violet:~ $ ght assign -i
✔ Using the saved credentials.
✔ Setup is completed.
✔ Choose the number of graders · 1
✔ Choose the stage you would like to assign graders to · Written Interview
✔ Choose the jobs you want to assign graders to. Use space to make a selection · [722] Software Engineer, CPC, cloud integrations
⠦ Processing applications✖ Error assigning graders: TimeoutError: Timed out after waiting 30000ms
It will consistently fail with a TimeoutError.
Note: this also fails when using the instructions in the HACKING.md file (e.g. ts-node ./src/index.ts assign -i). It does however work when using yarn dev assign -i.
Since the recording feature was added, the ght tool does not work from a snap.
I bisected this issue and found the offending commit to be commit cf74a61 which introduced the screen recording feature.
Steps to reproduce
Expected outcome
For ght to assign graders.
Actual outcome
It will consistently fail with a TimeoutError.
Note: this also fails when using the instructions in the HACKING.md file (e.g.
ts-node ./src/index.ts assign -i). It does however work when usingyarn dev assign -i.