Skip to content

Fixed the OpenAPS pill and forecast lines from not showing#8324

Open
yodax wants to merge 2 commits intonightscout:devfrom
yodax:openapspill
Open

Fixed the OpenAPS pill and forecast lines from not showing#8324
yodax wants to merge 2 commits intonightscout:devfrom
yodax:openapspill

Conversation

@yodax
Copy link
Copy Markdown
Contributor

@yodax yodax commented Jan 12, 2025

This is my local NS on the left and on the right is current main running on the same database.
msedge_rGyicw3aGf

Every so often the OpenAPS pill would stop updating and the forecast lines would disappear. I created a test to reproduce this using the data from my mongo database. This allowed me to narrow it down to the fix below. The lastEnacted field didn't always have a "rate" field set in each of these json objects.

@bewest
Copy link
Copy Markdown
Member

bewest commented May 23, 2025

Very very nice! 🎉

@PieterDeBruijn
Copy link
Copy Markdown

Would be nice if this fix was merged!

@yodax
Copy link
Copy Markdown
Contributor Author

yodax commented Feb 28, 2026

It’s been more than a year since the opening of the PR; a release was just made, the PR not included.

I still see people complaining about this not working for them. The fix works and has tests associated with it. (I have been running the code for all that time without a single forecast line disappearing)

If there’s no intention to release it, I’m ok with that of course. I would suggest closing the PR.

@bewest
Copy link
Copy Markdown
Member

bewest commented Feb 28, 2026

Thank you for this important bug fix. It will be processed soon. Fwiw, we have asked for review and help on database upgrade going on three years and so can understand your frustration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants