Skip to content

add support for Project Worker #36

@jatinkatyal13

Description

@jatinkatyal13

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions