Publish subgraphs to the GraphQL CDN and refresh the frontend client schema
--routing-url you publish is the one it uses. It must be reachable from the
dev router in carbyne-dev-eu-west-1. Which address form works (for example an
in-cluster service name or an internal load balancer) is not yet verified.@prepared911/data-gql vendors the composed client schema so code generation and
mocks do not depend on a running router. The normal refresh fetches the latest
valid schema from axonmundi/default:.env.wgc.example to the untracked .env.wgc file and load it:cosmo). Whether it signs in
with Okta, and whether the control plane needs the VPN, is not yet verified.
The dev router itself needs no VPN:pnpm schema:sync:check compares the committed copy without writing. It must
print matches Cosmo registry.pnpm schema:login is a personal login session. Do not run it for another
person or substitute a CI API key. Neither COSMO_API_URL nor COSMO_API_KEY
belongs in a local file you commit, a repository variable, or a log.pnpm schema:sync against the Cosmo
registry, as above. Do not sync axon911-frontend's schema from a local AxonMundi
checkout (AXONMUNDI_DIR) or a hand-picked file (SCHEMA_SOURCE), and never
edit packages/data-gql/src/schema.graphql by hand.Note for frontend developers: You do not need to run these commands or publish subgraphs. This section is for backend service owners.
*.graphqls) and exposes a GraphQL or gRPC
endpoint. Publishing uploads the schema, and an optional gRPC mapping, to the
registry, which tells the router to serve the subgraph.wgc from your service's repository. CI/CD comes
later. These steps are not yet verified end to end against the dev router.--routing-url:matches Cosmo registry:publish never changes an existing subgraph's URL or labels. Use
wgc subgraph update for that.wgc subgraph delete <name>-edfs -n default.