Skip to content

test: Increase coverage for custom_openai and plugins_manager#135

Merged
github-actions[bot] merged 1 commit into
stagingfrom
test-coverage-custom-openai-plugins-6432413238629619084
Jul 12, 2026
Merged

test: Increase coverage for custom_openai and plugins_manager#135
github-actions[bot] merged 1 commit into
stagingfrom
test-coverage-custom-openai-plugins-6432413238629619084

Conversation

@julwrites

Copy link
Copy Markdown
Owner

This PR addresses Tech Debt 1 - Subtask 3 from BACKLOG.md by increasing test coverage for custom_openai.lua and plugins_manager.lua.

It fills out missing tests in tests/spec/managers/custom_openai_spec.lua for functions such as:

  • debug_custom_openai_models
  • create_sample_yaml_file
  • serialize_to_yaml
  • add_custom_openai_model
  • delete_custom_openai_model

It also replaces placeholder tests (assert.is_true(true)) in tests/spec/managers/plugins_manager_spec.lua with functional tests that actually verify logic for functions like:

  • populate_plugins_buffer
  • setup_plugins_keymaps
  • refresh_plugin_list
  • install_plugin_under_cursor
  • uninstall_plugin_under_cursor
  • refresh_available_plugins
  • get_plugin_info_under_cursor
  • manage_plugins

The corresponding item 3 has been successfully removed from BACKLOG.md. All unit tests (make test) pass and coverage correctly increased.


PR created automatically by Jules for task 6432413238629619084 started by @julwrites

Added comprehensive unit tests for `lua/llm/managers/custom_openai.lua` and `lua/llm/managers/plugins_manager.lua` to improve code coverage. Replaced empty placeholder tests with actual functional verification of properties and behavior. Removed completed item 3 from BACKLOG.md.

Co-authored-by: julwrites <18639913+julwrites@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@github-actions
github-actions Bot merged commit 1a720e3 into staging Jul 12, 2026
3 checks passed
@github-actions
github-actions Bot deleted the test-coverage-custom-openai-plugins-6432413238629619084 branch July 12, 2026 00:36
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.

1 participant