Repository navigation
[ci] Add mock LLM for Lightspeed deployment testing - #4222
malingatembo wants to merge 5 commits into
Conversation
Deploy a mock provider so Lightspeed can be tested without external LLM credentials. Support ordinary and streamed chat completions required by the current provider adapter. Related-Issue: OSPRH-33344 Signed-off-by: malingatembo <tembomalinga@gmail.com>
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Build succeeded (check pipeline). ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 35m 50s |
The upstream mock-provider deployment timed out while application images were still starting. The collected custom resource became Ready about 50 seconds after the playbook failed. Increase the default CR readiness retries from 30 to 120 while retaining the ten-second polling interval, Ready condition and bounded failure. Related-Issue: #OSPRH-33344 Signed-off-by: malingatembo <tembomalinga@gmail.com>
|
Build failed (check pipeline). Post ✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 47m 27s |
The operator now requires models and defaultModel. Move the existing provider settings into one configured model and select it as the default so the deployment hook can create the CR against the current operator. Related-Issue: OSPRH-33344 Signed-off-by: malingatembo <tembomalinga@gmail.com>
|
Build failed (check pipeline). Post ✔️ openstack-k8s-operators-content-provider SUCCESS in 3h 13m 42s |
Wait for mock readiness, reload changed mock code, and allow bounded application startup. Run the prepared Lightspeed test checkout with an explicit client identity and retain JUnit/logs before propagating failure. Remove private client token files and API tunnels on success or failure. Related-Issue: OSPRH-33344 Signed-off-by: malingatembo <tembomalinga@gmail.com>
|
Build failed (check pipeline). Post ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 03m 01s |
Serve GET /v1/models with the configured provider Related-Issue: OSPRH-33344 Signed-off-by: malingatembo <tembomalinga@gmail.com>
|
Build succeeded (check pipeline). ✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 16m 19s |
|
PR needs rebase. DetailsInstructions 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 kubernetes-sigs/prow repository. |
[ci] Add mock LLM for Lightspeed deployment testing
Deploy a mock LLM so Lightspeed can be tested without external provider
credentials. The mock supports ordinary JSON and streamed chat completions.
Validated locally on CRC:
Syntax and formatting checks passed. Ansible lint did not complete.
Remaining before final review:
Query checks were manual; automated lightspeed-tests integration remains
separate work..
Add a controller hook that runs the prepared lightspeed-tests checkout after
Lightspeed reaches Ready. The hook supplies client authentication, retains
JUnit reports and runner logs, propagates test failures, and cleans up its
temporary token files and API tunnel.
Test-runner changes:
openstack-k8s-operators/lightspeed-tests#17
Combined upstream integration validation remains pending.
Related-Issue: OSPRH-33344