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

goto / guardian / 9363229725
66%

Build:
DEFAULT BRANCH: main
Ran 04 Jun 2024 07:50AM UTC
Jobs 1
Files 94
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

04 Jun 2024 07:47AM UTC coverage: 74.781% (-0.3%) from 75.064%
9363229725

push

github

web-flow
feat(grant): add restore grant API (#125)

* feat(grant): add restore grant API

* chore: restore flow update

* chore: add proto

* chore: remove expiration date validation

* chore: fix make command docs

* chore: add related columns and db migration

* chore: update grant restoration logic

* chore: update proto adapter

* fix: fix grant expiration check

* chore: add duration option

* chore: add expiration_date_reason in grant proto

* chore: handle permanent new duration

* chore: add duration into audit log

* refactor: move restore logic to domain

* fix: revert adding duration option to restore grant

* chore: update migration version

* chore: change http method to PUT

* chore: make reason required

* chore: handle not found error http status

* test: test grantService.Restore

* chore: add additional checking for isExpired

* chore: store audit log concurrently

* fix: rollback grant record if restoring failed

* refactor: refactor parsing string from sql.NullString

* refactor: enhance error handling for grant.Restore

* chore: update db migration file

---------

Co-authored-by: Muhammad Idil Haq Amir <idil.amir@tokopedia.com>

41 of 115 new or added lines in 4 files covered. (35.65%)

9996 of 13367 relevant lines covered (74.78%)

4.89 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
82.55
-0.22% core/grant/service.go
21
51.58
-5.42% api/handler/v1beta1/grant.go
23
0.0
0.0% domain/grant.go
24
74.83
-0.66% api/handler/v1beta1/adapter.go
Jobs
ID Job ID Ran Files Coverage
1 9363229725.1 04 Jun 2024 07:49AM UTC 94
74.78
GitHub Action Run
Source Files on build 9363229725
  • Tree
  • List 94
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8b1dde52 on github
  • Prev Build on main (#9363017926)
  • Next Build on main (#9363233973)
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

© 2025 Coveralls, Inc