Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for Project Worker #36

Open
12 tasks
jatinkatyal13 opened this issue May 7, 2020 · 9 comments
Open
12 tasks

add support for Project Worker #36

jatinkatyal13 opened this issue May 7, 2020 · 9 comments

Comments

@jatinkatyal13
Copy link
Contributor

jatinkatyal13 commented May 7, 2020

Add support to run project submissions in frameworks like react, node, django etc.

Refer this pull request for the initial work that has been done. Create your PR against the project-worker branch

  • Create project scenario
    • Complete setup method ( as done here in the test)
    • Complete run method
    • Complete result method
    • Write tests for the methods and scenario
  • Run project job from queue
    • Accept following payload as input
     {
      "problem": <problem zip url>,
      "submission": <submission zip url>,
      "submissionDirs": <directories that can be editted>,
      "timelimit" <timelimit in seconds
    }
    
    • Send the payload to the job
  • Refactor src/tasks/job.ts
    • Create src/tasks/jobs/ directory
    • Move all the jobs other than Base class to individual files in jobs dir
      Like move RunJob and its type to src/tasks/jobs/run.ts
    • Refactor imports to support current structure
@Syn3rman
Copy link

Hey @jatinkatyal13,

Since there has been no activity on this since the issue was created, could I work on it?

@jatinkatyal13
Copy link
Contributor Author

@Syn3rman Sure !

@YashKumarVerma
Copy link
Contributor

@jatinkatyal13 are issues assigned as a whole or partly to participants?

@jatinkatyal13
Copy link
Contributor Author

Depends on the issue, as for this one, completion of all the tasks is required

@YashKumarVerma
Copy link
Contributor

Depends on the issue, as for this one, completion of all the tasks is required

also, would new issues created by participants be valid for boss bounty? (after they're labeled by maintainers?)

@YashKumarVerma
Copy link
Contributor

I tried catching up with the progress, but am seeing the following error
image
which of the following are to be configured here ?
image

@jatinkatyal13
Copy link
Contributor Author

@YashKumarVerma we use new relic for monitoring our software but this is not a hard dependency. The container would continue to work even with this error

@prathambatra
Copy link

@jatinkatyal13 I will give it try.

@jatinkatyal13
Copy link
Contributor Author

@prathambatra Sure! all the best

@prabalsingh24 prabalsingh24 mentioned this issue May 22, 2020
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants