Skip to content

Release: the confirmed bugs from the 3.0.5 check (#66) - #69

Merged
sayed0am merged 28 commits into
mainfrom
develop
Nov 12, 2026
Merged

sayed0am merged 28 commits into
mainfrom
develop

Conversation

@sayed0am

@sayed0am sayed0am commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

Brings develop into main: the fixes from the outside reporter's 3.0.5 functional check, #66. PRs #67 and #68, 27 commits.

Rewards and steps

  • Step badges and bests no longer wait for a workout, follow each sync, and the last workout deleted takes its bests (U2, I12).
  • The rewards view retries its read instead of dying (M3).

Workouts

  • A workout left recording is never deleted for looking short, and one left paused comes back paused (U1).
  • A rest never ends while paused (M4).
  • An unreadable workout on the strap no longer stops workout syncing, and a chunk that can't be read fails its type (U4, I6).
  • A phone workout's distance keeps the steps walked before GPS found its first fix (I3).
  • A trimmed or untrimmed workout works its fastest 1k, 5k and 10k out again from its kept route (I4).
  • A deleted phone workout is taken out of Health Connect too (I1).

Sleep and strap

  • New migration (database 32): sleep edits that match no session are cleared, so one left by a deleted minute night can't move or hide a real strap night. It only touches main sleeps in the weeks the minute nights were made for.
  • The oldest of the fourteen nights averages its vitals from the evening it began.
  • A calorie goal the strap refused is not marked as sent (M7).

Smaller

  • Alarms: a failed read no longer hides the health switches, and a failed write's reason stays on screen (M9).
  • Auto backup keeps the day's earlier backup until its replacement is in place (M18).
  • Healthspan says it updates weekly, not "next in 0 days" (M15). Weekly recap streak line only on a week that met the goal (I5).
  • Your week, opened from a past day, shows the days after it: active minutes and sleep (I9, The week view shows the days after the one shown (#66 I9) #68).

Checked

CI passed on #67. #68 was checked locally (tests, lint, detekt) and on the emulator with real and fake data. The branch ran on the phone as 3.0.6 debug, history migrated to database 32 with integrity ok.

The phone is on 3.0.6, so the release from this should be 3.0.7 or higher.

sayed0am and others added 28 commits November 13, 2026 00:11
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t next in 0 days

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n place

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d again on the next connect

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s first fix, not dropping when it does

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…erse; each page shows its own read error

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ind it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…one left by a deleted minute night can't move or hide a real strap night

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…session and distance

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ure, SpO2 and breathing from the evening it began, not from that day's midnight

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…gain from its kept route

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e last workout deleted takes its bests

The rewards were only worked out with a workout in the list, so with none recorded the step badges and the most
steps never came, and deleting the only workout left its bests and its week as they were. Now an empty list waits
only while workouts are stored (the list still loading). The refresh also runs after each sync, which writes the
days' steps. The rewards page shows what it had when working it out fails, and tries again, instead of Loading.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rlier backup, as before

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…er side of it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…made for, and tests follow version 32 and the alarms read error

The cleanup took any edit with no session near, which reached nap edits and old databases' edits that other
migrations keep. Now it only touches main sleep edits from 20 October to 12 November 2026.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…st never ends while paused

A restored workout took its last moment from its heart rate only, so one recorded without the strap was ended at
its start and deleted with its route. Its last moment now comes from everything stored: heart rate, kept route,
sets, rounds, laps and pauses. An end the app works out that would still leave under a minute doesn't end it: it
records on (or comes back paused) for the wearer to end or delete, and End tapped then ends it where it was
recorded to. A rest is now ended under the lock on the state as it is, never while paused, so a set started or
+10 s tapped meanwhile wins and the rest over cue only plays for a rest it ended.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…at can't be read fails its type

A workout summary the parser couldn't read ended the workout loop with nothing stored, so every later sync
stopped at the same workout and no new one came. Zepp keeps the raw bytes and parses after its loop, so one it
can't read never stops it: now it is left out and the loop goes on, asking the same STARTs as before. A failed
detail still stores nothing, as Zepp's receiver drops what a failed job fetched. A history chunk whose size
doesn't fit, or whose records can't be read, still ends its type but now fails it, so the sync no longer says
Done while that type gets no further.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…finally for the backup, and the rest test on a strength workout

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fix the confirmed bugs from the 3.0.5 check (#66)
Opened from a past day, Your week had no active minutes or sleep for the
days after it: both are worked out or loaded only up to the day shown.
It now also reads the week as its last day has it, and fills those days in.

Issue #66, I9.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The week view shows the days after the one shown (#66 I9)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@sayed0am
sayed0am merged commit ee45a3e into main Nov 12, 2026
3 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