From ed51aaf3ebfa5b059c49fcc9e0ec08ff961acbd5 Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Sun, 30 Aug 2026 20:18:22 +0200 Subject: [PATCH] =?UTF-8?q?release:=200.1.2=20=C2=ABAnicet=C2=BB=20?= =?UTF-8?q?=E2=80=94=20the=20favourite=20hour=20is=20a=20real=20one?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ships the fix in 8fb053b, which had been running unreleased since the live database was migrated. !ja was reporting the same hour, 12:00, to every member of the group. That was the placeholder hour on the 342 messages carried over from the pre-0.1.0 counter, which have no timestamps — and favourite_hour was the one query that never excluded the backfilled day, so the synthetic noons outvoted every real evening. The genuine answer is 19:00-21:00. The absent hour is now -1 rather than a real-looking 12, and hour queries filter it out, so forgetting the exclusion can no longer invent an answer. Somebody whose only messages are backfilled gets no hour line at all instead of a made-up one. Exercised in testbot before the bump; kuhy confirmed the release. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_015d48t4qsQLBJnDwDeo2Nom --- DOCS-changelog.md | 6 ++++++ pyproject.toml | 2 +- signal_bot/versioning.py | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/DOCS-changelog.md b/DOCS-changelog.md index 615d1f0..37d8f75 100644 --- a/DOCS-changelog.md +++ b/DOCS-changelog.md @@ -38,6 +38,12 @@ this repo: describe what changes for them. 0.0.1 shipped a bullet about `/healthz`, an endpoint bound to 127.0.0.1 that nobody in a Signal group can reach, and it was rightly called out. +## 0.1.2 — Anicet + +- `!ja` pokazywał wszystkim tę samą godzinę (12:00) — to był artefakt + danych sprzed przebudowy licznika, a nie wasze zwyczaje. Teraz pokazuje + prawdziwe godziny, a komu ich nie znamy, temu nie zmyśla + ## 0.1.1 — Pius I - komendy mówią teraz, co pokazują — `!korona` na pustych danych tłumaczy, diff --git a/pyproject.toml b/pyproject.toml index d6febe5..74a66c0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "signal-bot" -version = "0.1.1" +version = "0.1.2" description = "A Signal group bot: image commands and daily message tallies." readme = "README.md" license = "MIT" diff --git a/signal_bot/versioning.py b/signal_bot/versioning.py index 9f61075..bf79427 100644 --- a/signal_bot/versioning.py +++ b/signal_bot/versioning.py @@ -28,7 +28,7 @@ PATCHES_PER_MINOR: Final = 8 # Which release this build is. Bump by one per release; everything else, # including the version string in pyproject.toml, follows from it. -RELEASE_ORDINAL: Final = 10 +RELEASE_ORDINAL: Final = 11 _POPES_FILE: Final = Path(__file__).with_name("popes.json")