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

spiffe / spire / 7055 / 2
79%
master: 79%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 06 May 2021 08:23PM UTC
Files 301
Run time 54s
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

06 May 2021 08:10PM UTC coverage: 78.975% (+0.06%) from 78.918%
7055.2

push

travis-ci-com

web-flow
Backport fix node selector query split-response to 0.12 (#2242) (#2245)

The DataStore query that returns the list of agent node selectors is currently sorted by row ID, which under certain circumstances can cause it to split the selectors for a given agent ID into more than one entry in the aggregated results. The only caller is the full entry cache, which does not handle this well, which can cause agents to not be associated with a node alias whose selectors end up spanning these splits.

This change fixes the query to order by SPIFFE ID instead of row ID so that the selectors for a given agent are grouped together and returned in a single entry in the aggregated results.

It also aggregates the results differently such that the order does not matter for correctness so that the code is resilient against a similar bug in the future.

Co-Authored-By: Andrew Harding <aharding@vmware.com>
Signed-off-by: Jonathan Oddy <jonathan.oddy@transferwise.com>

24378 of 30868 relevant lines covered (78.97%)

17.18 hits per line

Source Files on job 7055.2
  • Tree
  • List 0
  • Changed 17
  • Source Changed 1
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 629829660
  • Travis Job 7055.2
  • ecb3075f on github
  • Prev Job for on v0.12 (#6930.3)
  • Next Job for on v0.12 (#7065.3)
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