Skip to content

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

chore(ci): allow fixture generators in storage bypass reasons

Steven Enamakel1818b7c08ec2
diff --git a/scripts/ci/storage-bypass-allow-reasons.json b/scripts/ci/storage-bypass-allow-reasons.json
index a808eb3f63..c1f61bcca0 100644
--- a/scripts/ci/storage-bypass-allow-reasons.json
+++ b/scripts/ci/storage-bypass-allow-reasons.json
@@ -48,6 +48,27 @@
"reason": "the storage importer's read-only reader of a legacy database, opened on a scratch copy of it (never the real file) to bring older installs' rows into the backend",
"issue": "https://github.com/tinyhumansai/openhuman/issues/7430"
},
+ {
+ "path": "vendor/tinyagents/crates/tinyagents-tasks/src/storage/fixtures/generate-31cc.rs",
+ "rule": "json-write",
+ "site": "std::fs::write(output, serde_json::to_vec_pretty(&collections).unwrap()).unwrap();",
+ "reason": "this maintainer fixture generator writes a checked-in TSD schema snapshot to its explicit output path; it does not persist runtime task state",
+ "issue": "https://github.com/tinyhumansai/openhuman/issues/8131"
+ },
+ {
+ "path": "vendor/tinyagents/crates/tinyagents-tasks/src/storage/fixtures/generate-v2.9.1.rs",
+ "rule": "json-write",
+ "site": "std::fs::write(output, serde_json::to_vec_pretty(&collections).unwrap()).unwrap();",
+ "reason": "this maintainer fixture generator writes a checked-in TSD schema snapshot to its explicit output path; it does not persist runtime task state",
+ "issue": "https://github.com/tinyhumansai/openhuman/issues/8131"
+ },
+ {
+ "path": "vendor/tinyagents/crates/tinyagents-session/src/run_ledger/drivers/fixtures/generate-31cc.rs",
+ "rule": "json-write",
+ "site": "std::fs::write(output, serde_json::to_vec_pretty(&collections).unwrap()).unwrap();",
+ "reason": "this maintainer fixture generator writes a checked-in TSD schema snapshot to its explicit output path; it does not persist runtime session state",
+ "issue": "https://github.com/tinyhumansai/openhuman/issues/8131"
+ },
{
"path": "crates/openhuman-core/src/desktop/control/ops.rs",
"rule": "json-write",
diff --git a/tests/storage_legacy_profile_boot_e2e.rs b/tests/storage_legacy_profile_boot_e2e.rs
index df04862663..ea1fefbd75 100644
--- a/tests/storage_legacy_profile_boot_e2e.rs
+++ b/tests/storage_legacy_profile_boot_e2e.rs
@@ -180,15 +180,15 @@ fn desktop_boot_reads_a_preserved_existing_v1_profile_database() {
})
.unwrap();
let local_scope = openhuman_core::storage::Scope::local();
- let local_storage = inspect_backend.for_scope(&local_scope).unwrap();
for collection in [
"approvals",
"approvals.requests",
"flows_definitions",
"flows.definitions",
] {
- let rows = openhuman_core::storage::block_on(async {
- local_storage
+ let scoped = inspect_backend.for_scope(&local_scope).unwrap();
+ let rows = openhuman_core::storage::block_on(async move {
+ scoped
.documents()
.query_all(collection, &tinystoragedrivers::Query::all())
.await