Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
local_e2e (crates/integration_tests/local_e2e)
What it is
Belongs to local dev tooling: end-to-end Rust tests
(local_e2e_integration_tests package) that run against an isolated local
stack started through the xtask local orchestrator, seeded with the same
fixtures seed_cli and Playwright use.
Start here
README.md: how to run tests against a fresh or already-running stack, and which env vars they read (LOCAL_E2E_DATABASE_URL,LOCAL_E2E_DOCUMENT_STORAGE_URL).tests/: one file per scenario (bot_entity_access.rs,channel_mutations.rs,channel_websocket.rs).tests/support/: shared HTTP and websocket helpers.src/lib.rs: thin — most logic lives undertests/.
Scope
- Owns: full-stack Rust integration tests that need a running local stack (Postgres, DSS, gateway).
- Not here: unit/integration tests scoped to one crate — those live beside their crate.
Recipes
- Add a scenario:
tests/<name>.rs→ reusetests/support/http.rs/websocket.rsfor requests.
Checks
just local-e2e-rustruns the full suite against a fresh isolated stack.nix develop --command cargo test -p local_e2e_integration_tests --test <name> --no-runcompiles a single test without requiring the stack.nix develop --command cargo test -p local_e2e_integration_tests --test <name> -- --ignored --nocaptureruns it against an already-running stack. Tests are#[ignore]d so normal workspace runs skip them.
Related
- Docs:
docs/development/running-locally.md