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

stacklok / minder / 9836221607 / 1
53%
main: 53%

Build:
DEFAULT BRANCH: main
Ran 08 Jul 2024 08:40AM UTC
Files 209
Run time 4s
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 Jul 2024 08:32AM UTC coverage: 52.204%. Remained the same
9836221607.1

push

github

web-flow
Extend the Profile List database calls to include selectors (#3786)

* Extend the Profile List database calls to include selectors

Since the profile selectors need to be included when listing profiles,
we need to extend the two profile list calls to list selectors as well.

Because the selectors are stored in a different table, but we still need to
retrieve them in the same Go struct defined in models, we define a new SQL
type in a migration that represents the selectors and tell sqlc to use it in
sqlc.yaml.

This new Go struct needs a Scan method as well to convert raw SQL rows
into structs as well.

Fixes: #3721

Co-authored-by: Michelangelo Mori <mmori@stacklok.com>

* Take review suggestions into account

https://github.com/stacklok/minder/pull/3786#discussion_r1667350621

Co-authored-by: Michelangelo Mori <mmori@stacklok.com>

---------

Co-authored-by: Michelangelo Mori <mmori@stacklok.com>

11087 of 21238 relevant lines covered (52.2%)

49.69 hits per line

Source Files on job 9836221607.1
  • Tree
  • List 0
  • Changed 10
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 9836221607
  • 11c145f6 on github
  • Prev Job for on main (#9835542514.1)
  • Next Job for on main (#9842148893.1)
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