oso icon indicating copy to clipboard operation
oso copied to clipboard

Bug: `failed to fetch` warnings for defillama protocols don't appear in logs

Open ccerv1 opened this issue 3 months ago • 1 comments

When an adapter is invalid or missing, we expect a warning in logs:

https://github.com/opensource-observer/oso/blob/main/warehouse/oso_dagster/assets/default/defillama.py#L98

However, this run should have left such a warning that the protocol adapters for Morpho were missing. (Morpho renamed all its adapters last week.) I was not able to find anything in the dagster logs that suggested some protocol adapters were no longer valid for Morpho.

Separately, we should come up with a better way of handling these types of changes. Perhaps we should be upserting instead of dropping and rewriting these event tables? Then at the very least we will still have "old" data when an adapter changes names…

ccerv1 avatar Oct 15 '25 22:10 ccerv1

OSO-1158

linear[bot] avatar Oct 15 '25 22:10 linear[bot]