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-16T13:38:02Z" generation: 7 labels: branch: main build: "62" context: release created-by-lighthouse: "true" event-GUID: 9534cb1c-6988-11f1-9ecf-b8be5a1e8e0c lighthouse.jenkins-x.io/baseSHA: 2db4bfb71f7b1a6cdc886c8d6bdd2a0f598a7380 lighthouse.jenkins-x.io/branch: main lighthouse.jenkins-x.io/buildNum: "1781617081849" lighthouse.jenkins-x.io/context: release lighthouse.jenkins-x.io/id: apitaltrade-destiny-main-release-2gcfc lighthouse.jenkins-x.io/job: release lighthouse.jenkins-x.io/lastCommitSHA: 2db4bfb71f7b1a6cdc886c8d6bdd2a0f598a7380 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-jmtds-from-build-pack-pod provider: github repository: destiny tekton.dev/pipeline: apitaltrade-destiny-main-release-jmtds 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-16T13:41:41Z" - apiVersion: jenkins.io/v1 fieldsType: FieldsV1 fieldsV1: f:spec: f:completedTimestamp: {} manager: jx-promote-0.6.31 operation: Update time: "2026-06-16T13:42:58Z" - 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-16T13:44:33Z" name: greencapitaltrade-destiny-main-62 namespace: jx resourceVersion: "109889830" uid: 6574a294-f387-410d-93a8-7fba8e90f1a5 spec: baseSHA: 2db4bfb71f7b1a6cdc886c8d6bdd2a0f598a7380 batchPipelineActivity: {} build: "62" completedTimestamp: "2026-06-16T13:42:31Z" context: release gitBranch: main gitOwner: greencapitaltrade gitRepository: destiny gitUrl: https://github.com/greencapitaltrade/destiny.git lastCommitMessage: | fix: make domain-event publish non-blocking and non-fatal POST /v1/applications hung ~73s then returned 500 unknown_error whenever staging Kafka was down. The destiny.application.created publish was awaited inside transaction.afterCommit, so a broker outage blocked the request for the full producer retry budget and rejected the post-commit transaction promise, surfacing as a 500. This blocked the entire LSP onboarding flow. Introduce helpers/emit_event.js: a fire-and-forget, non-fatal publish that callers register in afterCommit. The callback no longer returns the publish promise, so afterCommit never awaits it. The request returns as soon as the row commits, and a broker failure is logged rather than thrown. Applied to the five event-emitting models (application, application_user, personal_datum, agreement, emandate), covering both branches. Durable delivery via the transactional outbox is the follow-up. Fixes #1193 Refs #1236 Co-Authored-By: Claude Opus 4.8 lastCommitSHA: d060cde6fc21c884daf9a51aaab089d6c6d05b16 message: 'Tasks Completed: 1 (Failed: 0, Cancelled 0), Skipped: 0' pipeline: greencapitaltrade/destiny/main releaseNotesURL: https://github.com/greencapitaltrade/destiny/releases/tag/v1.60.3 startedTimestamp: "2026-06-16T13:38:02Z" status: Running steps: - kind: Stage stage: completedTimestamp: "2026-06-16T13:42:31Z" name: Release startedTimestamp: "2026-06-16T13:41:31Z" status: Succeeded - kind: Promote promote: environment: staging pullRequest: pullRequestURL: https://github.com/greencapitaltrade/mcu/pull/4339 startedTimestamp: "2026-06-16T13:42:31Z" status: Succeeded startedTimestamp: "2026-06-16T13:42:31Z" status: Succeeded - kind: Stage stage: completedTimestamp: "2026-06-16T13:44:32Z" name: from build pack startedTimestamp: "2026-06-16T13:38:06Z" status: Succeeded steps: - completedTimestamp: "2026-06-16T13:38:25Z" name: Git Clone startedTimestamp: "2026-06-16T13:38:06Z" status: Succeeded - completedTimestamp: "2026-06-16T13:38:31Z" name: Next Version startedTimestamp: "2026-06-16T13:38:25Z" status: Succeeded - completedTimestamp: "2026-06-16T13:38:35Z" name: Jx Variables startedTimestamp: "2026-06-16T13:38:32Z" status: Succeeded - completedTimestamp: "2026-06-16T13:39:47Z" name: Build Npm Install startedTimestamp: "2026-06-16T13:38:36Z" status: Succeeded - completedTimestamp: "2026-06-16T13:41:14Z" name: Build Container Build startedTimestamp: "2026-06-16T13:39:47Z" status: Succeeded - completedTimestamp: "2026-06-16T13:41:41Z" name: Promote Changelog startedTimestamp: "2026-06-16T13:41:14Z" status: Succeeded - completedTimestamp: "2026-06-16T13:41:46Z" name: Promote Helm Release startedTimestamp: "2026-06-16T13:41:42Z" status: Succeeded - completedTimestamp: "2026-06-16T13:43:01Z" name: Promote Jx Promote startedTimestamp: "2026-06-16T13:41:46Z" status: Succeeded - completedTimestamp: "2026-06-16T13:44:32Z" name: Publish Org Kb startedTimestamp: "2026-06-16T13:43:02Z" status: Succeeded - kind: Stage stage: name: from build pack startedTimestamp: "2026-06-16T13:38:06Z" status: Running steps: - completedTimestamp: "2026-06-16T13:38:25Z" name: Git Clone startedTimestamp: "2026-06-16T13:38:06Z" status: Succeeded - completedTimestamp: "2026-06-16T13:38:31Z" name: Next Version startedTimestamp: "2026-06-16T13:38:25Z" status: Succeeded - completedTimestamp: "2026-06-16T13:38:35Z" name: Jx Variables startedTimestamp: "2026-06-16T13:38:32Z" status: Succeeded - completedTimestamp: "2026-06-16T13:39:47Z" name: Build Npm Install startedTimestamp: "2026-06-16T13:38:36Z" status: Succeeded - completedTimestamp: "2026-06-16T13:41:14Z" name: Build Container Build startedTimestamp: "2026-06-16T13:39:47Z" status: Succeeded - completedTimestamp: "2026-06-16T13:41:41Z" name: Promote Changelog startedTimestamp: "2026-06-16T13:41:14Z" status: Succeeded - completedTimestamp: "2026-06-16T13:41:46Z" name: Promote Helm Release startedTimestamp: "2026-06-16T13:41:42Z" status: Succeeded - completedTimestamp: "2026-06-16T13:43:01Z" name: Promote Jx Promote startedTimestamp: "2026-06-16T13:41:46Z" status: Succeeded - name: Publish Org Kb startedTimestamp: "2026-06-16T13:38:34Z" status: Running version: 1.60.3 status: {}