Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bull
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 175
    • Issues 175
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OptimalBits
  • bull
  • Merge requests
  • !1536

Emulate job.progress function for sandboxed processors

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/douglascayers/sandboxed-job-progress into develop Nov 02, 2019
  • Overview 5
  • Commits 1
  • Pipelines 0
  • Changes 3

Created by: douglascayers

The Job.progress function acts as a getter and setter depending on the argument value passed to it.

In the context of a sandboxed job processor (forked process), the job instance given to the processor is actually a wrapped JSON message. The progress function on the wrapped job object only behaves as an asynchronous setter.

This pull request modifies the progress function on the wrapped job object to behave as both a getter and a setter.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/douglascayers/sandboxed-job-progress