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

rm-hull / fuel-prices-api / 22042684139 / 1
50%
main: 50%

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

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 602 relevant lines covered (0.0%)

0.0 hits per line

Source Files on job 22042684139.1
  • Tree
  • List 8
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 22042684139
  • 4652c0ee on github
  • Prev Job for on main (#22042184623.1)
  • Next Job for on main (#22067620843.1)
  • 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