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

sapcc / limes / 13544013945
80%

Build:
DEFAULT BRANCH: master
Ran 26 Feb 2025 12:37PM UTC
Jobs 1
Files 64
Run time 223min
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

26 Feb 2025 12:36PM UTC coverage: 79.422% (-0.2%) from 79.629%
13544013945

push

github

web-flow
Add Mail support to limes (#667)

* prepare pending commitment job to queue mails

* add mail_notification struct

* add testenv

* Add unit test for confirm job

* fix linter

* fix: add notify attribute to commitment db structure

* pending: add a second commitment for the second testcase

* Update internal/collector/capacity_scrape_test.go

Co-authored-by: Stefan Majewsky <stefan.majewsky@sap.com>

* tests: ignore first dbChange set

* Update internal/core/config.go

Co-authored-by: Stefan Majewsky <stefan.majewsky@sap.com>

* Update internal/db/models.go

Co-authored-by: Stefan Majewsky <stefan.majewsky@sap.com>

* fix: next_submission_at attribute name
commitment amount in the second test case

* fix: createMailNotification now returns value instead of pointer

* cluster: MailTemplate is now a struct
mail template is now given as part of the cluster config

* shorten CommitmentInfo to existing types
shorten commitmentQuery by using the AZResourceLocation data

* use conistent 'mail' naming

* move template creation into cluster attribute

* fix: make error message of failed template creation more clear

* add mail_delivery_job skeleton

* Add send mail job

* fix: consistent table order on queue overlap

* fix linter

* fix license header

* fix another license header

* fix: add confirmed_at as ISO8601 date into the result set

* add job for expiring commitments. Add TODOs

* Add short-term commitment detection and unit tests

* simplify key sorting for projectIDs

* fix typo in comment

* Add expiring mail job to collector task

* update unit test comments
update license headers to current year

* expiring: set date after db query error check concluded
add jitter to requery of failed mail deliveries

* Update internal/collector/expiring_commitments.go

Co-authored-by: Stefan Majewsky <stefan.majewsky@sap.com>

* Update internal/collector/expiring_commitments.go

Co-authored-by: Stefan Majewsky <stefan.majewsky@sap.com>

* rename expiring commit... (continued)

188 of 254 new or added lines in 10 files covered. (74.02%)

5747 of 7236 relevant lines covered (79.42%)

63.34 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
80.08
-0.4% internal/collector/capacity_scrape.go
4
90.0
internal/collector/mail_delivery.go
4
78.31
-1.43% internal/core/cluster.go
10
72.97
internal/core/mail.go
10
84.31
-1.4% internal/datamodel/confirm_project_commitments.go
18
80.0
internal/collector/expiring_commitments.go
18
0.0
internal/collector/mail_client.go
Jobs
ID Job ID Ran Files Coverage
1 13544013945.1 26 Feb 2025 12:37PM UTC 64
79.42
GitHub Action Run
Source Files on build 13544013945
  • Tree
  • List 64
  • Changed 21
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 7cc255c6 on github
  • Prev Build on master (#13449983363)
  • Next Build on master (#13548299773)
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