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

stacklok / minder / 11230884732
53%

Build:
DEFAULT BRANCH: main
Ran 08 Oct 2024 07:54AM UTC
Jobs 1
Files 266
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

08 Oct 2024 07:45AM UTC coverage: 53.235% (+0.009%) from 53.226%
11230884732

push

github

web-flow
Really fix PR origination (#4673)

* Really fix PR origination

There were several bugs in PR origination that were addressed:

* The legacy origination was hardcoded to use GitHub values. This uses
  the per-provider function so we can get the needed info in a general
  way.

* We were using the `RetrieveAllProperties` function to try to persist
  the new entity's properties, while we could have just used the
  `SaveAllProperties` call from the properties service. This actually
  persists as opposed to passing by the more complicated logic.

* We were passing in the incoming properties to persist as opposed to
  the recently retrieved properties. This didn't store the whole view of
  the originated PR, and so we were unable to delete it later on.

Finally, in addition to these changes, we also now don't fail on
deleting and storing legacy entities since newer entities might not need
to do this. Thus, if no legacy entity is created, we instantiate a new
UUID.

Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>

* Fix unit tests

Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>

---------

Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>

25 of 44 new or added lines in 2 files covered. (56.82%)

14644 of 27508 relevant lines covered (53.24%)

41.31 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
6
70.67
0.67% internal/entities/handlers/strategies/entity/del_originating_entity.go
13
57.72
-1.5% internal/entities/handlers/strategies/entity/add_originating_entity.go
Jobs
ID Job ID Ran Files Coverage
1 11230884732.1 08 Oct 2024 07:54AM UTC 266
53.24
GitHub Action Run
Source Files on build 11230884732
  • Tree
  • List 266
  • Changed 13
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #11230884732
  • d537597a on github
  • Prev Build on main (#11230535081)
  • Next Build on main (#11231867097)
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