P1: bob bot uses obsolete subscription argument
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 50/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- graphql, python
- Domain
- backend-api-design
Research direction
Start with flexus_client_kit/ckit_ask_model.py:87-120 and the subscription setup in ckit_bot_exec.py, especially subscribe_and_produce_callbacks. Compare the client subscription shape with the backend schema, then verify that flexus-pod-bot-bob-30005-rx no longer exits with the unknown-argument error or enters CrashLoopBackOff.
Written by the indexing model from the issue text.
Description
Original Logs
20260504 14:49:40.392 fclnt [INFO] FlexusClient service_name=bob_30005_r_ api_key=None http://backend-v1-service.flexus.svc/v1/jailed-bot
20260504 14:49:40.393 stexe [INFO] Connecting ws://backend-v1-service.flexus.svc/v1/jailed-bot
20260504 14:49:40.462 btexe [ERROR] 🛑 That looks bad, my key doesn't work: {'message': "403: Whoops your key didn't work (2).", 'locations': [{'line': 2, 'column': 3}], 'path': ['bot_confirm_exists']}
20260504 14:51:40.622 stexe [ERROR] 🛑 3 exceptions in 5 min, exiting
gql.transport.exceptions.TransportQueryError: {'message': "Unknown argument 'want_emsg_types' on field 'Subscription.bot_threads_calls_tasks'. Did you mean 'want_erp_tables' or 'want_messages'?", 'locations': [{'line': 12, 'column': 5}]}
Error Summary
The bob bot pod flexus-pod-bot-bob-30005-rx in isolated is in CrashLoopBackOff. It repeatedly reconnects to the backend, but the subscription fails because the GraphQL schema no longer accepts want_emsg_types on Subscription.bot_threads_calls_tasks.
Stacktrace
gql.transport.exceptions.TransportQueryError: {'message': "Unknown argument 'want_emsg_types' on field 'Subscription.bot_threads_calls_tasks'. Did you mean 'want_erp_tables' or 'want_messages'?", 'locations': [{'line': 12, 'column': 5}]}
Root Cause
- File:
flexus_client_kit/ckit_ask_model.py:87-120 - Function: subscription setup in
ckit_bot_exec.py/subscribe_and_produce_callbacks - Why: the bot image is sending a stale GraphQL subscription shape that still includes
want_emsg_types, but the backend schema only exposeswant_messages/want_erp_tablesnow. This is a code/package mismatch and causes the bot to exit after repeated transport errors. - Git blame: manual inspection only; the failing line is in the deployed client-kit image, not a cluster issue.
Affected
- Pods:
flexus-pod-bot-bob-30005-rx - Namespace:
isolated - Occurrences: repeated every restart
- Dominant language
- Python
- Stars
- 6
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from smallcloudai/flexus-client-kit
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
smallcloudai/flexus-client-kit#366 · 1 comment ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
smallcloudai/flexus-client-kit#327 · 1 comment ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
smallcloudai/flexus-client-kit#307 · 7 comments ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
All issues in smallcloudai/flexus-client-kit
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100