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_test_support
What it is
Belongs to local dev tooling: shared helpers for Rust local end-to-end tests — fixture loading, local JWTs, and local-only service URLs.
Start here
src/services.rs: standard local service URLs for therun_localstack; refuses non-local URLs so tests can't mutate shared dev services.src/jwt.rs: generates local Macro API JWTs viamacro_auth.src/config.rs: reads the xtask instance env file selected byLOCAL_E2E_ENV_FILE(falling back to.env), with process env overrides.src/fixtures.rs: loads fixture data fromtooling/seed_cli/seed.src/bin/generate_local_e2e_token.rs: standalone token-generation binary.
Scope
- Owns: test-only plumbing for the local E2E harness — never used in production services.
- Not here: the harness itself (
just local-e2e-rust) or stack startup/seeding — seecrates/integration_tests/local_e2e.
Boundaries
- Depends on:
macro_auth. - Used by:
crates/integration_tests/local_e2e, run only from ignored integration tests.
Recipes
- Override a service URL for a test:
LOCAL_E2E_<SERVICE>_URLenv var (local endpoints only — non-local values are rejected insrc/services.rs).
Checks
just local-e2e-rust(starts and seeds an isolated named stack first; do not run these tests directly without it).
Gotchas
- These tests mutate an isolated named stack, not shared dev data — don't bypass the harness and run them against a shared environment.
Related
- Docs:
docs/development/rust.md