Skip to content

Conversation

@github-actions
Copy link
Contributor

🤖 Automated Test Addition

This PR was automatically generated by Goose to improve test coverage.

What changed?

Added a unit test for a previously untested function.

Why?

Part of our daily automated test coverage improvement initiative. Goose analyzes the codebase to find untested but important functions and creates focused unit tests for them.

Review checklist

  • Test is meaningful and actually tests the function
  • Test name is descriptive
  • Test passes locally
  • No unnecessary changes included

Metrics

Current Context Size

  • Total: 34392 tokens
  • Input: 33913 tokens
  • Output: 479 tokens

API Usage (Billable)

  • Total: 396066 tokens
  • Input: 388085 tokens
  • Output: 7981 tokens

Generated by the Daily Test Coverage Finder workflow

Copy link
Collaborator

@michaelneale michaelneale left a comment

Choose a reason for hiding this comment

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

not sure if I am meant to close and open it to trigger it, but this one seems legit coverage improvement assuming it works!

@michaelneale michaelneale reopened this Sep 23, 2025
@tlongwell-block tlongwell-block marked this pull request as ready for review September 25, 2025 14:10
@tlongwell-block tlongwell-block requested a review from a team as a code owner September 25, 2025 15:10
@github-actions
Copy link
Contributor Author

PR Preview Action v1.6.0

🚀 View preview at
https://block.github.io/goose/pr-preview/pr-4700/

Built to branch gh-pages at 2025-09-25 15:12 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@tlongwell-block
Copy link
Collaborator

not sure if I am meant to close and open it to trigger it, but this one seems legit coverage improvement assuming it works!

closing and reopening will do it!

@tlongwell-block tlongwell-block merged commit ca3d69b into main Sep 25, 2025
11 checks passed
@tlongwell-block tlongwell-block deleted the goose/test-coverage-37 branch September 25, 2025 15:41
@tlongwell-block tlongwell-block changed the title test: add test coverage for test: add test coverage for inspect_tools Sep 25, 2025
katzdave added a commit that referenced this pull request Sep 25, 2025
…ovements

* 'main' of github.com:block/goose: (23 commits)
  blog post on subagents vs subrecipes (#4829)
  fix chat button alignment and spacing for attachments (#4794)
  fix: remove nested double quotes in windows automation_script tool description (#4824)
  fix: a few things with the mcp snapshot test (#4818)
  Revert "fix(compaction): try to catch more context limit exceeded erors and compact" (#4820)
  test: add test coverage for Tools Inspector (#4700)
  feat: Parse and use retryDelay from Google API RateLimitExceeded errors (#4124)
  cleanup: remove unused link preview and goose response form components (#4795)
  fix build: latest bedrock version (#4812)
  prefer users SHELL (#4702)
  feat: update aws-sdk-bedrockruntime to enable AWS_BEARER_TOKEN_BEDROCK auth (#4327)
  correct the tests from an odd merge (#4804)
  docs: import yaml recipe (#4799)
  docs: Add openmetadata extension to goose mcp docs (#4547)
  Add elapsed time to the CLI output. (#4609)
  fix: Fix cell coordinate ordering in XlsxTool and add unit tests (#4551)
  Use gemini flash for summarization on open router (#4290)
  chore(deps): bump xcb from 1.5.0 to 1.6.0 (#4289)
  feat(shell): throw errors on interactive commands (#4788)
  feat: AgentManager - foundation for unified execution (#4389) (#4684)
  ...
@DOsinga
Copy link
Collaborator

DOsinga commented Sep 29, 2025

not sure if I am meant to close and open it to trigger it, but this one seems legit coverage improvement assuming it works!

I don't think this is testing anything useful. I think we should revert this. It is a lot of code that constructs a mock and everything but ultimately only tests if the inspection_manager returns a result a per inspector that you added and that the names of the inspectors and the order are the same of how you set it up. that doesn't strike me as very interesting

HikaruEgashira pushed a commit to HikaruEgashira/goose that referenced this pull request Oct 3, 2025
Co-authored-by: tlongwell-block <[email protected]>
Co-authored-by: Tyler Longwell <[email protected]>
Signed-off-by: HikaruEgashira <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants