Skip to content

bugfix: Show slow response copy after one minute without new stream content - #1187

Merged
sajal-truefoundry merged 1 commit into
mainfrom
bugfix/hv/fix-delay-warning-appearing-while-the-agent-is-working
Oct 27, 2026
Merged

sajal-truefoundry merged 1 commit into
mainfrom
bugfix/hv/fix-delay-warning-appearing-while-the-agent-is-working

Conversation

@harshil-2096

@harshil-2096 harshil-2096 commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Closes AGE-2643

Changes

How was this tested?

Checklist

  • I have read the contributing guidelines
  • pnpm build, pnpm test, pnpm typecheck, pnpm lint:ci, and pnpm format:check pass locally
  • Tests added/updated where it makes sense
  • No hand-edits to generated code (packages/trueforge-sdk, python/trueforge_sdk, .github/fern/openapi/openapi.json, docs/openapi.json) — fork PRs omit SDK regen; maintainers regenerate after merge
  • Docs / .env.example updated if configuration or behavior changed

Note

Low Risk
UI-only loader timing and label logic in trueforge-ui; behavior is covered by updated unit tests.

Overview
Fixes premature "Taking longer than expected" on the assistant message loader during long but active streams.

The slow threshold moves from 10s to 60s, and the timer now tracks stream progress via a new loaderActivityProgress fingerprint (reasoning text length, tool argsText length). useSlowActivityLabel resets its clock when that fingerprint changes, so incremental reasoning or tool-argument updates keep the normal working label until one minute without new content. AssistantMessageContainer passes progressKey alongside the existing activity key.

Reviewed by Cursor Bugbot for commit 0e619f4. Bugbot is set up for automated code reviews on this repo. Configure here.

@changeset-bot

changeset-bot Bot commented Oct 27, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0e619f4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@truefoundry/trueforge-ui Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@harshil-2096 harshil-2096 changed the title bugfix: Show slow response loader after one minute without new stream content bugfix: Show slow response copy after one minute without new stream content Oct 27, 2026
@sajal-truefoundry
sajal-truefoundry merged commit ef6f332 into main Oct 27, 2026
14 checks passed
@sajal-truefoundry
sajal-truefoundry deleted the bugfix/hv/fix-delay-warning-appearing-while-the-agent-is-working branch October 27, 2026 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants