Skip to content

PF5: OLS-3501: Remove generic tool call error alert message - #2223

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift:pattern-fly-5from
kyoto:pf5-remove-tool-error-alert
Jul 15, 2026
Merged

PF5: OLS-3501: Remove generic tool call error alert message#2223
openshift-merge-bot[bot] merged 1 commit into
openshift:pattern-fly-5from
kyoto:pf5-remove-tool-error-alert

Conversation

@kyoto

@kyoto kyoto commented Jul 14, 2026

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • Bug Fixes

    • Improved tool error modal behavior by removing the redundant unexpected-error alert.
    • Tool error details now display the relevant status and error information without incorrectly showing rejection messaging.
  • Tests

    • Added coverage for streamed responses containing tool errors to help ensure the modal presents accurate information.

@kyoto kyoto added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 14, 2026
@openshift-ci
openshift-ci Bot requested review from JoaoFula and syedriko July 14, 2026 11:32
@openshift-ci

openshift-ci Bot commented Jul 14, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

1 similar comment
@openshift-ci

openshift-ci Bot commented Jul 14, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

The tool error modal no longer displays a generic error alert. English translations for that alert were removed, and a streamed tool-error fixture with browser coverage was added.

Changes

Tool error modal

Layer / File(s) Summary
Remove generic error alert
src/components/ResponseToolModal.tsx, locales/en/plugin__lightspeed-console-plugin.json
The modal skips the generic error alert for tool-call errors, and its two English translation entries were removed.
Cover streamed tool errors
tests/support/fixtures.ts, tests/tests/lightspeed.spec.ts
A failing SSE fixture and serial test verify tool status, output, error text, and the absence of “Tool call rejected”.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Suggested reviewers: joshuawilson, syedriko

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title accurately summarizes the main change: removing the generic tool call error alert message.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

@kyoto kyoto added the lgtm Indicates that a PR is ready to be merged. label Jul 15, 2026
@kyoto kyoto changed the title PF5: Remove generic tool call error alert message PF5: OLS-3501: Remove generic tool call error alert message Jul 15, 2026
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jul 15, 2026
@openshift-ci-robot

openshift-ci-robot commented Jul 15, 2026

Copy link
Copy Markdown

@kyoto: This pull request references OLS-3501 which is a valid jira issue.

Details

In response to this:

Summary by CodeRabbit

  • Bug Fixes

  • Improved tool error modal behavior by removing the redundant unexpected-error alert.

  • Tool error details now display the relevant status and error information without incorrectly showing rejection messaging.

  • Tests

  • Added coverage for streamed responses containing tool errors to help ensure the modal presents accurate information.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-merge-bot
openshift-merge-bot Bot merged commit 39f37da into openshift:pattern-fly-5 Jul 15, 2026
5 checks passed
@kyoto
kyoto deleted the pf5-remove-tool-error-alert branch July 15, 2026 03:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants