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: fe14b208cdba094c7bdfae4768f77799 creationTimestamp: "2026-08-31T05:34:26Z" generation: 8 labels: branch: main build: "213" context: release created-by-lighthouse: "true" event-GUID: 9bd963fa-a4fd-11f1-991b-60376f304557 lighthouse.jenkins-x.io/baseSHA: 4153d1dee8acaf95d1e1ec1d8c06ecde965266d1 lighthouse.jenkins-x.io/branch: main lighthouse.jenkins-x.io/buildNum: "1788154466832" lighthouse.jenkins-x.io/context: release lighthouse.jenkins-x.io/id: apitaltrade-bifrost-main-release-l9fd5 lighthouse.jenkins-x.io/job: release lighthouse.jenkins-x.io/lastCommitSHA: 4153d1dee8acaf95d1e1ec1d8c06ecde965266d1 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-d7w58-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: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-31T05:40:56Z" - 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-31T05:43:50Z" name: greencapitaltrade-bifrost-main-213 namespace: jx resourceVersion: "311753440" uid: 528f46bd-0e95-4155-801a-60824ee86c32 spec: baseSHA: 4153d1dee8acaf95d1e1ec1d8c06ecde965266d1 batchPipelineActivity: {} build: "213" buildLogsUrl: s3://logs-gct-prod-20260425045301534100000007/jenkins-x/logs/greencapitaltrade/bifrost/main/213.log completedTimestamp: "2026-08-31T05:43:43Z" context: release gitBranch: main gitOwner: greencapitaltrade gitRepository: bifrost gitUrl: https://github.com/greencapitaltrade/bifrost.git lastCommitMessage: | fix(asset): reject trips that go nowhere, and stop re-detecting duplicates Follow-up to #479. Watching the first fix run in production surfaced two defects it did not cover — both recurring, not one-offs. **Trips that never went anywhere.** 47 trips across 17 of 157 assets averaged under 1 km/h. DL51GD3433 is the clearest: six "trips" of one to two hours whose start and end coordinates differ by ~0.0001 degrees, each scraping past the 0.1 km floor on filtered residue — 0.29 km in 7,426 s is 0.14 km/h. Its device reports a real non-zero speed on 67% of samples while the whole track fits in a 390 m x 250 m box, so neither reported speed nor path length can reject it. A trip must now also clear `min_trip_avg_speed_kmh` (default 1 km/h). Deliberately not a net-displacement test: a genuine round trip also ends where it began, and pace separates the two where displacement cannot. There is a regression test for exactly that case. **Duplicate trips from overlapping re-detection.** 1,996 overlapping pairs across 140 of 157 assets, which double-counts distance and trip totals in every report built on this table. `detect_trips_batch` deleted only trips whose `start_time` fell inside the window, so a journey beginning before it survived while the same journey was rebuilt from the window boundary — the hourly cron re-runs over three hours, so this happened constantly. Trip 105016 (03:37-05:09, built 05:55) and 105166 (03:55-05:09, built 06:54, window opening 03:54) are one such pair. Deletion now matches on intersection with the window, including trips still open, and the rebuild reads back from the earliest record removed. Without that widening the rebuild would start mid-journey and truncate it, trading duplicates for short trips. Co-Authored-By: Claude Opus 5 (1M context) lastCommitSHA: 94074079ad712db6bbeefd900a8a1df3ce0fdadc message: 'Tasks Completed: 1 (Failed: 0, Cancelled 0), Skipped: 0' pipeline: greencapitaltrade/bifrost/main releaseNotesURL: https://github.com/greencapitaltrade/bifrost/releases/tag/v6.95.9 startedTimestamp: "2026-08-31T05:34:26Z" status: Succeeded steps: - kind: Stage stage: completedTimestamp: "2026-08-31T05:43:43Z" name: from build pack startedTimestamp: "2026-08-31T05:34:37Z" status: Succeeded steps: - completedTimestamp: "2026-08-31T05:35:05Z" name: Git Clone startedTimestamp: "2026-08-31T05:34:37Z" status: Succeeded - completedTimestamp: "2026-08-31T05:35:12Z" name: Next Version startedTimestamp: "2026-08-31T05:35:04Z" status: Succeeded - completedTimestamp: "2026-08-31T05:35:19Z" name: Jx Variables startedTimestamp: "2026-08-31T05:35:13Z" status: Succeeded - completedTimestamp: "2026-08-31T05:35:23Z" name: Setup Pip Cache startedTimestamp: "2026-08-31T05:35:19Z" status: Succeeded - completedTimestamp: "2026-08-31T05:35:25Z" name: Process Config Templates startedTimestamp: "2026-08-31T05:35:24Z" status: Succeeded - completedTimestamp: "2026-08-31T05:35:25Z" name: Update Asset Management Version startedTimestamp: "2026-08-31T05:35:25Z" status: Succeeded - completedTimestamp: "2026-08-31T05:35:29Z" name: Check Registry startedTimestamp: "2026-08-31T05:35:25Z" status: Succeeded - completedTimestamp: "2026-08-31T05:40:41Z" name: Build Container Build startedTimestamp: "2026-08-31T05:35:29Z" status: Succeeded - completedTimestamp: "2026-08-31T05:40:56Z" name: Promote Changelog startedTimestamp: "2026-08-31T05:40:42Z" status: Succeeded - completedTimestamp: "2026-08-31T05:41:02Z" name: Promote Helm Release startedTimestamp: "2026-08-31T05:40:56Z" status: Succeeded - completedTimestamp: "2026-08-31T05:42:43Z" name: Promote Jx Promote startedTimestamp: "2026-08-31T05:41:02Z" status: Succeeded - completedTimestamp: "2026-08-31T05:43:43Z" name: Publish Org Kb startedTimestamp: "2026-08-31T05:42:44Z" status: Succeeded - kind: Promote promote: environment: staging pullRequest: pullRequestURL: https://github.com/greencapitaltrade/mcu/pull/5616 startedTimestamp: "2026-08-31T05:42:06Z" status: Succeeded startedTimestamp: "2026-08-31T05:42:06Z" status: Succeeded - kind: Promote promote: environment: production pullRequest: pullRequestURL: https://github.com/greencapitaltrade/mcu/pull/5617 startedTimestamp: "2026-08-31T05:42:40Z" status: Succeeded startedTimestamp: "2026-08-31T05:42:40Z" status: Succeeded version: 6.95.9 status: {}