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
xtask_graphql_schema_compat
What it is
cargo x graphql-schema-compat: the CI guard that stops a GraphQL schema change
from breaking deployed clients (App Store bundles, cached tabs, desktop OTA
bundles), which keep sending old documents for weeks.
Start here
src/lib.rs: what counts as breaking, and theRemove after YYYY-MM-DDmarker that allows a removal once its date passes.src/main.rs: compares the working-treestatic_assets/schema.graphqlwith the schema atgit merge-base <base> HEAD.
Checks
cargo test -p xtask_graphql_schema_compatcargo x graphql-schema-compat(fetchorigin/mainfirst)
Gotchas
- Variance is directional: output fields may only narrow (nullable to non-null),
inputs may only widen. Don't flip
is_assignable_toarguments. - Types carry the marker in their description because GraphQL cannot deprecate a type; descriptions wrap, so the parser collapses whitespace.
Related
- Docs:
docs/guides/add-graphql-field.mdstep 8 - CI:
graphql-schema-compatjob intooling/xtask/crates/xtask_workflows/src/workflows/code_check_cloud_storage.rs