Skip to content

Upgrade decoder_go to fix database-mode BLR output - #3

Merged
jmbenlloch merged 1 commit into
next-exp:masterfrom
jmbenlloch:fix/upgrade-decoder-blr
Nov 4, 2026
Merged

jmbenlloch merged 1 commit into
next-exp:masterfrom
jmbenlloch:fix/upgrade-decoder-blr

Conversation

@jmbenlloch

@jmbenlloch jmbenlloch commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Dual-mode BLR data reaches the GDC decoder, but the currently pinned decoder writes zero-filled /RD/pmtblr arrays and an empty DataBLR mapping in database mode. Upgrade decoder_go from b6d9127dba90 to 60fb7e73e067 (v0.0.0-20260709173006-60fb7e73e067), which includes the fix already merged in next-exp/decoder_go#4.

The new decoder uses PMT sensor ordering for BLR and consistent waveform/baseline dimensions. This revision also includes upstream sequence-counter and SiPM payload-cleanup fixes, CLI event-count fixes, and regression tests. No Duck application code, database schema or configuration changes are included.

Validation:

  • Duck go test ./gdcRPC/... passed.
  • go test github.com/next-exp/decoder_go/pkg passed.
  • GDC binary builds successfully with the existing HDF5/Blosc build image.
  • Offline replay of one run 16140 raw file with the exact upgraded module passed: all 16 events, 99,840,000 BLR samples, PMT/SiPM samples, baselines, sensor mappings and event order matched the decoded data after HDF5 readback. A missing-BLR-channel case retained the complete sensor axis and zero-filled only the missing channel. Replay used uncompressed HDF5.

Deployed for operator testing in Canfranc on 2026-10-15 from this exact PR head (922e532), without merging the PR. All seven GDCs were built natively with Go 1.24.4; installed/running checksums match across the fleet and build metadata embeds decoder 60fb7e73e067. Native decoder tests and a Blosc/LZ4 bit-shuffle PMT/BLR write/read check passed. Original per-host executables and verified rollback scripts are retained. All GDC/LDC state RPCs returned INITIALIZED, and run control remained inactive/idle. No acquisition run was started; the operator will validate live dual-mode data.

GitHub Actions status: the GDC and backend jobs stop at the existing Docker Hub login step with Username and password required, before test execution. Their login credentials are unavailable in this PR context. The local GDC/decoder tests, build, and raw-file replay listed above passed.

@jmbenlloch
jmbenlloch merged commit bef4aaa into next-exp:master Nov 4, 2026
2 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant