poc: adds message about code review

This commit is contained in:
ievgenii vdovenko 2025-09-08 16:24:17 +02:00
parent 317836aded
commit 1f9ff01e39

View file

@ -1325,6 +1325,8 @@ class RepoPullRequestsView(RepoAppView, DataGridAppView):
if ai_user_id in ids_to_add:
log.debug("Initiating code review for pull request id: %s", pull_request.pull_request_id)
run_task(tasks.start_ai_code_review, pull_request.pull_request_id)
msg = _("AI code review has started. The review will be ready in about 13 minutes.")
h.flash(msg, category="success")
elif "observer_members" in controls:
self._update_reviewers(