Generate workflow
- Fetch schema
Use the appropriate auth mode. Preferschema.introspection.json
, butschema.graphql
works. - (Optional) Fetch resolvers
IAM-only command. Parses endpoint → apiId/region; prompts for profile/region. - Build contexts
Writes:contexts/<Parent>.<field>/operation.graphql
contexts/<Parent>.<field>/operation.sdl.graphql
contexts/<Parent>.<field>/context.json
(includesreturnTree
)contexts/<Parent>.<field>/resolver/
(copied if harvested)- Ensures
contexts/_shared/pytest/
scaffold (graphql_client.py
,conftest_shared.py
)
- Generate test plans
LLM producesplan.json
. We validate scenario GQL against pruned SDL; invalid is replaced with canonical op doc and annotated. - Materialize tests
Writes runnable tests (Pytest/Jest) into the configured output root.
Not seeing deep fields in
returnTree
? Bump:
selectionDepth
maxFieldsPerLevel
returnTreeDepth
returnTreeMaxFields