<commit_before>* Story: trace result of job execution
* Story: when bin/recruiter start ensure is alone
* Story: when bin/recruiter start retire all dead workers
* Story: reschedule job assigned to worker when worker retire (`WorkerDiedMysteriously`)
* Story: port all previous retry policies
* Story: raise domain events and store them in `events` collection

* Test: bake a worker in a known status
* Test: bake a job in a known status
* Test: Take MongoDB coordinates from environment or keep default in tests/bootstrap.php
* Test: Stop on error for PHPUnit
* Test: `JobAfterFailure`
* Test: How to test `RetryPolicy` instances?
* Test: How to test `Workable` instances

* Metric: number of job executed in unit of time (when job executed)
* Metric: number of job scheduled in unit of time (when job scheduled)
* Metric: average wait time for jobs in unit of time (when job executed)

* Logging with Monolog
* Keep track of how many job a worker has done

## Endurance Test<commit_msg>Update what to do<commit_after>* Story: when bin/recruiter start ensure is alone
* Story: when bin/recruiter start retire all dead workers

* Story: trace result of job execution
* Story: reschedule job assigned to worker when worker retire (`WorkerDiedMysteriously`)
* Story: raise domain events and store them in `events` collection
* Story: port all previous retry policies

* Test: bake a worker in a known status
* Test: bake a job in a known status
* Test: Take MongoDB coordinates from environment or keep default in tests/bootstrap.php
* Test: Stop on error for PHPUnit
* Test: `JobAfterFailure`
* Test: How to test `RetryPolicy` instances?
* Test: How to test `Workable` instances

* Metric: number of job executed in unit of time (when job executed)
* Metric: number of job scheduled in unit of time (when job scheduled)
* Metric: average wait time for jobs in unit of time (when job executed)

* Logging with Monolog
* Keep track of how many job a worker has done

## Endurance Test
{'fraction_non_alphanumeric': 0.06259464916708733, 'fraction_numerical': 0.0, 'mean_word_length': 4.679083094555874, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '385484', 'n_tokens_mistral': 531, 'n_tokens_neox': 524, 'n_words': 296}