discord_response: typing indicator + periodic progress updates (delta from #234) #272
Labels
No labels
blocked:children
blocked:commit-ready-failed
blocked:depends-231
blocked:depends-236
blocked:depends-237
blocked:depends-238
blocked:depends-239
blocked:gate-fetch
blocked:gate-fetch
blocked:gate-lint
blocked:gate-research
blocked:needs-attention
blocked:needs-decision
blocked:no-changes
blocked:no-procedure
blocked:preflight
blocked:verify-failed
bug
enhancement
feature-request
high-priority
in-progress
lint-cleanup
needs-decompose
needs-triage
ops-retry
ops-task
phase-5
quickfix
security/medium
self-building
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/mesh-seed#272
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #234 (Response Delivery) — delta for the typing-indicator acceptance that did not land in commit
5a1d111(feat(#234): add Discord response delivery formatter).Source: kanban card t_61a72dbc (decomposed from #234 Phase 4, "Add typing indicator with periodic progress updates").
While a mesh intent is processing, the bot must post a Discord typing indicator on the originating channel and emit periodic progress messages (e.g. every 5s or on phase change: 'parsing…', 'calling tool X…', 'finalizing…'). Typing indicator must refresh as long as work is in flight and stop cleanly on completion or error. API shape: a context manager / async wrapper — async with progress(channel, task_id): await do_work().
Acceptance not met by landed code (runtime/discord_response.py):
Existing baseline: pytest tests/unit/test_discord_response.py -> 13 passed, ruff check clean. Deliverable files: runtime/discord_response.py (amend), docker/discord_bot.py (amend), tests/unit/test_discord_response.py (amend or new tests/unit/test_discord_progress.py).