Skip to content

Load AI chatbot from migration-planner-app - #379

Open
ammont82 wants to merge 2 commits into
RedHatInsights:mainfrom
ammont82:adding-oma-chatbot
Open

Load AI chatbot from migration-planner-app#379
ammont82 wants to merge 2 commits into
RedHatInsights:mainfrom
ammont82:adding-oma-chatbot

Conversation

@ammont82

@ammont82 ammont82 commented May 15, 2026

Copy link
Copy Markdown

Description

ECOPROJECT-4034

Screenshots

Before:

After:


Anything reviewers should know?


Checklist

  • Accessibility: color contrast, keyboard nav, screen reader tested (or N/A)
  • All PR checks pass locally (build, lint, test)
  • No unrelated changes included
  • (Optional) QE: OUIA changed, test impact, no coverage
  • (Optional) UX: end-user UX modified, designs need sign-off

AI disclosure

Signed-off-by: Montse Ortega <mortegag@redhat.com>
@coderabbitai

coderabbitai Bot commented May 15, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@karelhala, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 30 minutes and 26 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more credits in the billing tab to continue.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Enterprise

Run ID: 0f49118f-d72f-41df-8bbf-6689328b19df

📥 Commits

Reviewing files that changed from the base of the PR and between b7e367c and 9bdf52c.

📒 Files selected for processing (1)
  • src/aiClients/useStateManager.ts

Walkthrough

The useAsyncManagers hook now registers a remote hook for the assistedMigrationApp scope, wiring the assisted migration chatbot module. This enables the assisted migration state manager to load and integrate into the application's hook-based state registry.

Changes

Assisted Migration Chatbot Integration

Layer / File(s) Summary
Register assistedMigrationApp hook
src/aiClients/useStateManager.ts
useAsyncManagers adds a remote hook configuration for the assistedMigrationApp scope (./useOmaChatbot), allowing the assisted migration chatbot state manager to integrate with the existing hook registration alongside virtual assistant and assisted installer hooks.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~5 minutes

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is largely incomplete with missing summary content, no details about what/why changes were made, and only a bare issue link without substantive explanation. Add a 2-3 sentence summary explaining what changes were made and why; provide details on the technical change and its impact on the codebase.
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: registering a new AI chatbot hook from the assisted migration app scope.
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.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

scope: 'assistedInstallerApp',
module: './useAsyncChatbot',
});
addHook({

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please hide this behind a feature flag oma-chatbot? Thank you.

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