apiVersion: jenkins.io/v1 kind: PipelineActivity metadata: annotations: lighthouse.jenkins-x.io/cloneURI: https://github.com/greencapitaltrade/thor.git lighthouse.jenkins-x.io/job: release pipeline.jenkins-x.io/traceID: ae96881df0d3ddd452fb22cd2b2a3cb2 creationTimestamp: "2026-08-05T13:12:05Z" generation: 8 labels: branch: main build: "44" context: release created-by-lighthouse: "true" event-GUID: 3f3b8318-90cf-11f1-998c-94b1d3ec9c4e lighthouse.jenkins-x.io/baseSHA: 7b785bd4988aa0572d6854553ac91f6edc8e7195 lighthouse.jenkins-x.io/branch: main lighthouse.jenkins-x.io/buildNum: "1785935525884" lighthouse.jenkins-x.io/context: release lighthouse.jenkins-x.io/id: encapitaltrade-thor-main-release-whrwn lighthouse.jenkins-x.io/job: release lighthouse.jenkins-x.io/lastCommitSHA: 7b785bd4988aa0572d6854553ac91f6edc8e7195 lighthouse.jenkins-x.io/refs.org: greencapitaltrade lighthouse.jenkins-x.io/refs.repo: thor lighthouse.jenkins-x.io/type: postsubmit owner: greencapitaltrade podName: encapitaltrade-thor-main-release-8p88x-from-build-pack-pod provider: github repository: thor tekton.dev/pipeline: encapitaltrade-thor-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-05T13:16:29Z" - 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-05T13:20:35Z" name: greencapitaltrade-thor-main-44 namespace: jx resourceVersion: "244925105" uid: dccc5654-9885-41bf-9a83-514e8b443676 spec: baseSHA: 7b785bd4988aa0572d6854553ac91f6edc8e7195 batchPipelineActivity: {} build: "44" buildLogsUrl: s3://logs-gct-prod-20260425045301534100000007/jenkins-x/logs/greencapitaltrade/thor/main/44.log completedTimestamp: "2026-08-05T13:20:27Z" context: release gitBranch: main gitOwner: greencapitaltrade gitRepository: thor gitUrl: https://github.com/greencapitaltrade/thor.git lastCommitMessage: | test: fix stale validation-status assertions and cover remaining branches Three assertions expected HTTP 200 with a code envelope for Sequelize validation errors, but the shared koa error middleware in @greencapitaltrade/utils maps ValidationError to 422. Only routes that catch the error themselves (e.g. POST /v1/users/verified) reply 200. The assertions have been unreachable since the middleware changed; the code assertions are kept so the actual contract is still checked. Adds six tests for previously uncovered branches: - oauth_providers POST rethrows non-uniqueness errors instead of reporting 409 provider_already_exists - session email/password login without organization_code - session OTP falls back to the legacy `device` header - users verify_gmail passes the service-specific OAuth provider config (decrypted) to the verifier - users onboard reports err.message when the failure is not a Sequelize validation error - oauth /:provider reuses an existing user instead of creating a duplicate, and resolves the legacy `device` header Coverage: statements 98.99 -> 99.24, branches 92.28 -> 94.36, lines 98.98 -> 99.24, functions 100. All four thresholds now pass. Co-Authored-By: Claude Opus 5 (1M context) lastCommitSHA: 6fcd483067fa2bd218c60d93945355ff1e1197c4 message: 'Tasks Completed: 1 (Failed: 0, Cancelled 0), Skipped: 0' pipeline: greencapitaltrade/thor/main releaseNotesURL: https://github.com/greencapitaltrade/thor/releases/tag/v3.7.37 startedTimestamp: "2026-08-05T13:12:05Z" status: Succeeded steps: - kind: Stage stage: completedTimestamp: "2026-08-05T13:20:27Z" name: from build pack startedTimestamp: "2026-08-05T13:12:16Z" status: Succeeded steps: - completedTimestamp: "2026-08-05T13:12:22Z" name: Git Clone startedTimestamp: "2026-08-05T13:12:16Z" status: Succeeded - completedTimestamp: "2026-08-05T13:12:27Z" name: Next Version startedTimestamp: "2026-08-05T13:12:23Z" status: Succeeded - completedTimestamp: "2026-08-05T13:12:39Z" name: Jx Variables startedTimestamp: "2026-08-05T13:12:35Z" status: Succeeded - completedTimestamp: "2026-08-05T13:14:16Z" name: Build Npm Install startedTimestamp: "2026-08-05T13:12:43Z" status: Succeeded - completedTimestamp: "2026-08-05T13:14:19Z" name: Check Registry startedTimestamp: "2026-08-05T13:14:16Z" status: Succeeded - completedTimestamp: "2026-08-05T13:16:21Z" name: Build Container Build startedTimestamp: "2026-08-05T13:14:19Z" status: Succeeded - completedTimestamp: "2026-08-05T13:16:30Z" name: Promote Changelog startedTimestamp: "2026-08-05T13:16:21Z" status: Succeeded - completedTimestamp: "2026-08-05T13:16:34Z" name: Promote Helm Release startedTimestamp: "2026-08-05T13:16:30Z" status: Succeeded - completedTimestamp: "2026-08-05T13:18:42Z" name: Promote Jx Promote startedTimestamp: "2026-08-05T13:16:34Z" status: Succeeded - completedTimestamp: "2026-08-05T13:20:27Z" name: Publish Org Kb startedTimestamp: "2026-08-05T13:18:42Z" status: Succeeded - kind: Promote promote: environment: staging pullRequest: pullRequestURL: https://github.com/greencapitaltrade/mcu/pull/5183 startedTimestamp: "2026-08-05T13:17:53Z" status: Succeeded startedTimestamp: "2026-08-05T13:17:53Z" status: Succeeded - kind: Promote promote: environment: production pullRequest: pullRequestURL: https://github.com/greencapitaltrade/mcu/pull/5184 startedTimestamp: "2026-08-05T13:18:39Z" status: Succeeded startedTimestamp: "2026-08-05T13:18:39Z" status: Succeeded version: 3.7.37 status: {}