Keep command-line input, signals, and exit reporting in index.ts. Move startup and shutdown of the worker loop, health server, and queue connection into worker-service.ts. Preserve startup order, cleanup order, the shared stop promise, and existing entry-point exports.
The CLI now installs signal handlers before logging readiness. Tests verify normal SIGTERM exit after readiness and that a failed health bind waits for the queue connection to close before reporting the original error. No workflow or saved-report format changes; no re-preparation needed.
Independent code, readability, and test reviews completed. All 15 checks passed on the final source: 1,118 workspace tests and 31 Chromium cases.
Keep command-line input, signals, and exit reporting in `index.ts`. Move startup and shutdown of the worker loop, health server, and queue connection into `worker-service.ts`. Preserve startup order, cleanup order, the shared stop promise, and existing entry-point exports.
The CLI now installs signal handlers before logging readiness. Tests verify normal SIGTERM exit after readiness and that a failed health bind waits for the queue connection to close before reporting the original error. No workflow or saved-report format changes; no re-preparation needed.
Independent code, readability, and test reviews completed. All 15 checks passed on the final source: 1,118 workspace tests and 31 Chromium cases.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Keep command-line input, signals, and exit reporting in
index.ts. Move startup and shutdown of the worker loop, health server, and queue connection intoworker-service.ts. Preserve startup order, cleanup order, the shared stop promise, and existing entry-point exports.The CLI now installs signal handlers before logging readiness. Tests verify normal SIGTERM exit after readiness and that a failed health bind waits for the queue connection to close before reporting the original error. No workflow or saved-report format changes; no re-preparation needed.
Independent code, readability, and test reviews completed. All 15 checks passed on the final source: 1,118 workspace tests and 31 Chromium cases.