You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@texera.apache.org by "aglinxinyuan (via GitHub)" <gi...@apache.org> on 2026/09/19 23:46:40 UTC
[PR] chore(frontend): remove the unused scroll-to-step request stream [texera]
aglinxinyuan opened a new pull request, #8613:
URL: https://github.com/apache/texera/pull/8613
### What changes were proposed in this PR?
Removes `AgentService`'s scroll-to-step request stream, which can never fire. Pure deletion, no behaviour change: **−74 lines**.
The chain exists end to end but has no trigger: `requestScrollToStep()` is the only producer and nothing calls it, so `scrollToStepSubject` never emits, the `agent-chat` subscriber never runs, and the private `scrollToStep()` it dispatches to is unreachable.
```
(no caller) -> requestScrollToStep() -> scrollToStepSubject -> agent-chat subscriber -> scrollToStep()
^ the chain starts here and nothing ever enters it
```
### History
| | |
| --- | --- |
| **Introduced by** | #4495 (2026-04-27) — "feat(agent-service): add `agent-service` that manages LLM agents", which shipped the whole chain at once |
| **Usage removed by** | **never wired up** — no file outside `agent.service.ts` has called `requestScrollToStep` at any point in the history, and no UI control invokes it |
> Reviewer note: the sibling `showPortShapes$` stream in the same "canvas annotation state" block **is** live and is untouched; only the scroll-to-step members and the section comment's mention of them change. `scrollToMessage` and `setHoveredMessage`, which the dead handler called, both keep other callers.
### Any related issues, documentation, discussions?
Closes #8610
### How was this PR tested?
Existing tests only — this PR removes code and the tests that covered it.
From `frontend/`:
- `npx ng test --watch=false --include='**/agent.service.spec.ts' --include='**/agent-chat.component.spec.ts' --include='**/agent-panel.component.spec.ts'` — 193 tests pass across the three files.
- `yarn --cwd frontend format:ci` — clean.
Verification, re-runnable by a reviewer:
```
git grep -nF 'scrollToStep$' # use -F: a trailing $ is a regex anchor
git grep -n requestScrollToStep
```
### Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Claude Opus 5)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore(frontend): remove the unused scroll-to-step request stream [texera]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #8613:
URL: https://github.com/apache/texera/pull/8613#issuecomment-5746201436
<!-- texera-reviewer-suggestion -->
### Automated Reviewer Suggestions
Based on the `git blame` history of the changed files, we recommend the following reviewers:
- **Contributors with relevant context:** `@mengw15`, `@Yicong-Huang`
You can notify them by mentioning `@mengw15`, `@Yicong-Huang` in a comment.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore(frontend): remove the unused scroll-to-step request stream [texera]
Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #8613:
URL: https://github.com/apache/texera/pull/8613#issuecomment-5746241830
## [Codecov](https://app.codecov.io/gh/apache/texera/pull/8613?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 92.77%. Comparing base ([`957b6c9`](https://app.codecov.io/gh/apache/texera/commit/957b6c965640c07ace034eb9edcae53ef974324a?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`53b65a5`](https://app.codecov.io/gh/apache/texera/commit/53b65a5ae76708c8d610982c75b3fbdff40257dd?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
<details><summary>Additional details and impacted files</summary>
```diff
@@ Coverage Diff @@
## main #8613 +/- ##
============================================
- Coverage 92.78% 92.77% -0.01%
Complexity 4902 4902
============================================
Files 1236 1236
Lines 52165 52155 -10
Branches 6411 6409 -2
============================================
- Hits 48402 48389 -13
- Misses 2191 2196 +5
+ Partials 1572 1570 -2
```
| [Flag](https://app.codecov.io/gh/apache/texera/pull/8613/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | | *Carryforward flag |
|---|---|---|---|
| [access-control-service](https://app.codecov.io/gh/apache/texera/pull/8613/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `71.78% <ø> (ø)` | | Carriedforward from [957b6c9](https://app.codecov.io/gh/apache/texera/commit/957b6c965640c07ace034eb9edcae53ef974324a?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [agent-service](https://app.codecov.io/gh/apache/texera/pull/8613/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `99.16% <ø> (ø)` | | Carriedforward from [957b6c9](https://app.codecov.io/gh/apache/texera/commit/957b6c965640c07ace034eb9edcae53ef974324a?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [amber](https://app.codecov.io/gh/apache/texera/pull/8613/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `88.63% <ø> (ø)` | | Carriedforward from [957b6c9](https://app.codecov.io/gh/apache/texera/commit/957b6c965640c07ace034eb9edcae53ef974324a?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [computing-unit-managing-service](https://app.codecov.io/gh/apache/texera/pull/8613/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `55.20% <ø> (ø)` | | Carriedforward from [957b6c9](https://app.codecov.io/gh/apache/texera/commit/957b6c965640c07ace034eb9edcae53ef974324a?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [config-service](https://app.codecov.io/gh/apache/texera/pull/8613/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `87.37% <ø> (ø)` | | Carriedforward from [957b6c9](https://app.codecov.io/gh/apache/texera/commit/957b6c965640c07ace034eb9edcae53ef974324a?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [file-service](https://app.codecov.io/gh/apache/texera/pull/8613/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `81.53% <ø> (ø)` | | Carriedforward from [957b6c9](https://app.codecov.io/gh/apache/texera/commit/957b6c965640c07ace034eb9edcae53ef974324a?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [frontend](https://app.codecov.io/gh/apache/texera/pull/8613/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `96.57% <ø> (-0.02%)` | :arrow_down: | |
| [notebook-migration-service](https://app.codecov.io/gh/apache/texera/pull/8613/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `83.73% <ø> (ø)` | | Carriedforward from [957b6c9](https://app.codecov.io/gh/apache/texera/commit/957b6c965640c07ace034eb9edcae53ef974324a?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [pyamber](https://app.codecov.io/gh/apache/texera/pull/8613/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `98.48% <ø> (ø)` | | Carriedforward from [957b6c9](https://app.codecov.io/gh/apache/texera/commit/957b6c965640c07ace034eb9edcae53ef974324a?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
| [workflow-compiling-service](https://app.codecov.io/gh/apache/texera/pull/8613/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `74.09% <ø> (ø)` | | Carriedforward from [957b6c9](https://app.codecov.io/gh/apache/texera/commit/957b6c965640c07ace034eb9edcae53ef974324a?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) |
*This pull request uses carry forward flags. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) to find out more.
</details>
[:umbrella: View full report in Codecov by Harness](https://app.codecov.io/gh/apache/texera/pull/8613?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache).
<details><summary> :rocket: New features to boost your workflow: </summary>
- :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] chore(frontend): remove the unused scroll-to-step request stream [texera]
Posted by "aglinxinyuan (via GitHub)" <gi...@apache.org>.
aglinxinyuan merged PR #8613:
URL: https://github.com/apache/texera/pull/8613
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@texera.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org