Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CoVE sentry errors in kingfisher process #301

Closed
duncandewhurst opened this issue Jun 29, 2020 · 6 comments
Closed

CoVE sentry errors in kingfisher process #301

duncandewhurst opened this issue Jun 29, 2020 · 6 comments

Comments

@duncandewhurst
Copy link

duncandewhurst commented Jun 29, 2020

CoVE fails when a definition in an extension cannot be dereferenced (see https://github.com/OpenDataServices/cove/issues/1286). This means the CoVE checks don't run, so from an analyst's perspective, it looks like there are no issues with the data.

According to CRM issue #6128#note-21 Sentry reports the error.

Can this type of error be captured in kingfisher-process? Or can some documentation be authored to explain how analysts should check for this type of error?

@duncandewhurst
Copy link
Author

Another example of a similar issue which causes to CoVE to fail: OpenDataServices/cove#1287

I'm not sure how this one is reported in Sentry.

@duncandewhurst
Copy link
Author

@Bjwebb
Copy link

Bjwebb commented Jun 30, 2020

Links to Sentry issues:
Dereferencing (RefResolutionError): KINGFISHER-PROCESS-6D
Null in parties array (TypeError argument of type 'NoneType' is not iterable): KINGFISHER-PROCESS-6E

@ghost
Copy link

ghost commented Jul 7, 2020

We already have 2 tables in the database, record_check_error and release_check_error.

However, entries are only written to these if lib-cove crashes with an special APIException error. https://github.com/open-contracting/kingfisher-process/blob/master/ocdskingfisherprocess/checks.py#L188

It seems like this is a 2 parter here:

  • change _check_release_row and _check_record_row to catch any Python Exception
  • make sure record_check_error and release_check_error are documented somewhere for analysts properly.

@jpmckinney
Copy link
Member

If we're going to edit that code, we might want to do #242 at the same time.

@ghost
Copy link

ghost commented Aug 10, 2020

Live and seen working, analysts told of new docs page

@ghost ghost closed this as completed Aug 10, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants