From e799a4cf76ca3ccdecfa54aab8a94daed8ea880a Mon Sep 17 00:00:00 2001 From: Jamie Tanna Date: Fri, 23 Jan 2026 18:36:40 +0000 Subject: [PATCH] chore(types): document `ProcessStatus` (#40637) As it's useful to have this more explicitly described, even though it may be generally straightforward to guess what they each mean. --- lib/workers/repository/result.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/lib/workers/repository/result.ts b/lib/workers/repository/result.ts index 5c91478a1b..b7777b2511 100644 --- a/lib/workers/repository/result.ts +++ b/lib/workers/repository/result.ts @@ -19,9 +19,27 @@ import { import { logger } from '../../logger'; export type ProcessStatus = + /** + * The repository has been disabled, and will not be processed. + * + * See {@link RepositoryErrors} for information on which statuses lead to this. + */ | 'disabled' + /** + * The repository has onboarded to Renovate, so will see PRs and/or branches raised by Renovate. + * + * The repository has not yet merged any PRs, or the repository performs branch-based automerge and those have not been detected (TODO #40635). + */ | 'onboarded' + /** + * The repository has onboarded to Renovate, and has merged at least 1 Renovate PR. + * + * The repository may also perform branch-based automerge which has not been detected (TODO #40635). + */ | 'activated' + /** + * The repository has an onboarding PR from Renovate that has not yet been reviewed and merged. + */ | 'onboarding' | 'unknown';