HealthLog version
v1.38.24
Deployment type
Self-hosted (Docker)
What happened?
I am manually trying to add historical cycle (January 26th, 2026 which is before current day)
- healthlog incorrectly assumes I am logging
Day 2
- I proceed and click on Save and healthlog discards the action
Expected behavior
healthlog should save the Cycle as a historical date or show an error message "Cannot log historical dates"
Steps to reproduce
- Login into healthlog (as a Female user)
- Navigate to Cycles
- In the Calendar tab, navigate and click on an previous date (January 26th in this screenshot)
- Popup incorrectly suggests
Day 2. Ignore the message.
- Click on Save. Popup closes but date is not saved.
Relevant logs / screenshots
No error logs. Below log is captured after reopening the date and clicking on the save button again.
{
"timestamp": "2026-09-18T16:56:08.632Z",
"request_id": "dc3bdf59-7635-4ee2-9f10-34dc2c139358",
"trace_id": "64eae9a5-8516-4b01-b04d-57b1f840e63c",
"kind": "http",
"service": "healthlog",
"environment": "production",
"deploy": {
"node_version": "v22.23.1",
"hostname": "<redacted>"
},
"level": "info",
"http": {
"method": "POST",
"path": "/api/cycle/day-logs",
"route": "/api/cycle/day-logs",
"status": 201,
"user_agent": "Mozilla/5.0 (X11; Linux x86_64; rv:155.0) Gecko/20100101 Firefox/155.0",
"ip": "<redacted>"
},
"auth": {
"user_id": "<redacted>",
"user_role": "USER",
"auth_method": "session",
"record_context": {
"epoch": 0,
"scope": null
},
"provider_work_authority": {
"origin": "owner",
"recordUserId": "<redacted>",
"actorUserId": "<redacted>",
"grantId": null
}
},
"action": {
"name": "cycle.day-log.upsert",
"entity_type": "cycle_day_log",
"entity_id": "cmu77a13i007v01o7r0bijhus"
},
"meta": {
"existed": false,
"source": "MANUAL"
},
"duration_ms": 114,
"runtime": {
"loop_max_ms": 0.6,
"loop_last_ms": 0.3
}
}
Browser / OS (if applicable)
Mozilla Firefox 155.0.1 (64-bit) on Ubuntu 24.04
Pre-flight checks
HealthLog version
v1.38.24
Deployment type
Self-hosted (Docker)
What happened?
I am manually trying to add historical cycle (January 26th, 2026 which is before current day)
Day 2Expected behavior
healthlog should save the Cycle as a historical date or show an error message "Cannot log historical dates"
Steps to reproduce
Day 2. Ignore the message.Relevant logs / screenshots
No error logs. Below log is captured after reopening the date and clicking on the save button again. { "timestamp": "2026-09-18T16:56:08.632Z", "request_id": "dc3bdf59-7635-4ee2-9f10-34dc2c139358", "trace_id": "64eae9a5-8516-4b01-b04d-57b1f840e63c", "kind": "http", "service": "healthlog", "environment": "production", "deploy": { "node_version": "v22.23.1", "hostname": "<redacted>" }, "level": "info", "http": { "method": "POST", "path": "/api/cycle/day-logs", "route": "/api/cycle/day-logs", "status": 201, "user_agent": "Mozilla/5.0 (X11; Linux x86_64; rv:155.0) Gecko/20100101 Firefox/155.0", "ip": "<redacted>" }, "auth": { "user_id": "<redacted>", "user_role": "USER", "auth_method": "session", "record_context": { "epoch": 0, "scope": null }, "provider_work_authority": { "origin": "owner", "recordUserId": "<redacted>", "actorUserId": "<redacted>", "grantId": null } }, "action": { "name": "cycle.day-log.upsert", "entity_type": "cycle_day_log", "entity_id": "cmu77a13i007v01o7r0bijhus" }, "meta": { "existed": false, "source": "MANUAL" }, "duration_ms": 114, "runtime": { "loop_max_ms": 0.6, "loop_last_ms": 0.3 } }Browser / OS (if applicable)
Mozilla Firefox 155.0.1 (64-bit) on Ubuntu 24.04
Pre-flight checks