Проблема с производительностью Temporal UI при большой истории Workflow (20k+ событий) – нет ограничения загрузки
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 431
- Forks
- 179
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 71
Description
Describe the bug
При открытии Workflow с большой историей (например, 10 000+ событий) Temporal UI пытается загрузить всю историю через AJAX порциями по ~500 событий. Это приводит к:
- Сильным лагам интерфейса (браузер зависает во время загрузки).
- Плохому UX (нет возможности ограничить количество загружаемых записей).
To Reproduce
Steps to reproduce the behavior:
- Создать Workflow с длинной историей (10k+ событий).
- Открыть его в Temporal UI.
- Открыть вкладку Network в DevTools – будут видны множественные AJAX-запросы.
- Интерфейс будет тормозить, пока не загрузится вся история.
Expected behavior
- Пагинация или настройка лимита – Возможность загружать только последние N событий (например, 100 по умолчанию).
- Ленивая загрузка – Полная история подгружается только по требованию (кнопка "Загрузить всё").
Desktop:
- Version 2.37.2
** P.S. **
Если решение есть, то прошу прощения (подскажите, как остановить подгрузку всей истории - невозможно пользоваться страницей).
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.
Research direction
Start by reproducing the issue in Temporal UI with a Workflow history exceeding 10,000 events, then inspect the repeated Network requests made when opening the history tab. Determine the intended loading behavior and define completion against the reported lag, request volume, and ability to defer or limit history loading.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100