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

stacklok / minder / 9836221607
53%

Build:
DEFAULT BRANCH: main
Ran 08 Jul 2024 08:40AM UTC
Jobs 1
Files 209
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 Jul 2024 08:32AM UTC coverage: 52.204%. Remained the same
9836221607

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

Jobs
ID Job ID Ran Files Coverage
1 9836221607.1 08 Jul 2024 08:40AM UTC 0
52.2
GitHub Action Run
Source Files on build 9836221607
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #9836221607
  • 11c145f6 on github
  • Prev Build on main (#9835542514)
  • Next Build on main (#9842148893)
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