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

aserto-dev / topaz / 10257580020
0%

Build:
DEFAULT BRANCH: main
Ran 05 Aug 2024 11:39PM UTC
Jobs 1
Files 69
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

05 Aug 2024 11:34PM UTC coverage: 28.352% (-0.1%) from 28.48%
10257580020

push

github

web-flow
Import status (#437)

This PR adds import status feedback to topaz ds import and topaz ds restore.

The Importer service will return an ImportStatus message when a content or model validation error occurs in the return stream to the import client.

For example:

```
❯ topaz ds import -i -d ./assets/acmecorp

>>> importing data from ./assets/acmecorp
error     : "object.id" cannot contain any spaces or other whitespace characters - InvalidArgument (3)
error     : "uses": object type not found - NotFound (5)
error     : "user:managers": relation not found - NotFound (5)
error     : "users": object type not found - NotFound (5)
error     : "relation.relation" must be all lowercase, start with a letter, can contain letters, digits, dots, underscores, and dashes, and must end with a letter or digit - InvalidArgument (3)
error     : "relation.object_type" must be all lowercase, start with a letter, can contain letters, digits, dots, underscores, and dashes, and must end with a letter or digit - InvalidArgument (3)
error     : "relation.relation" must be all lowercase, start with a letter, can contain letters, digits, dots, underscores, and dashes, and must end with a letter or digit - InvalidArgument (3)
error     : "relation.subject_type" must be all lowercase, start with a letter, can contain letters, digits, dots, underscores, and dashes, and must end with a letter or digit - InvalidArgument (3)
error     : "groups": object type not found - NotFound (5)
error     : "groups": object type not found - NotFound (5)
error     : "groups": object type not found - NotFound (5)
objects   : 839 (set:837 delete:0 error:2)
relations : 1905 (set:1896 delete:0 error:9)
```

Content validation errors appear as an `InvalidArgument` (status code 3) error describing the specific failed validation condition.

Model validation errors appear as a `NotFound` (status code 5) error with a description detailing the object or relation type not found in ... (continued)

1326 of 4677 relevant lines covered (28.35%)

0.31 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
6
76.27
-10.17% pkg/cli/cc/ports.go
Jobs
ID Job ID Ran Files Coverage
1 10257580020.1 05 Aug 2024 11:39PM UTC 69
28.35
GitHub Action Run
Source Files on build 10257580020
  • Tree
  • List 69
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f2cdd40d on github
  • Prev Build on main (#10181919497)
  • Next Build on main (#10269668518)
  • Delete
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