apiVersion: jenkins.io/v1 kind: PipelineActivity metadata: annotations: lighthouse.jenkins-x.io/cloneURI: https://github.com/greencapitaltrade/bifrost.git lighthouse.jenkins-x.io/job: release pipeline.jenkins-x.io/traceID: f43882ec7cf37ab48b27ca09e0d631cd creationTimestamp: "2026-08-09T01:30:55Z" generation: 8 labels: branch: main build: "200" context: release created-by-lighthouse: "true" event-GUID: f2f746a2-9391-11f1-94e0-6ac317c1a12b lighthouse.jenkins-x.io/baseSHA: ff3f48842515b31569eebdf2178aab6571c803fb lighthouse.jenkins-x.io/branch: main lighthouse.jenkins-x.io/buildNum: "1786239055494" lighthouse.jenkins-x.io/context: release lighthouse.jenkins-x.io/id: apitaltrade-bifrost-main-release-7rcdr lighthouse.jenkins-x.io/job: release lighthouse.jenkins-x.io/lastCommitSHA: ff3f48842515b31569eebdf2178aab6571c803fb lighthouse.jenkins-x.io/refs.org: greencapitaltrade lighthouse.jenkins-x.io/refs.repo: bifrost lighthouse.jenkins-x.io/type: postsubmit owner: greencapitaltrade podName: apitaltrade-bifrost-main-release-qc7cx-from-build-pack-pod provider: github repository: bifrost tekton.dev/pipeline: apitaltrade-bifrost-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.29 operation: Update time: "2026-08-09T01:39:11Z" - 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-08-09T01:42:41Z" name: greencapitaltrade-bifrost-main-200 namespace: jx resourceVersion: "254391296" uid: 012a383a-5265-43fe-9e08-c2fe40d44e14 spec: baseSHA: ff3f48842515b31569eebdf2178aab6571c803fb batchPipelineActivity: {} build: "200" buildLogsUrl: s3://logs-gct-prod-20260425045301534100000007/jenkins-x/logs/greencapitaltrade/bifrost/main/200.log completedTimestamp: "2026-08-09T01:42:33Z" context: release gitBranch: main gitOwner: greencapitaltrade gitRepository: bifrost gitUrl: https://github.com/greencapitaltrade/bifrost.git lastCommitMessage: | fix(cron): a duplicate env: key wiped the cron pod's configuration Every production cron stopped again on 2026-08-08. This one was mine. #459 added CRON_LIVENESS_MAX_IDLE_MINUTES in a NEW `env:` block placed after `envFrom:`, while the container already had an `env:` block above it. YAML keeps the last duplicate key, so the second block replaced the first outright and the pod lost its entire cron configuration: max_cron_threads = 0 (was 2) http_enable = True (was False) A cron pod with zero cron threads runs no crons. It also started serving http, which the chart deliberately disables. Restarting it could never have helped, and I restarted it twice before reading the config. Merge the variable into the existing env block instead of adding a second one. The existing invariants could not catch this: they grep the template TEXT, where the clobbered block is still plainly visible, so "cron pod has ODOO_HTTP_ENABLE=False" passed throughout. Added checks that read the RENDERED manifest and assert ODOO_MAX_CRON_THREADS, ODOO_HTTP_ENABLE and ODOO_WORKERS survive it, plus an explicit check that the container declares env: exactly once. Verified: 12 env vars render, one env: key, all invariants hold. Production was restored before this commit with `kubectl set env` on the cron deployment (last cron run went from 4h stale to current, overdue 43 to 0). That patch is manual and will be overwritten by the next GitOps sync, so this needs to ship. lastCommitSHA: a9c18abf893df809ac2944faa732c55693919a40 message: 'Tasks Completed: 1 (Failed: 0, Cancelled 0), Skipped: 0' pipeline: greencapitaltrade/bifrost/main releaseNotesURL: https://github.com/greencapitaltrade/bifrost/releases/tag/v6.92.2 startedTimestamp: "2026-08-09T01:30:55Z" status: Succeeded steps: - kind: Stage stage: completedTimestamp: "2026-08-09T01:42:33Z" name: from build pack startedTimestamp: "2026-08-09T01:31:01Z" status: Succeeded steps: - completedTimestamp: "2026-08-09T01:31:41Z" name: Git Clone startedTimestamp: "2026-08-09T01:31:01Z" status: Succeeded - completedTimestamp: "2026-08-09T01:31:58Z" name: Next Version startedTimestamp: "2026-08-09T01:31:42Z" status: Succeeded - completedTimestamp: "2026-08-09T01:32:04Z" name: Jx Variables startedTimestamp: "2026-08-09T01:31:58Z" status: Succeeded - completedTimestamp: "2026-08-09T01:32:10Z" name: Setup Pip Cache startedTimestamp: "2026-08-09T01:32:05Z" status: Succeeded - completedTimestamp: "2026-08-09T01:32:12Z" name: Process Config Templates startedTimestamp: "2026-08-09T01:32:11Z" status: Succeeded - completedTimestamp: "2026-08-09T01:32:12Z" name: Update Asset Management Version startedTimestamp: "2026-08-09T01:32:12Z" status: Succeeded - completedTimestamp: "2026-08-09T01:32:16Z" name: Check Registry startedTimestamp: "2026-08-09T01:32:13Z" status: Succeeded - completedTimestamp: "2026-08-09T01:38:52Z" name: Build Container Build startedTimestamp: "2026-08-09T01:32:16Z" status: Succeeded - completedTimestamp: "2026-08-09T01:39:11Z" name: Promote Changelog startedTimestamp: "2026-08-09T01:38:53Z" status: Succeeded - completedTimestamp: "2026-08-09T01:39:16Z" name: Promote Helm Release startedTimestamp: "2026-08-09T01:39:12Z" status: Succeeded - completedTimestamp: "2026-08-09T01:41:25Z" name: Promote Jx Promote startedTimestamp: "2026-08-09T01:39:17Z" status: Succeeded - completedTimestamp: "2026-08-09T01:42:33Z" name: Publish Org Kb startedTimestamp: "2026-08-09T01:41:25Z" status: Succeeded - kind: Promote promote: environment: staging pullRequest: pullRequestURL: https://github.com/greencapitaltrade/mcu/pull/5301 startedTimestamp: "2026-08-09T01:40:37Z" status: Succeeded startedTimestamp: "2026-08-09T01:40:37Z" status: Succeeded - kind: Promote promote: environment: production pullRequest: pullRequestURL: https://github.com/greencapitaltrade/mcu/pull/5302 startedTimestamp: "2026-08-09T01:41:22Z" status: Succeeded startedTimestamp: "2026-08-09T01:41:22Z" status: Succeeded version: 6.92.2 status: {}