Skip to content

Error handling for backend failures #27

Description

@konstpieper

On the new intersect-sdk="0.90", we now sometimes get error messages:
b"Service domain logic threw explicit exception:\nCouldn't update workflow with new data for workflow 'id'".

This is usually caused by incomplete input validation for Messages, particularly kernel_args, and backend_args, which have almost no pydantic validation. The highest priority would be IMO to further standardize the common arguments, and validate them. But in practice there may still be cases where that is not enough.

Questions:

  • what exception stack traces should be returned
  • what exception stack traces should NOT be returned
  • whether or not we want to configure this such that the Service can send exception stack traces if a configuration "debug" flag is enabled, and not send them if it isn't

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions