apiVersion: jenkins.io/v1 kind: PipelineActivity metadata: annotations: lighthouse.jenkins-x.io/cloneURI: https://github.com/greencapitaltrade/destiny.git lighthouse.jenkins-x.io/job: release pipeline.jenkins-x.io/traceID: 11c744d7c670d0968d9ce235496bd3e2 creationTimestamp: "2026-08-26T13:10:01Z" generation: 7 labels: branch: main build: "199" context: release created-by-lighthouse: "true" event-GUID: 55f94988-a14f-11f1-96ca-b6f689673441 lighthouse.jenkins-x.io/baseSHA: 49bd5db0d63c53ce3810aba2725469417120e35f lighthouse.jenkins-x.io/branch: main lighthouse.jenkins-x.io/buildNum: "1787749801098" lighthouse.jenkins-x.io/context: release lighthouse.jenkins-x.io/id: apitaltrade-destiny-main-release-gxmvd lighthouse.jenkins-x.io/job: release lighthouse.jenkins-x.io/lastCommitSHA: 49bd5db0d63c53ce3810aba2725469417120e35f lighthouse.jenkins-x.io/refs.org: greencapitaltrade lighthouse.jenkins-x.io/refs.repo: destiny lighthouse.jenkins-x.io/type: postsubmit owner: greencapitaltrade podName: apitaltrade-destiny-main-release-trtnw-from-build-pack-pod provider: github repository: destiny tekton.dev/pipeline: apitaltrade-destiny-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-26T13:13:11Z" - apiVersion: jenkins.io/v1 fieldsType: FieldsV1 fieldsV1: f:spec: f:completedTimestamp: {} f:status: {} manager: jx-promote-0.6.45 operation: Update time: "2026-08-26T13:14:45Z" - 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:context: {} f:gitBranch: {} f:gitOwner: {} f:gitRepository: {} f:gitUrl: {} f:message: {} f:pipeline: {} f:startedTimestamp: {} f:steps: {} manager: jx-build-controller operation: Update time: "2026-08-26T13:17:10Z" name: greencapitaltrade-destiny-main-199 namespace: jx resourceVersion: "299687239" uid: d5bf5192-db75-4927-b45c-00c59ff671ae spec: baseSHA: 49bd5db0d63c53ce3810aba2725469417120e35f batchPipelineActivity: {} build: "199" buildLogsUrl: s3://logs-gct-prod-20260425045301534100000007/jenkins-x/logs/greencapitaltrade/destiny/main/199.log completedTimestamp: "2026-08-26T13:14:11Z" context: release gitBranch: main gitOwner: greencapitaltrade gitRepository: destiny gitUrl: https://github.com/greencapitaltrade/destiny.git lastCommitMessage: | fix(tests): stop one suite switching off another suite's templates `agreement.test.js` ran `AgreementTemplate.update({active: false}, {where: {active: true}})` — every template in the database — and restored only its own and the system ones. Worker databases are shared by every suite that runs in them, so any other suite's template stayed switched off for the rest of that worker's run. Whether it hurt depended on which file jest scheduled next, which is why it surfaced as an occasional failure in `agreement_renderer.test.js` or `agreement.test.js` and never reproduced on a rerun. Both suites now work on product ids of their own, so nothing competes and there is nothing to switch off, restore, or delete afterwards: the global mutation, the cleanup and every destroy() in the two files are gone. Six consecutive full runs without --runInBand: 724 passed, 0 failed. 338 destroy() calls remain across 47 other test files; they carry the same risk and want the same treatment. Co-Authored-By: Claude Opus 5 (1M context) lastCommitSHA: 4dcbd837973a1c68c4a48c74509222942d52cc93 message: 'Tasks Completed: 1 (Failed: 0, Cancelled 0), Skipped: 0' pipeline: greencapitaltrade/destiny/main releaseNotesURL: https://github.com/greencapitaltrade/destiny/releases/tag/v1.81.7 startedTimestamp: "2026-08-26T13:10:01Z" status: Succeeded steps: - kind: Stage stage: completedTimestamp: "2026-08-26T13:14:11Z" name: Release startedTimestamp: "2026-08-26T13:13:11Z" status: Succeeded - kind: Promote promote: environment: staging pullRequest: pullRequestURL: https://github.com/greencapitaltrade/mcu/pull/5565 startedTimestamp: "2026-08-26T13:14:11Z" status: Succeeded startedTimestamp: "2026-08-26T13:14:11Z" status: Succeeded - kind: Stage stage: completedTimestamp: "2026-08-26T13:17:04Z" name: from build pack startedTimestamp: "2026-08-26T13:10:04Z" status: Succeeded steps: - completedTimestamp: "2026-08-26T13:10:25Z" name: Git Clone startedTimestamp: "2026-08-26T13:10:04Z" status: Succeeded - completedTimestamp: "2026-08-26T13:10:32Z" name: Next Version startedTimestamp: "2026-08-26T13:10:26Z" status: Succeeded - completedTimestamp: "2026-08-26T13:10:36Z" name: Jx Variables startedTimestamp: "2026-08-26T13:10:33Z" status: Succeeded - completedTimestamp: "2026-08-26T13:11:47Z" name: Build Npm Install startedTimestamp: "2026-08-26T13:10:37Z" status: Succeeded - completedTimestamp: "2026-08-26T13:13:01Z" name: Build Container Build startedTimestamp: "2026-08-26T13:11:47Z" status: Succeeded - completedTimestamp: "2026-08-26T13:13:11Z" name: Promote Changelog startedTimestamp: "2026-08-26T13:13:02Z" status: Succeeded - completedTimestamp: "2026-08-26T13:13:16Z" name: Promote Helm Release startedTimestamp: "2026-08-26T13:13:12Z" status: Succeeded - completedTimestamp: "2026-08-26T13:14:48Z" name: Promote Jx Promote startedTimestamp: "2026-08-26T13:13:16Z" status: Succeeded - completedTimestamp: "2026-08-26T13:17:04Z" name: Publish Org Kb startedTimestamp: "2026-08-26T13:14:49Z" status: Succeeded - kind: Stage stage: completedTimestamp: "2026-08-26T13:17:04Z" name: from build pack startedTimestamp: "2026-08-26T13:10:04Z" status: Succeeded steps: - completedTimestamp: "2026-08-26T13:10:25Z" name: Git Clone startedTimestamp: "2026-08-26T13:10:04Z" status: Succeeded - completedTimestamp: "2026-08-26T13:10:32Z" name: Next Version startedTimestamp: "2026-08-26T13:10:26Z" status: Succeeded - completedTimestamp: "2026-08-26T13:10:36Z" name: Jx Variables startedTimestamp: "2026-08-26T13:10:33Z" status: Succeeded - completedTimestamp: "2026-08-26T13:11:47Z" name: Build Npm Install startedTimestamp: "2026-08-26T13:10:37Z" status: Succeeded - completedTimestamp: "2026-08-26T13:13:01Z" name: Build Container Build startedTimestamp: "2026-08-26T13:11:47Z" status: Succeeded - completedTimestamp: "2026-08-26T13:13:11Z" name: Promote Changelog startedTimestamp: "2026-08-26T13:13:02Z" status: Succeeded - completedTimestamp: "2026-08-26T13:13:16Z" name: Promote Helm Release startedTimestamp: "2026-08-26T13:13:12Z" status: Succeeded - completedTimestamp: "2026-08-26T13:14:48Z" name: Promote Jx Promote startedTimestamp: "2026-08-26T13:13:16Z" status: Succeeded - completedTimestamp: "2026-08-26T13:17:04Z" name: Publish Org Kb startedTimestamp: "2026-08-26T13:14:49Z" status: Succeeded version: 1.81.7 status: {}