From 5366aa216af905d82cac5dfca78f2230dd2f7315 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 11 Jun 2026 16:55:58 +0000 Subject: [PATCH] =?UTF-8?q?CI:=20fix=20DovesLapTimer=20pin=20=E2=80=94=20t?= =?UTF-8?q?he=20library's=20latest=20release=20tag=20is=20v4.1.0,=20not=20?= =?UTF-8?q?v2.3.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit v2.3.1 doesn't exist in the DovesLapTimer repo, so the library checkout failed ('pathspec v2.3.1 did not match any file(s)') and the compile-sketch jobs went down before compiling anything. Docs updated to match. https://claude.ai/code/session_01Voi2VL5zjikyhEqgTvzmAL --- .github/workflows/compile-sketch.yml | 2 +- .github/workflows/release.yml | 2 +- CHANGELOG.md | 2 +- CLAUDE.md | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/compile-sketch.yml b/.github/workflows/compile-sketch.yml index a0b21ef..627b2bd 100644 --- a/.github/workflows/compile-sketch.yml +++ b/.github/workflows/compile-sketch.yml @@ -18,7 +18,7 @@ jobs: # channels move together; everything else pins the known-good release # tag (bump deliberately). base_ref is only set on pull_request events; # ref_name covers push / workflow_dispatch. - LAPTIMER_REF: ${{ (github.base_ref == 'BETA' || github.ref_name == 'BETA') && 'BETA' || 'v2.3.1' }} + LAPTIMER_REF: ${{ (github.base_ref == 'BETA' || github.ref_name == 'BETA') && 'BETA' || 'v4.1.0' }} # Build both XIAO nRF52840 variants. The Sense board has the onboard # LSM6DS3 IMU; the plain board does not (accelerometer logging degrades # gracefully). Same MCU/BLE/bootloader otherwise. diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e222106..820d3da 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -72,7 +72,7 @@ jobs: "ArxTypeTraits" # Release builds pin the lap-timer library to a known-good tag — # bump deliberately. (Beta builds track its BETA branch instead.) - arduino-cli lib install --git-url https://github.com/TheAngryRaven/DovesLapTimer.git#v2.3.1 + arduino-cli lib install --git-url https://github.com/TheAngryRaven/DovesLapTimer.git#v4.1.0 pip install --user adafruit-nrfutil - name: Compile diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b12ccf..7ca972e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,7 @@ and this project aims to follow [Semantic Versioning](https://semver.org/spec/v2 - **CI now controls which DovesLapTimer the firmware is built against.** Builds targeting (or running on) the `BETA` branch track the library's own `BETA` branch, so the two beta channels move together; `master` CI and the - release/tag builds pin the known-good `v2.3.1` tag instead of floating on + release/tag builds pin the known-good `v4.1.0` tag instead of floating on the library's default-branch tip. Bump the pin deliberately when a new library release is validated. diff --git a/CLAUDE.md b/CLAUDE.md index cca8c2b..5985706 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -107,7 +107,7 @@ desktop toolchain. This is where logic worth unit-testing lives. | Path | Contents | |---|---| -| `.github/workflows/` | CI: compile-sketch (+ flash-size gate), arduino-lint, unit-tests, clang-tidy, coverage, release (dual-board build + GitHub Release + prod OTA manifest to `gh-pages`), beta (dual-board build on `BETA`-branch push → latest-only `beta/` OTA channel on `gh-pages`, no Release). DovesLapTimer ref per channel: `BETA` builds track the library's `BETA` branch, master/release pin `v2.3.1` | +| `.github/workflows/` | CI: compile-sketch (+ flash-size gate), arduino-lint, unit-tests, clang-tidy, coverage, release (dual-board build + GitHub Release + prod OTA manifest to `gh-pages`), beta (dual-board build on `BETA`-branch push → latest-only `beta/` OTA channel on `gh-pages`, no Release). DovesLapTimer ref per channel: `BETA` builds track the library's `BETA` branch, master/release pin `v4.1.0` | | `tests/` | Host doctest harness (CMake) for the pure-logic units | | `CHANGELOG.md` | Keep-a-Changelog history; release workflow ties to version tags | | `ARCHITECTURE.md` | Human-facing architecture narrative (subsystems, design decisions) | @@ -616,7 +616,7 @@ Stored in `trackLayouts[MAX_LAYOUTS]` (max 10 per track). | SparkFun u-blox GNSS v3 | UBX binary PVT GPS interface | | ArduinoJson 6.x | Track file JSON parsing | | SdFat | SD card (FAT16/32) | -| DovesLapTimer | Lap/sector timing (external: TheAngryRaven/DovesLapTimer). CI refs: `BETA`-targeted builds track the library's `BETA` branch; master/release builds pin `v2.3.1` (bump deliberately) | +| DovesLapTimer | Lap/sector timing (external: TheAngryRaven/DovesLapTimer). CI refs: `BETA`-targeted builds track the library's `BETA` branch; master/release builds pin `v4.1.0` (bump deliberately) | | Seeed Arduino LSM6DS3 | Onboard IMU accelerometer/gyro (Sense variant, ±16g) | | Bluefruit nRF52 | BLE (built into board package) |