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
  • !750

Failing test: Process after exit

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/leontastic/process-after-exit into master Oct 22, 2017
  • Overview 2
  • Commits 6
  • Pipelines 0
  • Changes 7

Created by: leontastic

This PR includes a test for processes being run sequentially after a job has been killed. It's failing right now because the same process thread is retained for queued jobs despite the previous iteration calling process.exit() within an async callback, causing subsequent jobs to die ungracefully and without warning. Possible solutions:

  • Add a handler to restart jobs that exit in the middle of processing on a new thread
  • Add a feature to kill jobs automatically upon completion, forcing a new thread to be retained every time

Depends on https://github.com/OptimalBits/bull/pull/749.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/leontastic/process-after-exit