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 creationTimestamp: "2026-06-17T21:16:51Z" generation: 7 labels: branch: main build: "70" context: release created-by-lighthouse: "true" event-GUID: d8a0e778-6a91-11f1-905c-c819cdabd6f9 lighthouse.jenkins-x.io/baseSHA: 4d0a14982464c01614c1f6b6bf7fd0d7ad1ea764 lighthouse.jenkins-x.io/branch: main lighthouse.jenkins-x.io/buildNum: "1781731011087" lighthouse.jenkins-x.io/context: release lighthouse.jenkins-x.io/id: apitaltrade-destiny-main-release-l2kdg lighthouse.jenkins-x.io/job: release lighthouse.jenkins-x.io/lastCommitSHA: 4d0a14982464c01614c1f6b6bf7fd0d7ad1ea764 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-btmbk-from-build-pack-pod provider: github repository: destiny tekton.dev/pipeline: apitaltrade-destiny-main-release-btmbk 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.18 operation: Update time: "2026-06-17T21:18:56Z" - apiVersion: jenkins.io/v1 fieldsType: FieldsV1 fieldsV1: f:spec: f:completedTimestamp: {} manager: jx-promote-0.6.31 operation: Update time: "2026-06-17T21:19:47Z" - apiVersion: jenkins.io/v1 fieldsType: FieldsV1 fieldsV1: f:metadata: f:annotations: .: {} f:lighthouse.jenkins-x.io/cloneURI: {} f:lighthouse.jenkins-x.io/job: {} 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: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-06-17T21:20:22Z" name: greencapitaltrade-destiny-main-70 namespace: jx resourceVersion: "113671336" uid: e38a37de-fb76-47cf-be69-69aee012561a spec: baseSHA: 4d0a14982464c01614c1f6b6bf7fd0d7ad1ea764 batchPipelineActivity: {} build: "70" completedTimestamp: "2026-06-17T21:19:26Z" context: release gitBranch: main gitOwner: greencapitaltrade gitRepository: destiny gitUrl: https://github.com/greencapitaltrade/destiny.git lastCommitMessage: | fix: count skipped steps and make initializeFlow idempotent - getFlowStatus.completed now counts both completed and skipped steps (per PRD: skipped = satisfied/not required, not a failure) - initializeFlow is now idempotent under concurrent first-reads by taking a row-level lock on the application when no transaction is supplied - When a transaction is passed in, preserve existing behaviour (no nested transaction) - All error messages preserved (application_not_found, no_flow_configured, flow_has_no_steps) Tests: - Added tests/flow_engine.test.js covering both fixes and edge cases - All existing tests pass - Lint and prettier clean Co-Authored-By: Claude Sonnet 4.5 lastCommitSHA: 0b1a8d8b43c29b50c4dea2388661b5fc2c4ded23 message: 'Tasks Completed: 1 (Failed: 0, Cancelled 0), Skipped: 0' pipeline: greencapitaltrade/destiny/main releaseNotesURL: https://github.com/greencapitaltrade/destiny/releases/tag/v1.63.5 startedTimestamp: "2026-06-17T21:16:51Z" status: Running steps: - kind: Stage stage: completedTimestamp: "2026-06-17T21:19:26Z" name: Release startedTimestamp: "2026-06-17T21:18:26Z" status: Succeeded - kind: Stage stage: completedTimestamp: "2026-06-17T21:20:21Z" name: from build pack startedTimestamp: "2026-06-17T21:16:54Z" status: Succeeded steps: - completedTimestamp: "2026-06-17T21:17:05Z" name: Git Clone startedTimestamp: "2026-06-17T21:16:54Z" status: Succeeded - completedTimestamp: "2026-06-17T21:17:09Z" name: Next Version startedTimestamp: "2026-06-17T21:17:06Z" status: Succeeded - completedTimestamp: "2026-06-17T21:17:12Z" name: Jx Variables startedTimestamp: "2026-06-17T21:17:09Z" status: Succeeded - completedTimestamp: "2026-06-17T21:17:44Z" name: Build Npm Install startedTimestamp: "2026-06-17T21:17:12Z" status: Succeeded - completedTimestamp: "2026-06-17T21:18:40Z" name: Build Container Build startedTimestamp: "2026-06-17T21:17:44Z" status: Succeeded - completedTimestamp: "2026-06-17T21:18:56Z" name: Promote Changelog startedTimestamp: "2026-06-17T21:18:40Z" status: Succeeded - completedTimestamp: "2026-06-17T21:18:59Z" name: Promote Helm Release startedTimestamp: "2026-06-17T21:18:56Z" status: Succeeded - completedTimestamp: "2026-06-17T21:19:50Z" name: Promote Jx Promote startedTimestamp: "2026-06-17T21:18:59Z" status: Succeeded - completedTimestamp: "2026-06-17T21:20:21Z" name: Publish Org Kb startedTimestamp: "2026-06-17T21:19:50Z" status: Succeeded - kind: Stage stage: name: from build pack startedTimestamp: "2026-06-17T21:16:54Z" status: Running steps: - completedTimestamp: "2026-06-17T21:17:05Z" name: Git Clone startedTimestamp: "2026-06-17T21:16:54Z" status: Succeeded - completedTimestamp: "2026-06-17T21:17:09Z" name: Next Version startedTimestamp: "2026-06-17T21:17:06Z" status: Succeeded - completedTimestamp: "2026-06-17T21:17:12Z" name: Jx Variables startedTimestamp: "2026-06-17T21:17:09Z" status: Succeeded - completedTimestamp: "2026-06-17T21:17:44Z" name: Build Npm Install startedTimestamp: "2026-06-17T21:17:12Z" status: Succeeded - completedTimestamp: "2026-06-17T21:18:40Z" name: Build Container Build startedTimestamp: "2026-06-17T21:17:44Z" status: Succeeded - completedTimestamp: "2026-06-17T21:18:56Z" name: Promote Changelog startedTimestamp: "2026-06-17T21:18:40Z" status: Succeeded - completedTimestamp: "2026-06-17T21:18:59Z" name: Promote Helm Release startedTimestamp: "2026-06-17T21:18:56Z" status: Succeeded - name: Promote Jx Promote startedTimestamp: "2026-06-17T21:17:10Z" status: Running - name: Publish Org Kb status: Pending - kind: Promote promote: environment: production pullRequest: pullRequestURL: https://github.com/greencapitaltrade/mcu/pull/4365 startedTimestamp: "2026-06-17T21:19:47Z" status: Succeeded startedTimestamp: "2026-06-17T21:19:47Z" status: Succeeded version: 1.63.5 status: {}