apiVersion: jenkins.io/v1 kind: PipelineActivity metadata: annotations: lighthouse.jenkins-x.io/cloneURI: https://github.com/greencapitaltrade/deadpool.git lighthouse.jenkins-x.io/job: release pipeline.jenkins-x.io/traceID: 5e71e4464962d6727fe57b922fb522a4 creationTimestamp: "2026-07-23T08:48:32Z" generation: 7 labels: branch: main build: "88" context: release created-by-lighthouse: "true" event-GUID: 3da7510a-8673-11f1-8cd9-4725ce07f393 lighthouse.jenkins-x.io/baseSHA: 6180b4c745aeb61cc7c61df966ede231bbc29659 lighthouse.jenkins-x.io/branch: main lighthouse.jenkins-x.io/buildNum: "1784796497732" lighthouse.jenkins-x.io/context: release lighthouse.jenkins-x.io/id: pitaltrade-deadpool-main-release-4pchp lighthouse.jenkins-x.io/job: release lighthouse.jenkins-x.io/lastCommitSHA: 6180b4c745aeb61cc7c61df966ede231bbc29659 lighthouse.jenkins-x.io/refs.org: greencapitaltrade lighthouse.jenkins-x.io/refs.repo: deadpool lighthouse.jenkins-x.io/type: postsubmit owner: greencapitaltrade podName: pitaltrade-deadpool-main-release-skcw2-from-build-pack-pod provider: github repository: deadpool tekton.dev/pipeline: pitaltrade-deadpool-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.22 operation: Update time: "2026-07-23T08:53:53Z" - 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-07-23T08:54:57Z" name: greencapitaltrade-deadpool-main-88 namespace: jx resourceVersion: "209961721" uid: 2f493702-8cc8-41d0-8afb-7a79ce466115 spec: baseSHA: 6180b4c745aeb61cc7c61df966ede231bbc29659 batchPipelineActivity: {} build: "88" buildLogsUrl: s3://logs-gct-prod-20260425045301534100000007/jenkins-x/logs/greencapitaltrade/deadpool/main/88.log completedTimestamp: "2026-07-23T08:54:49Z" context: release gitBranch: main gitOwner: greencapitaltrade gitRepository: deadpool gitUrl: https://github.com/greencapitaltrade/deadpool.git lastCommitMessage: | fix(gt06): correct ACK checksum to CRC-ITU/X25 (wrong CRC on every response) Our login/heartbeat ACK responses carried the WRONG checksum. `calculate_crc` was CRC-16/CCITT-FALSE (MSB-first, poly 0x1021, no reflection, no final XOR), but GT06 requires CRC-ITU / CRC-16/X25 (reflected poly 0x8408, init 0xFFFF, final XOR 0xFFFF) — the doc comment even said "CRC-ITU" while the code did something else. Verified against a real production login frame (7878 0d 01 0864540080671332 02c5 0d0a): the device's own CRC over the length..serial bytes is 0x33e7; CRC-ITU reproduces 0x33e7, the old code produced 0xcd2c. So every ACK we sent had an invalid checksum. Impact: GT06 firmware that validates the response CRC rejects an ACK with a bad checksum — a heartbeat ACK that fails CRC is not counted as a valid keepalive, so after a few heartbeats the device tears down and reconnects. This is the prime suspect for the persistent ~60-180s reconnect churn that survived the latency fixes (the churn was never a timing problem once redis was fixed — it was a malformed ACK). Safe change: `calculate_crc` is only used to BUILD responses; inbound device packets are not CRC-checked, so this cannot reject device traffic. Locked with a regression test against the real-device ground-truth CRC. Co-Authored-By: Claude Opus 4.8 (1M context) lastCommitSHA: 8e711762d8a445e21b45ccf37e7a4496ad952fe5 message: 'Tasks Completed: 1 (Failed: 0, Cancelled 0), Skipped: 0' pipeline: greencapitaltrade/deadpool/main releaseNotesURL: https://github.com/greencapitaltrade/deadpool/releases/tag/v0.60.2 startedTimestamp: "2026-07-23T08:48:32Z" status: Succeeded steps: - kind: Stage stage: completedTimestamp: "2026-07-23T08:54:49Z" name: from build pack startedTimestamp: "2026-07-23T08:48:32Z" status: Succeeded steps: - completedTimestamp: "2026-07-23T08:48:33Z" name: Git Clone startedTimestamp: "2026-07-23T08:48:32Z" status: Succeeded - completedTimestamp: "2026-07-23T08:48:36Z" name: Next Version startedTimestamp: "2026-07-23T08:48:34Z" status: Succeeded - completedTimestamp: "2026-07-23T08:48:40Z" name: Jx Variables startedTimestamp: "2026-07-23T08:48:36Z" status: Succeeded - completedTimestamp: "2026-07-23T08:53:33Z" name: Build Cargo Install startedTimestamp: "2026-07-23T08:48:48Z" status: Succeeded - completedTimestamp: "2026-07-23T08:53:37Z" name: Check Registry startedTimestamp: "2026-07-23T08:53:34Z" status: Succeeded - completedTimestamp: "2026-07-23T08:53:39Z" name: Build Server Image startedTimestamp: "2026-07-23T08:53:38Z" status: Succeeded - completedTimestamp: "2026-07-23T08:53:40Z" name: Build Consumer Image startedTimestamp: "2026-07-23T08:53:39Z" status: Succeeded - completedTimestamp: "2026-07-23T08:53:42Z" name: Build Mqtt Image startedTimestamp: "2026-07-23T08:53:41Z" status: Succeeded - completedTimestamp: "2026-07-23T08:53:53Z" name: Promote Changelog startedTimestamp: "2026-07-23T08:53:43Z" status: Succeeded - completedTimestamp: "2026-07-23T08:53:56Z" name: Promote Helm Release startedTimestamp: "2026-07-23T08:53:53Z" status: Succeeded - completedTimestamp: "2026-07-23T08:54:36Z" name: Promote Jx Promote startedTimestamp: "2026-07-23T08:53:56Z" status: Succeeded - completedTimestamp: "2026-07-23T08:54:49Z" name: Publish Org Kb startedTimestamp: "2026-07-23T08:54:36Z" status: Succeeded - kind: Promote promote: environment: staging pullRequest: pullRequestURL: https://github.com/greencapitaltrade/mcu/pull/4897 startedTimestamp: "2026-07-23T08:54:18Z" status: Succeeded startedTimestamp: "2026-07-23T08:54:18Z" status: Succeeded - kind: Promote promote: environment: production pullRequest: pullRequestURL: https://github.com/greencapitaltrade/mcu/pull/4898 startedTimestamp: "2026-07-23T08:54:33Z" status: Succeeded startedTimestamp: "2026-07-23T08:54:33Z" status: Succeeded version: 0.60.2 status: {}