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

rm-hull / fuel-prices-api / 22042684139
20%

Build:
DEFAULT BRANCH: main
Ran 15 Feb 2026 08:39PM UTC
Jobs 1
Files 8
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

15 Feb 2026 08:39PM UTC coverage: 0.0%. Remained the same
22042684139

push

github

web-flow
feat: add background cron jobs for data sync (#5)

Introduces a background task scheduler using `robfig/cron` to automate
data synchronization, replacing manual polling logic.

*   Added `internal/cron.go` to manage scheduled updates.
*   **Filling Stations**: Synchronized every 6 hours.
*   **Fuel Prices**: Synchronized every hour.
*   Integrates the scheduler into the `ApiServer` startup sequence.

```mermaid
sequenceDiagram
    participant S as API Server
    participant C as Cron Manager
    participant E as External API
    participant R as Repository

    S->>C: StartCron(client, repo)
    Note over C: Scheduler Starts
    par Every 6 Hours
        C->>E: GetFillingStations()
        E->>R: InsertPFS()
    and Every 1 Hour
        C->>E: GetFuelPrices()
        E->>R: InsertPrices()
    end
```

0 of 31 new or added lines in 2 files covered. (0.0%)

0 of 602 relevant lines covered (0.0%)

0.0 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
0.0
0.0% cmd/api_server.go
28
0.0
internal/cron.go
Jobs
ID Job ID Ran Files Coverage
1 22042684139.1 15 Feb 2026 08:39PM UTC 8
0.0
GitHub Action Run
Source Files on build 22042684139
  • Tree
  • List 8
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4652c0ee on github
  • Prev Build on main (#22042184623)
  • Next Build on main (#22067620843)
  • 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