Skip to content

Fix Amazon Q not triggering with new issuable

What does this MR do and why?

!176221 (merged) did not quite work when issuing a /q quick action from a new issue or merge request. The amazon_q_params is a type ActionController::Parameters since it is passed from the controller. Add a test and relax the type check.

References

How to set up and validate locally

  1. Set up Amazon Q (I used a package from https://gitlab.com/gitlab-org/omnibus-gitlab/-/jobs/8699840093). See https://gitlab.com/gitlab-com/ops-sub-department/aws-gitlab-ai-integration/integration-motion-planning/-/wikis/integration-docs.
  2. Create a new issue with /q dev in the description.
Edited by Stan Hu

Merge request reports

Loading