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

Netflix / genie / 3225 / 1
94%
master: 94%

Build:
DEFAULT BRANCH: master
Ran 25 Mar 2022 10:23PM UTC
Files 558
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

25 Mar 2022 09:45PM UTC coverage: 93.813% (+0.008%) from 93.805%
GRGIT_USER=[secure] NETFLIX_OSS_REPO_USERNAME=[secure] NETFLIX_OSS_REPO_PASSWORD=[secure] NETFLIX_OSS_SONATYPE_USERNAME=[secure] NETFLIX_OSS_SONATYPE_PASSWORD=[secure] NETFLIX_OSS_SIGNING_PASSWORD=[secure] NETFLIX_OSS_SIGNING_FILE_PASSWORD=[secure] DOCKER_USER=[secure] DOCKER_PASSWORD=[secure]

push

travis-ci-com

tgianos
Fix search by tag count queries for commands, clusters and applications

Searching by tags for these entites results in a query using `group by` and `having`. This was working fine for the actual
content queries but the count queries were getting messed up because it couldn't count the result properly as it was just
and array of 1's being return (counting the group size and all were one). It was actually the length of the result set we'd
have wanted for the total count. This wouldn't work though for the ones were tags weren't involved because that query doesn't
have a group by and a having.

This change modifies the count queries to instead of trying to count directly with the same where predicate it actually
counts the results of the real query as a subquery (all on database side so it doesn't return all the data). This way it
doesn't matter if there's a `group by` or not. Now the total results returned via the API in the `Page` object are correct and
pagination can continue properly.

13465 of 14353 relevant lines covered (93.81%)

0.94 hits per line

Source Files on job 3225.1 (GRGIT_USER=[secure] NETFLIX_OSS_REPO_USERNAME=[secure] NETFLIX_OSS_REPO_PASSWORD=[secure] NETFLIX_OSS_SONATYPE_USERNAME=[secure] NETFLIX_OSS_SONATYPE_PASSWORD=[secure] NETFLIX_OSS_SIGNING_PASSWORD=[secure] NETFLIX_OSS_SIGNING_FILE_PASSWORD=[secure] DOCKER_USER=[secure] DOCKER_PASSWORD=[secure])
  • Tree
  • List 0
  • Changed 5
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2943
  • Travis Job 3225.1
  • 807686ce on github
  • Prev Job for GRGIT_USER=[secure] NETFLIX_OSS_REPO_USERNAME=[secure] NETFLIX_OSS_REPO_PASSWORD=[secure] NETFLIX_OSS_SONATYPE_USERNAME=[secure] NETFLIX_OSS_SONATYPE_PASSWORD=[secure] NETFLIX_OSS_SIGNING_PASSWORD=[secure] NETFLIX_OSS_SIGNING_FILE_PASSWORD=[secure] DOCKER_USER=[secure] DOCKER_PASSWORD=[secure] on master (#3219.1)
  • Next Job for GRGIT_USER=[secure] NETFLIX_OSS_REPO_USERNAME=[secure] NETFLIX_OSS_REPO_PASSWORD=[secure] NETFLIX_OSS_SONATYPE_USERNAME=[secure] NETFLIX_OSS_SONATYPE_PASSWORD=[secure] NETFLIX_OSS_SIGNING_PASSWORD=[secure] NETFLIX_OSS_SIGNING_FILE_PASSWORD=[secure] DOCKER_USER=[secure] DOCKER_PASSWORD=[secure] on master (#3234.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