Skip to content

Conversation

@shiv669
Copy link
Contributor

@shiv669 shiv669 commented Oct 20, 2025

Summary

Intermediate recipe for Issue #5118 that creates a Test Coverage Optimizer using Developer + Memory extensions.

Recipe Features

  • Extensions: Memory (loads/stores patterns) + Developer (analyzes code/generates tests)
  • Integration: Sequential chaining - Memory retrieves learned patterns → Developer uses them for analysis → Memory stores results
  • Parameters: 5 configurable inputs (project_path, test_framework, coverage_threshold, focus_areas, generate_templates)
  • Activities: 7 clear user-facing steps
  • Use Case: Analyzes existing tests, identifies coverage gaps, generates targeted test suggestions

Testing Status

⚠️ Local testing not performed due to environment constraints:

  • Attempted Goose CLI installation via PowerShell download script
  • Installation failed with network timeout error when downloading binary from GitHub releases
  • Error: Failed to download https://github.com/block/goose/releases/download/stable/goose-x86_64-pc-windows-gnu.zip - The operation has timed out

Validation performed:

  • ✅ YAML syntax validated using Python's yaml.safe_load()
  • ✅ Recipe structure verified against reference recipes (ci-cd-pipeline.yaml, code-review-mentor.yaml)
  • ✅ All required fields present and correctly formatted
  • ✅ Extension integration pattern follows intermediate recipe standards
  • ✅ Parameter templating syntax verified (Jinja2 format)

Request:

  • Maintainer testing during PR review
  • Happy to make revisions based on feedback

Closes

Closes #5118

Email : [email protected]

@shiv669 shiv669 requested a review from a team as a code owner October 20, 2025 14:57
@github-actions
Copy link
Contributor

Recipe Validation Failed

Please fix the validation errors and push your changes:

❌ test-coverage-optimizer.yaml: INVALID\n\nError: ✗ recipe file is invalid: Missing definitions for parameters in the recipe file: X.\n\n

📚 Check our Recipe Guide for help with the correct format.

@github-actions
Copy link
Contributor

🔍 Recipe Security Scan Results

Status: APPROVED - All recipes passed security scan

📊 Scan Summary:

  • Total recipes scanned: 1

📋 Individual Recipe Results:
✅ Recipe 1: APPROVED (LOW risk)

🔗 View detailed scan results in the workflow artifacts.

@github-actions
Copy link
Contributor

Recipe Validation Failed

Please fix the validation errors and push your changes:

❌ test-coverage-optimizer.yaml: INVALID\n\nError: ✗ recipe file is invalid: Failed to parse the recipe invalid operation: invalid float literal (in current_template:488)\n\n

📚 Check our Recipe Guide for help with the correct format.

@github-actions
Copy link
Contributor

🔍 Recipe Security Scan Results

Status: APPROVED - All recipes passed security scan

📊 Scan Summary:

  • Total recipes scanned: 1

📋 Individual Recipe Results:
✅ Recipe 1: APPROVED (LOW risk)

🔗 View detailed scan results in the workflow artifacts.

@github-actions
Copy link
Contributor

Recipe Validation Passed

Your recipe(s) are valid and ready for review!

🔍 Next Steps:

  1. Our team will review your recipe
  2. If approved, we'll run a security scan
  3. Once merged, you'll receive $10 in OpenRouter credits (if email provided)

Thanks for contributing to the goose Recipe Cookbook! 🎉

@github-actions
Copy link
Contributor

🔍 Recipe Security Scan Results

Status: APPROVED - All recipes passed security scan

📊 Scan Summary:

  • Total recipes scanned: 1

📋 Individual Recipe Results:
✅ Recipe 1: APPROVED (LOW risk)

🔗 View detailed scan results in the workflow artifacts.

@shiv669 shiv669 force-pushed the feat/test-coverage-optimizer branch from 3bfc0c8 to d3ec57b Compare October 20, 2025 15:16
@github-actions
Copy link
Contributor

Recipe Validation Passed

Your recipe(s) are valid and ready for review!

🔍 Next Steps:

  1. Our team will review your recipe
  2. If approved, we'll run a security scan
  3. Once merged, you'll receive $10 in OpenRouter credits (if email provided)

Thanks for contributing to the goose Recipe Cookbook! 🎉

@github-actions
Copy link
Contributor

🔍 Recipe Security Scan Results

Status: APPROVED - All recipes passed security scan

📊 Scan Summary:

  • Total recipes scanned: 1

📋 Individual Recipe Results:
✅ Recipe 1: APPROVED (LOW risk)

🔗 View detailed scan results in the workflow artifacts.

@taniandjerry taniandjerry added hacktoberfest Issues awarding points for Hacktoberfest 2025! medium Weight label for Hacktoberfest 2025 issues labels Oct 20, 2025
Intermediate recipe that analyzes test coverage patterns, learns from existing tests using Memory extension, and generates intelligent test suggestions using Developer extension. Includes auto-detection for pytest, jest, unittest, and go-test frameworks.

Signed-off-by: Shivam Gawali <[email protected]>
@shiv669 shiv669 force-pushed the feat/test-coverage-optimizer branch from d3ec57b to 02e1e11 Compare October 20, 2025 15:21
@github-actions
Copy link
Contributor

Recipe Validation Passed

Your recipe(s) are valid and ready for review!

🔍 Next Steps:

  1. Our team will review your recipe
  2. If approved, we'll run a security scan
  3. Once merged, you'll receive $10 in OpenRouter credits (if email provided)

Thanks for contributing to the goose Recipe Cookbook! 🎉

@github-actions
Copy link
Contributor

🔍 Recipe Security Scan Results

Status: APPROVED - All recipes passed security scan

📊 Scan Summary:

  • Total recipes scanned: 1

📋 Individual Recipe Results:
✅ Recipe 1: APPROVED (LOW risk)

🔗 View detailed scan results in the workflow artifacts.

@taniandjerry
Copy link
Contributor

Thank you so much, @shiv669 ! Will be reviewing this today :)

@github-actions
Copy link
Contributor

Recipe Validation Passed

Your recipe(s) are valid and ready for review!

🔍 Next Steps:

  1. Our team will review your recipe
  2. If approved, we'll run a security scan
  3. Once merged, you'll receive $10 in OpenRouter credits (if email provided)

Thanks for contributing to the goose Recipe Cookbook! 🎉

@github-actions
Copy link
Contributor

🔍 Recipe Security Scan Results

Status: APPROVED - All recipes passed security scan

📊 Scan Summary:

  • Total recipes scanned: 1

📋 Individual Recipe Results:
✅ Recipe 1: APPROVED (LOW risk)

🔗 View detailed scan results in the workflow artifacts.

@iandouglas
Copy link
Contributor

We had another test coverage recipe submitted I think from ARYPROGRAMMER where I had also commented that storing test coverage results in the Memory extension was not a great utilization, as those patterns and data would be sent to the LLM for every other kind of request the user would make of goose, even if the request wasn't about testing or coverage etc, so I'd love to see this recipe updated to store that data in a separate file and have the recipe read/write that file instead.

@taniandjerry taniandjerry merged commit 5a35f09 into block:main Oct 21, 2025
13 checks passed
wpfleger96 added a commit that referenced this pull request Oct 22, 2025
* main: (33 commits)
  Add Web Accessibility Auditor recipe to cookbook (#5318)
  To do mcp tutorial (#5317)
  workflows: add a manual trigger option to pr-smoke-test (#5302)
  documenting `goose recipe list` command (#5278)
  add a system prompt snapshot test (#5305)
  fix: handle non exist subrecipe path (#5287)
  Next camp (#5237)
  more lowercasing of TabItem labels (#5307)
  modified docs/tutorials/cicd Github Action's install path to follow download_cli script (#5240)
  Fix artifact download to work across workflow runs (#5304)
  Added extension search (#5283)
  docs: lowercase 'goose' in TabItem labels for consistency (#5297)
  feat(prompts): add format to save code snippet (#5007)
  fix: use Windows-compatible default path for CLI installation (#5221)
  feat: add Test Coverage Optimizer recipe (#5118) (#5272)
  Upgrade node to fix canary (#5301)
  Remove reliance on localstorage for pendingScheduleDeepLink when scheduling a recipe (#5290)
  Add historical tracking with trend indicators using artifacts (#5295)
  roll back vite and electron package upgrades breaking canary win and linux (#5292)
  Revert "Revert "Rewrite extension management tools"" (#5273)
  ...
BlairAllan pushed a commit to BlairAllan/goose that referenced this pull request Oct 25, 2025
Signed-off-by: Shivam Gawali <[email protected]>
Co-authored-by: Rizel Scarlett <[email protected]>
Signed-off-by: Blair Allan <[email protected]>
BlairAllan pushed a commit to BlairAllan/goose that referenced this pull request Nov 29, 2025
Signed-off-by: Shivam Gawali <[email protected]>
Co-authored-by: Rizel Scarlett <[email protected]>
Signed-off-by: Blair Allan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hacktoberfest Issues awarding points for Hacktoberfest 2025! hacktoberfest-accepted medium Weight label for Hacktoberfest 2025 issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🍳 Intermediate Recipe Submission #4

5 participants