apiVersion: jenkins.io/v1 kind: PipelineActivity metadata: annotations: lighthouse.jenkins-x.io/cloneURI: https://github.com/greencapitaltrade/flash.git lighthouse.jenkins-x.io/job: release pipeline.jenkins-x.io/traceID: b20f025caf16c8b05a89fc8e426a95f6 creationTimestamp: "2026-05-22T11:25:48Z" generation: 7 labels: branch: main build: "64" context: release created-by-lighthouse: "true" event-GUID: f968dd56-55d0-11f1-9bea-1f241ccae0ec lighthouse.jenkins-x.io/baseSHA: a23ec0f1b57b663f90db679c619a3e8a27717f69 lighthouse.jenkins-x.io/branch: main lighthouse.jenkins-x.io/buildNum: "1779449148719" lighthouse.jenkins-x.io/context: release lighthouse.jenkins-x.io/id: ncapitaltrade-flash-main-release-mbq28 lighthouse.jenkins-x.io/job: release lighthouse.jenkins-x.io/lastCommitSHA: a23ec0f1b57b663f90db679c619a3e8a27717f69 lighthouse.jenkins-x.io/refs.org: greencapitaltrade lighthouse.jenkins-x.io/refs.repo: flash lighthouse.jenkins-x.io/type: postsubmit owner: greencapitaltrade podName: ncapitaltrade-flash-main-release-z62gv-from-build-pack-pod provider: github repository: flash tekton.dev/pipeline: ncapitaltrade-flash-main-release-z62gv 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-05-22T11:32:27Z" - apiVersion: jenkins.io/v1 fieldsType: FieldsV1 fieldsV1: f:spec: f:completedTimestamp: {} f:status: {} manager: jx-promote-0.6.31 operation: Update time: "2026-05-22T11:33:07Z" - 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:context: {} f:gitBranch: {} f:gitOwner: {} f:gitRepository: {} f:gitUrl: {} f:message: {} f:pipeline: {} f:startedTimestamp: {} f:steps: {} manager: jx-build-controller operation: Update time: "2026-05-22T11:33:16Z" name: greencapitaltrade-flash-main-64 namespace: jx resourceVersion: "40625379" uid: 83b09b03-d678-47c5-b6e5-24ff339e67d2 spec: baseSHA: a23ec0f1b57b663f90db679c619a3e8a27717f69 batchPipelineActivity: {} build: "64" buildLogsUrl: s3://logs-gct-prod-20260425045301534100000007/jenkins-x/logs/greencapitaltrade/flash/main/64.log completedTimestamp: "2026-05-22T11:32:52Z" context: release gitBranch: main gitOwner: greencapitaltrade gitRepository: flash gitUrl: https://github.com/greencapitaltrade/flash.git lastCommitMessage: | fix(cookies): derive domain from NEXT_PUBLIC_API_URL; forward team_id header Two related bugs that together cause the team-selector to silently no-op: 1. `cookieStore.set()` was reading `NEXT_PUBLIC_COOKIE_DOMAIN` env var which is not set in prod — so every cookie it writes becomes host-only on flash.voltcred.com. Cross-origin GraphQL POST to api.voltcred.com strips the cookie and Fury never sees the team selection. Fix: derive registrable domain from `NEXT_PUBLIC_API_URL` at module load (mirrors what `apps/next/middleware.ts` already does for the device cookie via tldts). api.voltcred.com → .voltcred.com, api.gc-t.in → .gc-t.in. Cookies now reach the API host. 2. Apollo's auth middleware was forwarding `selected_company_id` cookie → `x-gct-company-id` header but had no equivalent for `selected_team_id`. Even with the cookie domain fix, Fury's resolver chain reads from headers (Heimdallr injects them at the edge), so we need to forward both. Fix: read `selected_team_id` cookie and forward as `x-gct-team-id` header. Companion Fury PR adds `x-gct-team-id` reading + plumbs `team_id` through to Bifrost's `/api/asset/assets`. Bifrost already accepts team_id; it just never received one. Verified: `selected_team_id` cookie now visible on api.voltcred.com network requests once both PRs ship. Co-Authored-By: Claude Opus 4.7 lastCommitSHA: 5e2320fc24ad6addab1b3a0dd087e4682d632712 message: 'Tasks Completed: 1 (Failed: 0, Cancelled 0), Skipped: 0' pipeline: greencapitaltrade/flash/main releaseNotesURL: https://github.com/greencapitaltrade/flash/releases/tag/v0.8.18 startedTimestamp: "2026-05-22T11:25:48Z" status: Succeeded steps: - kind: Stage stage: completedTimestamp: "2026-05-22T11:32:52Z" name: Release startedTimestamp: "2026-05-22T11:31:52Z" status: Succeeded - kind: Promote promote: environment: staging pullRequest: pullRequestURL: https://github.com/greencapitaltrade/mcu/pull/3970 startedTimestamp: "2026-05-22T11:32:52Z" status: Succeeded startedTimestamp: "2026-05-22T11:32:52Z" status: Succeeded - kind: Stage stage: completedTimestamp: "2026-05-22T11:33:10Z" name: from build pack startedTimestamp: "2026-05-22T11:25:53Z" status: Succeeded steps: - completedTimestamp: "2026-05-22T11:26:00Z" name: Git Clone startedTimestamp: "2026-05-22T11:25:53Z" status: Succeeded - completedTimestamp: "2026-05-22T11:26:02Z" name: Next Version startedTimestamp: "2026-05-22T11:26:00Z" status: Succeeded - completedTimestamp: "2026-05-22T11:26:06Z" name: Jx Variables startedTimestamp: "2026-05-22T11:26:02Z" status: Succeeded - completedTimestamp: "2026-05-22T11:28:29Z" name: Build Yarn Install startedTimestamp: "2026-05-22T11:26:06Z" status: Succeeded - completedTimestamp: "2026-05-22T11:29:21Z" name: Next Build startedTimestamp: "2026-05-22T11:28:30Z" status: Succeeded - completedTimestamp: "2026-05-22T11:29:24Z" name: Check Registry startedTimestamp: "2026-05-22T11:29:21Z" status: Succeeded - completedTimestamp: "2026-05-22T11:32:16Z" name: Build Container Build startedTimestamp: "2026-05-22T11:29:24Z" status: Succeeded - completedTimestamp: "2026-05-22T11:32:27Z" name: Promote Changelog startedTimestamp: "2026-05-22T11:32:17Z" status: Succeeded - completedTimestamp: "2026-05-22T11:32:31Z" name: Promote Helm Release startedTimestamp: "2026-05-22T11:32:28Z" status: Succeeded - completedTimestamp: "2026-05-22T11:33:10Z" name: Promote Jx Promote startedTimestamp: "2026-05-22T11:32:32Z" status: Succeeded - kind: Stage stage: completedTimestamp: "2026-05-22T11:33:10Z" name: from build pack startedTimestamp: "2026-05-22T11:25:53Z" status: Succeeded steps: - completedTimestamp: "2026-05-22T11:26:00Z" name: Git Clone startedTimestamp: "2026-05-22T11:25:53Z" status: Succeeded - completedTimestamp: "2026-05-22T11:26:02Z" name: Next Version startedTimestamp: "2026-05-22T11:26:00Z" status: Succeeded - completedTimestamp: "2026-05-22T11:26:06Z" name: Jx Variables startedTimestamp: "2026-05-22T11:26:02Z" status: Succeeded - completedTimestamp: "2026-05-22T11:28:29Z" name: Build Yarn Install startedTimestamp: "2026-05-22T11:26:06Z" status: Succeeded - completedTimestamp: "2026-05-22T11:29:21Z" name: Next Build startedTimestamp: "2026-05-22T11:28:30Z" status: Succeeded - completedTimestamp: "2026-05-22T11:29:24Z" name: Check Registry startedTimestamp: "2026-05-22T11:29:21Z" status: Succeeded - completedTimestamp: "2026-05-22T11:32:16Z" name: Build Container Build startedTimestamp: "2026-05-22T11:29:24Z" status: Succeeded - completedTimestamp: "2026-05-22T11:32:27Z" name: Promote Changelog startedTimestamp: "2026-05-22T11:32:17Z" status: Succeeded - completedTimestamp: "2026-05-22T11:32:31Z" name: Promote Helm Release startedTimestamp: "2026-05-22T11:32:28Z" status: Succeeded - completedTimestamp: "2026-05-22T11:33:10Z" name: Promote Jx Promote startedTimestamp: "2026-05-22T11:32:32Z" status: Succeeded version: 0.8.18 status: {}