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

SwissDataScienceCenter / renku-data-services / 15156128451 / 1
86%
main: 86%

Build:
DEFAULT BRANCH: main
Ran 21 May 2025 07:44AM UTC
Files 355
Run time 8s
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

21 May 2025 07:26AM UTC coverage: 86.643%. First build
15156128451.1

push

github

web-flow
fix: Fix entity namespace in search documents (#845)

* Fix entity namespace in search documents
* Change solr documents to carry namespace and path

This is necessary to disambiguate living inside a namespace and being
a namespace. The entity tree is build like this:

- Projects always have a namespace (are never top-level), and they may act
  as a namespace for data connectors
- Groups never have a namespace (are not nested, always top-level),
  they are a namespace for projects and data connectors
- Users never have a namespace (always top-level), they are a
  namespace for projects and data connectors
- DataConnectors *may* have a namespace (are either in a group or
  project, or top-level), they don't act as a namespace for other
  things

In order to resolve namespaces it must be reliably found in the solr
documents, which are flat. It requires a globally unique key. The data
services doesn't carry the internal unique id (ulid or uuid), but the
"path". The path to an entity is always defined and is either
its *slug* (if top-level) or consists of the path of its namespace and
its slug. For resolving namespaces the path can be used and is now
added to each document.

The namespace field is removed. The field `isNamespace` is added with
a static value of `true` to those entities that may act like a
namespace. It is not strictly required but is an extra safety net when
resolving.

* Fixing solr query translation to use the new path field

* Update flake with correct rclone and fix pg dev command

* Adopt search api spec to consistent path/slug

The `namespace` field will now always be an object to the resolved
namespace entity. The `path` field contains the full identifier and
the `slug` the last element.

* Fix decoding data connectors with project namespace

* Fix tests

21672 of 25013 relevant lines covered (86.64%)

0.87 hits per line

Source Files on job run-main-tests - 15156128451.1
  • Tree
  • List 355
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 15156128451
  • 1bb3fac9 on github
  • Next Job for on main (#15156745112.2)
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