apiVersion: jenkins.io/v1 kind: PipelineActivity metadata: annotations: lighthouse.jenkins-x.io/cloneURI: https://github.com/hgngenterprises/riders.git lighthouse.jenkins-x.io/job: release pipeline.jenkins-x.io/traceID: 99bd9c9ed5c091103af15ea5f826a173 creationTimestamp: "2026-09-08T18:01:33Z" generation: 8 labels: branch: main build: "31" context: release created-by-lighthouse: "true" event-GUID: 51547456-abaf-11f1-9cf1-4e094aad8820 lighthouse.jenkins-x.io/baseSHA: 229a6ecd8838ffc335b52939a6e8a5e3a460911d lighthouse.jenkins-x.io/branch: main lighthouse.jenkins-x.io/buildNum: "1788890493491" lighthouse.jenkins-x.io/context: release lighthouse.jenkins-x.io/id: genterprises-riders-main-release-gh22f lighthouse.jenkins-x.io/job: release lighthouse.jenkins-x.io/lastCommitSHA: 229a6ecd8838ffc335b52939a6e8a5e3a460911d lighthouse.jenkins-x.io/refs.org: hgngenterprises lighthouse.jenkins-x.io/refs.repo: riders lighthouse.jenkins-x.io/type: postsubmit owner: hgngenterprises podName: genterprises-riders-main-release-n5prc-from-build-pack-pod provider: github repository: riders tekton.dev/pipeline: genterprises-riders-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-09-08T18:05: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-09-08T18:07:56Z" name: hgngenterprises-riders-main-31 namespace: jx resourceVersion: "333726096" uid: d85a9aeb-07ae-4784-91c1-96b212b6ab6c spec: baseSHA: 229a6ecd8838ffc335b52939a6e8a5e3a460911d batchPipelineActivity: {} build: "31" buildLogsUrl: s3://logs-gct-prod-20260425045301534100000007/jenkins-x/logs/hgngenterprises/riders/main/31.log completedTimestamp: "2026-09-08T18:07:49Z" context: release gitBranch: main gitOwner: hgngenterprises gitRepository: riders gitUrl: https://github.com/hgngenterprises/riders.git lastCommitMessage: | fix: find an operator by their Thor id, not by company Scoping the ref lookup to `company_id = 4` hid every partner sitting in no company — which is how the original rider partners were created. getOrCreate- PartnerId concluded they did not exist and made a second, empty partner, and identity then resolved that twin while the invoices stayed on the original. 51 refs were split this way; those riders opened SPARQ to a blank transaction history and no dues. The duplicates have been merged in production, but 74 company-less partners with a ref are still live and would be duplicated again on their next login. Both the lookup and the identity resolver now accept `company_id in [4, false]`. Company 5 stays excluded — exactly one partner there carries a ref, a leftover from when this service read across both companies, and keeping it out is what tests/odoo-company-scope.test.js exists to protect. Two existing assertions pinned `company_id = 4` and are updated on purpose, with company 5 still asserted absent. Co-Authored-By: Claude Opus 5 (1M context) lastCommitSHA: 752359f27fb0e662a73c8af2b2f029e118f86687 message: 'Tasks Completed: 1 (Failed: 0, Cancelled 0), Skipped: 0' pipeline: hgngenterprises/riders/main releaseNotesURL: https://github.com/hgngenterprises/riders/releases/tag/v0.28.0 startedTimestamp: "2026-09-08T18:01:33Z" status: Succeeded steps: - kind: Stage stage: completedTimestamp: "2026-09-08T18:07:49Z" name: from build pack startedTimestamp: "2026-09-08T18:01:37Z" status: Succeeded steps: - completedTimestamp: "2026-09-08T18:02:46Z" name: Git Clone startedTimestamp: "2026-09-08T18:01:37Z" status: Succeeded - completedTimestamp: "2026-09-08T18:02:49Z" name: Next Version startedTimestamp: "2026-09-08T18:02:46Z" status: Succeeded - completedTimestamp: "2026-09-08T18:02:54Z" name: Jx Variables startedTimestamp: "2026-09-08T18:02:49Z" status: Succeeded - completedTimestamp: "2026-09-08T18:03:57Z" name: Build Npm Install startedTimestamp: "2026-09-08T18:02:55Z" status: Succeeded - completedTimestamp: "2026-09-08T18:05:18Z" name: Build Container Build startedTimestamp: "2026-09-08T18:03:57Z" status: Succeeded - completedTimestamp: "2026-09-08T18:05:29Z" name: Promote Changelog startedTimestamp: "2026-09-08T18:05:18Z" status: Succeeded - completedTimestamp: "2026-09-08T18:05:34Z" name: Promote Helm Release startedTimestamp: "2026-09-08T18:05:29Z" status: Succeeded - completedTimestamp: "2026-09-08T18:07:49Z" name: Promote Jx Promote startedTimestamp: "2026-09-08T18:05:35Z" status: Succeeded - kind: Promote promote: environment: staging pullRequest: pullRequestURL: https://github.com/greencapitaltrade/mcu/pull/5722 startedTimestamp: "2026-09-08T18:06:59Z" status: Succeeded startedTimestamp: "2026-09-08T18:06:59Z" status: Succeeded - kind: Promote promote: environment: production pullRequest: pullRequestURL: https://github.com/greencapitaltrade/mcu/pull/5723 startedTimestamp: "2026-09-08T18:07:46Z" status: Succeeded startedTimestamp: "2026-09-08T18:07:46Z" status: Succeeded version: 0.28.0 status: {}