• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

andgineer / dinary-server / 24677589726
77%

Build:
DEFAULT BRANCH: main
Ran 20 Apr 2026 04:21PM UTC
Jobs 1
Files 20
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 Apr 2026 04:19PM UTC coverage: 71.789% (+0.2%) from 71.546%
24677589726

push

github

andgineer
Wake drain loop on new expense POSTs instead of only on timer

Replace the plain `asyncio.sleep(interval)` in the lifespan drain loop
with `asyncio.wait_for(event.wait(), timeout=interval)` and expose a
thread-safe `sheet_logging.notify_new_work()` that `POST /api/expenses`
calls after committing a fresh ledger row. The periodic timer stays as
the canonical fallback for crash recovery; user-visible sheet-append
latency drops from "up to drain_interval_sec" to "≈ 1 RTT to Google
Sheets" without re-introducing fire-and-forget per-POST workers. Only
fresh creates notify (replays did not enqueue a new queue row); notifies
are coalesced so burst traffic does not thrash the sweep.

Made-with: Cursor

45 of 48 new or added lines in 3 files covered. (93.75%)

1766 of 2460 relevant lines covered (71.79%)

0.72 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
78.42
1.1% src/dinary/services/sheet_logging.py
1
96.77
-1.53% src/dinary/api/expenses.py
Jobs
ID Job ID Ran Files Coverage
1 24677589726.1 20 Apr 2026 04:21PM UTC 20
71.79
GitHub Action Run
Source Files on build 24677589726
  • Tree
  • List 20
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24677589726
  • 89fbc3d1 on github
  • Prev Build on main (#24674005739)
  • Next Build on main (#24677965019)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc