DynamoDB Checkpoint Saver failing 'list' tests #1567
Replies: 1 comment 2 replies
-
Apologies, it's been a little while since I wrote those tests, but I did my best to make them into as complete of a black-box validation suite as possible. That said, the list tests (which appear to be the tests that are failing for you) are written to test the Also the list tests are somewhat pesky to understand, as they're combinatorial tests. In order to understand what the test failure is actually describing you'll need to look at the pre-populated checkpoint data in the test setup and walk through the test logic to determine what the expected result should be. From memory, I believe the list method is intended to treat each input parameter (e.g. Finally, bear in mind that for some datastores a fully complete (according to the validation suite) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on a dynamodb Checkpoint saver for langgraph JS. Plan to open source it - once its working properly. At the moment its still directly coded in NestJs so any interested parties not using NestJS would need to unpick that (not difficult - mainly swap out the dynamoose implementation if your not already using it with plain dynamodb sdk)
I'm having an issue resolve the last couple of tests supplied from the excellent checkpoint-validation module.
I've put my current code and test implementation here https://gist.github.com/arcticShadow/58c813c5047f7926126a8008eaec5a55
When i run my test - i'm getting a hand full of issues (28 to be exact) that all follow the same problem:
I've debugged quite deep into this - and I can see in the datastore - only 1 record is being persisted that matches the query conditions.
So my question then:
@benjamincburns I've seen your involvement in the checkpointer validation library - potentially you may have some insights here.
Beta Was this translation helpful? Give feedback.
All reactions