PostHog / PostHog/posthog

feat(phai): Show intermediate progress updates during long-running tool executions

Open
#55,862 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement feature/posthog-ai team/posthog-ai
Dominant language
Python
Stars
39.9k
Forks
3.4k
Avg merge
6h 51m
Merged PRs (30d)
232

Description

Feature request

Is your feature request related to a problem?

During long-running tool executions (e.g., "writing a sql query"), the UI shows a static message with no progress detail. Users can't tell if the process is stuck, failed, or still working.

Describe the solution you'd like

Show intermediate subtask updates during execution, e.g., "drafting initial query…", "updating CTEs…", "checking for performance issues…", so users have visibility into progress.

Describe alternatives you've considered

  • An elapsed-time indicator so users can gauge how long the task has been running.
  • An expandable log section for optional detailed step visibility.
  • A timeout warning if a task runs longer than expected.

Additional context

Raised by @raquelmsmith

Debug info

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or entry points are named. Start by locating the PHai UI for long-running tool executions and the code that renders the current static status message; then inspect nearby tests and existing progress-event handling. Done means users can see useful intermediate updates while an execution is running, with coverage for the displayed states.

Written by the indexing model from the issue text.

Assessment

Tech stack
react
Domain
ai, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.