apiVersion: jenkins.io/v1 kind: PipelineActivity metadata: annotations: lighthouse.jenkins-x.io/cloneURI: https://github.com/greencapitaltrade/bifrost.git lighthouse.jenkins-x.io/job: release pipeline.jenkins-x.io/traceID: fd718a9a34428346a1e0918aa548ebbe creationTimestamp: "2026-08-03T07:10:07Z" generation: 9 labels: branch: main build: "180" buildID: "1785740927515" created-by-lighthouse: "true" event-GUID: 2767b3c2-8f0a-11f1-9b8d-6c9fc63e1942 lighthouse.jenkins-x.io/baseSHA: c067b07d782cd2cefef71cc1a87f36af0fa416b9 lighthouse.jenkins-x.io/branch: main lighthouse.jenkins-x.io/buildNum: "1785740927515" lighthouse.jenkins-x.io/context: release lighthouse.jenkins-x.io/id: apitaltrade-bifrost-main-release-rddg5 lighthouse.jenkins-x.io/job: release lighthouse.jenkins-x.io/lastCommitSHA: c067b07d782cd2cefef71cc1a87f36af0fa416b9 lighthouse.jenkins-x.io/refs.org: greencapitaltrade lighthouse.jenkins-x.io/refs.repo: bifrost lighthouse.jenkins-x.io/type: postsubmit owner: greencapitaltrade podName: apitaltrade-bifrost-main-release-g5pgp-from-build-pack-pod provider: github repository: bifrost tekton.dev/pipeline: apitaltrade-bifrost-main-release managedFields: - apiVersion: jenkins.io/v1 fieldsType: FieldsV1 fieldsV1: f:metadata: f:labels: .: {} f:branch: {} f:build: {} f:buildID: {} f:owner: {} f:repository: {} f:spec: .: {} f:batchPipelineActivity: {} f:build: {} f:gitBranch: {} f:gitOwner: {} f:gitRepository: {} f:pipeline: {} manager: jx-gitops-1.3.15 operation: Update time: "2026-08-03T07:10:07Z" - apiVersion: jenkins.io/v1 fieldsType: FieldsV1 fieldsV1: f:spec: f:lastCommitMessage: {} f:lastCommitSHA: {} f:releaseNotesURL: {} f:version: {} manager: jx-changelog-0.10.29 operation: Update time: "2026-08-03T07:13:19Z" - apiVersion: jenkins.io/v1 fieldsType: FieldsV1 fieldsV1: f:metadata: f:labels: f:provider: {} f:spec: f:completedTimestamp: {} f:gitUrl: {} f:startedTimestamp: {} f:status: {} manager: jx-promote-0.6.45 operation: Update time: "2026-08-03T07:14:42Z" - 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: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:buildLogsUrl: {} f:context: {} f:message: {} f:steps: {} manager: jx-build-controller operation: Update time: "2026-08-03T08:28:30Z" name: greencapitaltrade-bifrost-main-180 namespace: jx resourceVersion: "239124582" uid: c3271801-eed3-4475-b69e-98c732a43ee0 spec: baseSHA: c067b07d782cd2cefef71cc1a87f36af0fa416b9 batchPipelineActivity: {} build: "180" buildLogsUrl: s3://logs-gct-prod-20260425045301534100000007/jenkins-x/logs/greencapitaltrade/bifrost/main/180.log completedTimestamp: "2026-08-03T07:14:07Z" context: release gitBranch: main gitOwner: greencapitaltrade gitRepository: bifrost gitUrl: https://github.com/greencapitaltrade/bifrost.git lastCommitMessage: | refactor(asset_iot): delete the legacy telemetry normalization layer Deadpool 0.63.2+ emits the v1 telemetry envelope (canonical keys and units, `measurements: [{key, value, unit?}]`) unconditionally and is live in production. `asset.iot.device._STATE_SOURCES` (and its dependent `asset.iot.data._metric_aliases()` / `_build_frame_metrics()`) existed only to rename and unit-convert the old wire-shaped block payloads (`status`/`power`/`telemetry`) into Bifrost's vocabulary. With every producer on v1, that translation layer has no remaining caller, so it is deleted rather than kept as dead code. `_extract_state_updates` and `create_from_normalized_data` now have exactly one path: read `measurements` verbatim. A payload with a missing or unrecognised `schema_version` is rejected outright (`UNSUPPORTED_SCHEMA_VERSION`, checked before any write) instead of being assumed to be the old block shape — silently assuming a shape is the exact failure mode this work removes, since a genuinely malformed frame would otherwise be parsed as legacy and land plausible-looking values nobody knows to distrust. Test fixtures across the ingestion path are converted from legacy block payloads to v1 envelopes. `TestLegacyShapeDuringTransition` (test_iot_envelope_v1.py) and `TestOneMappingTable` (test_iot_data_metrics_jsonb.py) are deleted outright — both existed solely to pin the now-removed legacy/transition behavior. A new test asserts a payload with no `schema_version` is rejected and writes nothing. Rollback consequence: Deadpool cannot be rolled back below 0.63.2, since this build no longer understands any pre-v1 wire shape. Co-Authored-By: Claude Opus 5 (1M context) lastCommitSHA: 01a075b4c71a75e5341eca157779e494bd598eed message: 'Tasks Completed: 1 (Failed: 0, Cancelled 0), Skipped: 0' pipeline: greencapitaltrade/bifrost/main releaseNotesURL: https://github.com/greencapitaltrade/bifrost/releases/tag/v6.90.8 startedTimestamp: "2026-08-03T07:13:07Z" status: Succeeded steps: - kind: Stage stage: completedTimestamp: "2026-08-03T07:14:07Z" name: Release startedTimestamp: "2026-08-03T07:13:07Z" status: Succeeded - kind: Promote promote: environment: staging pullRequest: pullRequestURL: https://github.com/greencapitaltrade/mcu/pull/5143 startedTimestamp: "2026-08-03T07:14:07Z" status: Succeeded startedTimestamp: "2026-08-03T07:14:07Z" status: Succeeded - kind: Stage stage: completedTimestamp: "2026-08-03T07:16:13Z" name: from build pack startedTimestamp: "2026-08-03T07:09:28Z" status: Succeeded steps: - completedTimestamp: "2026-08-03T07:09:49Z" name: Git Clone startedTimestamp: "2026-08-03T07:09:28Z" status: Succeeded - completedTimestamp: "2026-08-03T07:10:03Z" name: Next Version startedTimestamp: "2026-08-03T07:09:49Z" status: Succeeded - completedTimestamp: "2026-08-03T07:10:08Z" name: Jx Variables startedTimestamp: "2026-08-03T07:10:03Z" status: Succeeded - completedTimestamp: "2026-08-03T07:10:08Z" name: Setup Npm Nexus startedTimestamp: "2026-08-03T07:10:08Z" status: Succeeded - completedTimestamp: "2026-08-03T07:10:10Z" name: Setup Pip Cache startedTimestamp: "2026-08-03T07:10:08Z" status: Succeeded - completedTimestamp: "2026-08-03T07:10:12Z" name: Process Config Templates startedTimestamp: "2026-08-03T07:10:11Z" status: Succeeded - completedTimestamp: "2026-08-03T07:10:12Z" name: Update Asset Management Version startedTimestamp: "2026-08-03T07:10:12Z" status: Succeeded - completedTimestamp: "2026-08-03T07:10:15Z" name: Check Registry startedTimestamp: "2026-08-03T07:10:12Z" status: Succeeded - completedTimestamp: "2026-08-03T07:12:59Z" name: Build Container Build startedTimestamp: "2026-08-03T07:10:15Z" status: Succeeded - completedTimestamp: "2026-08-03T07:13:19Z" name: Promote Changelog startedTimestamp: "2026-08-03T07:12:59Z" status: Succeeded - completedTimestamp: "2026-08-03T07:13:22Z" name: Promote Helm Release startedTimestamp: "2026-08-03T07:13:19Z" status: Succeeded - completedTimestamp: "2026-08-03T07:14:45Z" name: Promote Jx Promote startedTimestamp: "2026-08-03T07:13:23Z" status: Succeeded - completedTimestamp: "2026-08-03T07:16:13Z" name: Publish Org Kb startedTimestamp: "2026-08-03T07:14:46Z" status: Succeeded - kind: Stage stage: completedTimestamp: "2026-08-03T07:16:13Z" name: from build pack startedTimestamp: "2026-08-03T07:09:28Z" status: Succeeded steps: - completedTimestamp: "2026-08-03T07:09:49Z" name: Git Clone startedTimestamp: "2026-08-03T07:09:28Z" status: Succeeded - completedTimestamp: "2026-08-03T07:10:03Z" name: Next Version startedTimestamp: "2026-08-03T07:09:49Z" status: Succeeded - completedTimestamp: "2026-08-03T07:10:08Z" name: Jx Variables startedTimestamp: "2026-08-03T07:10:03Z" status: Succeeded - completedTimestamp: "2026-08-03T07:10:08Z" name: Setup Npm Nexus startedTimestamp: "2026-08-03T07:10:08Z" status: Succeeded - completedTimestamp: "2026-08-03T07:10:10Z" name: Setup Pip Cache startedTimestamp: "2026-08-03T07:10:08Z" status: Succeeded - completedTimestamp: "2026-08-03T07:10:12Z" name: Process Config Templates startedTimestamp: "2026-08-03T07:10:11Z" status: Succeeded - completedTimestamp: "2026-08-03T07:10:12Z" name: Update Asset Management Version startedTimestamp: "2026-08-03T07:10:12Z" status: Succeeded - completedTimestamp: "2026-08-03T07:10:15Z" name: Check Registry startedTimestamp: "2026-08-03T07:10:12Z" status: Succeeded - completedTimestamp: "2026-08-03T07:12:59Z" name: Build Container Build startedTimestamp: "2026-08-03T07:10:15Z" status: Succeeded - completedTimestamp: "2026-08-03T07:13:19Z" name: Promote Changelog startedTimestamp: "2026-08-03T07:12:59Z" status: Succeeded - completedTimestamp: "2026-08-03T07:13:22Z" name: Promote Helm Release startedTimestamp: "2026-08-03T07:13:19Z" status: Succeeded - completedTimestamp: "2026-08-03T07:14:45Z" name: Promote Jx Promote startedTimestamp: "2026-08-03T07:13:23Z" status: Succeeded - completedTimestamp: "2026-08-03T07:16:13Z" name: Publish Org Kb startedTimestamp: "2026-08-03T07:14:46Z" status: Succeeded version: 6.90.8 status: {}