Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(artifacts): include card error in status assertion

Steven Enamakel22f8ba0b07c9
diff --git a/crates/openhuman-core/src/artifacts/production_tests.rs b/crates/openhuman-core/src/artifacts/production_tests.rs
index 68884f142a..0cd1605107 100644
--- a/crates/openhuman-core/src/artifacts/production_tests.rs
+++ b/crates/openhuman-core/src/artifacts/production_tests.rs
@@ -80,7 +80,7 @@ async fn a_new_artifact_shares_one_id_and_one_file_between_card_and_record() {
production.complete().await.unwrap();
let card = get_artifact(&workspace, &id).await.unwrap();
- assert_eq!(card.status, CardStatus::Ready);
+ assert_eq!(card.status, CardStatus::Ready, "card error: {:?}", card.error);
assert_eq!(card.size_bytes, 7);
let record = versioned_store(&workspace).get(&id).await.unwrap().unwrap();
assert_eq!(record.status, RecordStatus::Ready);