mirror of
https://github.com/andrewyng/openworker.git
synced 2026-11-20 20:37:44 +00:00
Allow developers to easily build AI apps without worrying about the harness part. Bundles the Rust agent runtime as a SDK (Rust and TypeScript) for building desktop and web applications. Applications can manage a local harness or connect to an authenticated harness service on k8s with separately scaled workers and sandbox execution. The implementation is primarily contained in harness/, with deployment tooling in deploy/, Markdown guides in docs/harness/guides/, and the static documentation site in docs-site/. It does not replace the existing Python harness or migrate OpenWorker Desktop. Co-authored-by: Devika Verma <devikaverma11@gmail.com>
15 lines
609 B
Rust
15 lines
609 B
Rust
#[path = "../../tests/team_domain_contract.rs"]
|
|
mod contract;
|
|
#[test]
|
|
#[ignore = "requires isolated OW_PG_TEST_URL"]
|
|
fn postgres_shared_team_domain_contract() {
|
|
let mut config = openworker_store_postgres::Config::new(
|
|
std::env::var("OW_PG_TEST_URL").unwrap(),
|
|
format!("ow_contract_{}", uuid::Uuid::new_v4().simple()),
|
|
);
|
|
config.tls = openworker_store_postgres::Tls::LoopbackPlaintext;
|
|
openworker_store_postgres::PostgresStore::migrate(&config).unwrap();
|
|
let mut store = openworker_store_postgres::PostgresStore::open(config).unwrap();
|
|
contract::exercise(&mut store);
|
|
}
|