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: 9df40571ab52206f35970216d4852fa5 creationTimestamp: "2026-08-06T04:58:03Z" generation: 9 labels: branch: main build: "152" context: release created-by-lighthouse: "true" event-GUID: 3ea85744-9153-11f1-8abd-ab155106da43 lighthouse.jenkins-x.io/baseSHA: d581bd3229fac487778cd0f1d9725066988aef34 lighthouse.jenkins-x.io/branch: main lighthouse.jenkins-x.io/buildNum: "1785992283625" lighthouse.jenkins-x.io/context: release lighthouse.jenkins-x.io/id: apitaltrade-destiny-main-release-bqw5z lighthouse.jenkins-x.io/job: release lighthouse.jenkins-x.io/lastCommitSHA: d581bd3229fac487778cd0f1d9725066988aef34 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-zhrjz-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-06T05:47:53Z" - 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-06T05:50:50Z" name: greencapitaltrade-destiny-main-152 namespace: jx resourceVersion: "246746434" uid: abba077d-0839-4f26-b337-73c17a5720c4 spec: baseSHA: d581bd3229fac487778cd0f1d9725066988aef34 batchPipelineActivity: {} build: "152" buildLogsUrl: s3://logs-gct-prod-20260425045301534100000007/jenkins-x/logs/greencapitaltrade/destiny/main/152.log completedTimestamp: "2026-08-06T05:50:44Z" context: release gitBranch: main gitOwner: greencapitaltrade gitRepository: destiny gitUrl: https://github.com/greencapitaltrade/destiny.git lastCommitMessage: | fix: complete emandate flow step on Digio webhook and Ironman polling; remove OneMoney Digio's mandate webhook updated the emandates row correctly but never called engine.completeStep/failStep, so the 'emandate' flow step stayed stuck 'active' forever after approval/rejection — same bug class as the digilocker and saafe bank_statement webhooks fixed earlier. AU and ICICI (the NPCI providers behind Ironman/NIYAMIKA) don't send status webhooks at all, and no polling mechanism existed for them either: Ironman's NIYAMIKA action never created an Emandate row, the registry didn't even register the NIYAMIKA kind, and nothing ever checked mandate status again after creation. Added ironman.getMandateStatus, registered EMANDATE/NIYAMIKA, and made the borrower's own GET /status call poll Ironman and complete/fail the step — the only point after creation where this can happen without a webhook. Also removes OneMoney (provider/onemoney.js, models/statement.js, routes/statements.js and the 'onemoney' webhook case) — a legacy Account Aggregator integration superseded by Saafe, and dead code with a very similar gap of its own (webhook never called completeStep, and could never self-heal since it set status 'approved' while the poll-based handler checked for 'completed'). engine/handlers/bank_statement.js's dead OneMoney-polling handler is gutted to a no-op to match. Co-Authored-By: Claude Sonnet 5 lastCommitSHA: 13a94aa4d8b60e360d838440295a8a76603bb283 message: 'Tasks Completed: 1 (Failed: 0, Cancelled 0), Skipped: 0' pipeline: greencapitaltrade/destiny/main releaseNotesURL: https://github.com/greencapitaltrade/destiny/releases/tag/v1.76.3 startedTimestamp: "2026-08-06T04:58:03Z" status: Succeeded steps: - kind: Stage stage: completedTimestamp: "2026-08-06T05:50:44Z" name: from build pack startedTimestamp: "2026-08-06T05:44:38Z" status: Succeeded steps: - completedTimestamp: "2026-08-06T05:44:53Z" name: Git Clone startedTimestamp: "2026-08-06T05:44:38Z" status: Succeeded - completedTimestamp: "2026-08-06T05:44:57Z" name: Next Version startedTimestamp: "2026-08-06T05:44:53Z" status: Succeeded - completedTimestamp: "2026-08-06T05:45:01Z" name: Jx Variables startedTimestamp: "2026-08-06T05:44:58Z" status: Succeeded - completedTimestamp: "2026-08-06T05:46:19Z" name: Build Npm Install startedTimestamp: "2026-08-06T05:45:02Z" status: Succeeded - completedTimestamp: "2026-08-06T05:47:45Z" name: Build Container Build startedTimestamp: "2026-08-06T05:46:19Z" status: Succeeded - completedTimestamp: "2026-08-06T05:47:53Z" name: Promote Changelog startedTimestamp: "2026-08-06T05:47:45Z" status: Succeeded - completedTimestamp: "2026-08-06T05:47:57Z" name: Promote Helm Release startedTimestamp: "2026-08-06T05:47:53Z" status: Succeeded - completedTimestamp: "2026-08-06T05:49:22Z" name: Promote Jx Promote startedTimestamp: "2026-08-06T05:47:58Z" status: Succeeded - completedTimestamp: "2026-08-06T05:50:44Z" name: Publish Org Kb startedTimestamp: "2026-08-06T05:49:22Z" status: Succeeded - kind: Promote promote: environment: staging pullRequest: pullRequestURL: https://github.com/greencapitaltrade/mcu/pull/5206 startedTimestamp: "2026-08-06T05:48:48Z" status: Succeeded startedTimestamp: "2026-08-06T05:48:48Z" status: Succeeded - kind: Promote promote: environment: production pullRequest: pullRequestURL: https://github.com/greencapitaltrade/mcu/pull/5207 startedTimestamp: "2026-08-06T05:49:19Z" status: Succeeded startedTimestamp: "2026-08-06T05:49:19Z" status: Succeeded version: 1.76.3 status: {}