apiVersion: jenkins.io/v1 kind: PipelineActivity metadata: annotations: lighthouse.jenkins-x.io/cloneURI: https://github.com/greencapitaltrade/jarvis.git lighthouse.jenkins-x.io/job: release pipeline.jenkins-x.io/traceID: 22923d990ed39a47cc22dae4474c8833 creationTimestamp: "2026-07-03T14:50:32Z" generation: 8 labels: branch: main build: "75" context: release created-by-lighthouse: "true" event-GUID: 8879d3c2-76ee-11f1-9f7c-b5212bda4461 lighthouse.jenkins-x.io/baseSHA: f62b2a9d47f715c6962680eb96b2e46c77ce82c4 lighthouse.jenkins-x.io/branch: main lighthouse.jenkins-x.io/buildNum: "1783090231990" lighthouse.jenkins-x.io/context: release lighthouse.jenkins-x.io/id: capitaltrade-jarvis-main-release-5t7rp lighthouse.jenkins-x.io/job: release lighthouse.jenkins-x.io/lastCommitSHA: f62b2a9d47f715c6962680eb96b2e46c77ce82c4 lighthouse.jenkins-x.io/refs.org: greencapitaltrade lighthouse.jenkins-x.io/refs.repo: jarvis lighthouse.jenkins-x.io/type: postsubmit owner: greencapitaltrade podName: capitaltrade-jarvis-main-release-52rcz-from-build-pack-pod provider: github repository: jarvis tekton.dev/pipeline: capitaltrade-jarvis-main-release managedFields: - apiVersion: jenkins.io/v1 fieldsType: FieldsV1 fieldsV1: f:metadata: f:labels: f:branch: {} f:context: {} f:owner: {} f:provider: {} f:repository: {} f:spec: f:lastCommitMessage: {} f:lastCommitSHA: {} f:releaseNotesURL: {} f:version: {} manager: jx-changelog-0.10.22 operation: Update time: "2026-07-03T15:02:06Z" - apiVersion: jenkins.io/v1 fieldsType: FieldsV1 fieldsV1: f:metadata: f:annotations: .: {} f:lighthouse.jenkins-x.io/cloneURI: {} f:lighthouse.jenkins-x.io/job: {} f:pipeline.jenkins-x.io/traceID: {} f:labels: .: {} f:build: {} f:created-by-lighthouse: {} f:event-GUID: {} f:lighthouse.jenkins-x.io/baseSHA: {} f:lighthouse.jenkins-x.io/branch: {} f:lighthouse.jenkins-x.io/buildNum: {} f:lighthouse.jenkins-x.io/context: {} f:lighthouse.jenkins-x.io/id: {} f:lighthouse.jenkins-x.io/job: {} f:lighthouse.jenkins-x.io/lastCommitSHA: {} f:lighthouse.jenkins-x.io/refs.org: {} f:lighthouse.jenkins-x.io/refs.repo: {} f:lighthouse.jenkins-x.io/type: {} f:podName: {} f:tekton.dev/pipeline: {} f:spec: .: {} f:baseSHA: {} f:batchPipelineActivity: {} f:build: {} f:buildLogsUrl: {} f:completedTimestamp: {} f:context: {} f:gitBranch: {} f:gitOwner: {} f:gitRepository: {} f:gitUrl: {} f:message: {} f:pipeline: {} f:startedTimestamp: {} f:status: {} f:steps: {} manager: jx-build-controller operation: Update time: "2026-07-03T15:03:48Z" name: greencapitaltrade-jarvis-main-75 namespace: jx resourceVersion: "158015275" uid: 10975b8e-177a-421a-a33b-f9d2196dd354 spec: baseSHA: f62b2a9d47f715c6962680eb96b2e46c77ce82c4 batchPipelineActivity: {} build: "75" buildLogsUrl: s3://logs-gct-prod-20260425045301534100000007/jenkins-x/logs/greencapitaltrade/jarvis/main/75.log completedTimestamp: "2026-07-03T15:03:41Z" context: release gitBranch: main gitOwner: greencapitaltrade gitRepository: jarvis gitUrl: https://github.com/greencapitaltrade/jarvis.git lastCommitMessage: | fix(workers): clear stale jarvis:working label on supervisor startup A SIGKILL/OOM that kills the whole supervisor process mid-stage skips the worker's finally block, so jarvis:working stays on the issue forever — route.sh exits immediately on `has working` and the backstop scan also skips it, wedging the issue until a human strips the label by hand. Two complementary fixes: - recover_stale() at startup now uses stale_minutes=0 instead of the 10-minute default. It runs exactly once, before any worker thread of the fresh process has claimed anything, so every processing/ entry it finds is guaranteed an orphan from a crashed prior life, however recent — the old 10-minute gate could leave a recent claim stranded until an unrelated later restart happened to land past the threshold. - sweep_stale_working() runs once after all pools have recovered and clears jarvis:working from any watched-repo issue that has no task queued (main queue or processing/) in any pool. This also covers the narrow window where the queue claim already completed but the crash landed before the label removal. Skipped under dry_run so start_pools() callers that only care about worker-count wiring (tests) don't pay for a real GitHub API round trip. Co-Authored-By: Claude Sonnet 5 lastCommitSHA: 2ccd246ae83deb562b8cb38a18ee2a35b3d0c9e1 message: 'Tasks Completed: 1 (Failed: 0, Cancelled 0), Skipped: 0' pipeline: greencapitaltrade/jarvis/main releaseNotesURL: https://github.com/greencapitaltrade/jarvis/releases/tag/v0.13.4 startedTimestamp: "2026-07-03T14:50:32Z" status: Succeeded steps: - kind: Stage stage: completedTimestamp: "2026-07-03T15:03:41Z" name: from build pack startedTimestamp: "2026-07-03T14:56:36Z" status: Succeeded steps: - completedTimestamp: "2026-07-03T14:56:37Z" name: Git Clone startedTimestamp: "2026-07-03T14:56:36Z" status: Succeeded - completedTimestamp: "2026-07-03T14:56:39Z" name: Next Version startedTimestamp: "2026-07-03T14:56:38Z" status: Succeeded - completedTimestamp: "2026-07-03T14:56:43Z" name: Jx Variables startedTimestamp: "2026-07-03T14:56:40Z" status: Succeeded - completedTimestamp: "2026-07-03T14:58:54Z" name: Build Test startedTimestamp: "2026-07-03T14:56:43Z" status: Succeeded - completedTimestamp: "2026-07-03T14:58:55Z" name: Check Registry startedTimestamp: "2026-07-03T14:58:55Z" status: Succeeded - completedTimestamp: "2026-07-03T15:01:43Z" name: Build Container Build startedTimestamp: "2026-07-03T14:58:56Z" status: Succeeded - completedTimestamp: "2026-07-03T15:02:06Z" name: Promote Changelog startedTimestamp: "2026-07-03T15:01:44Z" status: Succeeded - completedTimestamp: "2026-07-03T15:02:10Z" name: Promote Helm Release startedTimestamp: "2026-07-03T15:02:07Z" status: Succeeded - completedTimestamp: "2026-07-03T15:02:57Z" name: Promote Jx Promote startedTimestamp: "2026-07-03T15:02:11Z" status: Succeeded - completedTimestamp: "2026-07-03T15:03:41Z" name: Publish Org Kb startedTimestamp: "2026-07-03T15:02:58Z" status: Succeeded - kind: Promote promote: environment: production pullRequest: pullRequestURL: https://github.com/greencapitaltrade/mcu/pull/4594 startedTimestamp: "2026-07-03T15:02:54Z" status: Succeeded startedTimestamp: "2026-07-03T15:02:54Z" status: Succeeded version: 0.13.4 status: {}