Skip to content

Merge release/1.3.1 into master#300

Merged
vypbot merged 52 commits intomasterfrom
release/1.3.1
Feb 12, 2026
Merged

Merge release/1.3.1 into master#300
vypbot merged 52 commits intomasterfrom
release/1.3.1

Conversation

@vypbot
Copy link
Copy Markdown
Contributor

@vypbot vypbot commented Feb 12, 2026

🚀 Automated Merge

This PR merges release/1.3.1 into master.

Commits included:

  • feature-296-bugbot-autofix: Remove getSessionDiff usage from CLI output and update response logging for clarity
  • feature-296-bugbot-autofix: Simplify CLI output by removing session diff logging and clarifying response message
  • feature-296-bugbot-autofix: Add support for configurable verify commands after autofix, enhance bugbot context loading, and improve documentation for bugbot autofix functionality.
  • feature-296-bugbot-autofix: Refactor bugbot autofix logic to improve intent detection and execution flow, enhance logging for better debugging, and streamline payload handling in issue comment processing.
  • feature-296-bugbot-autofix: Enhance logging for bugbot fix intent detection in issue comment processing to improve debugging and traceability.
  • feature-296-bugbot-autofix: Refactor bugbot fix intent handling by extracting payload functions into a separate module, enhancing code organization and maintainability in issue comment processing.
  • feature-296-bugbot-autofix: Refactor PullRequestRepository to use pagination for fetching changed files, improving performance and reliability in handling large pull requests.
  • feature-296-bugbot-autofix: Introduce reviewCommentPayload getter in PullRequest class to streamline access to review comment data, enhancing code clarity and maintainability across multiple files.
  • feature-296-bugbot-autofix: Implement getTokenUserDetails method to retrieve GitHub user details for commit author configuration, enhancing bugbot autofix commit process with proper user attribution.
  • feature-296-bugbot-autofix: bugbot autofix - resolve reported findings
  • feature-296-bugbot-autofix: bugbot autofix - resolve reported findings
  • feature-296-bugbot-autofix: Integrate shell-quote for parsing verify commands, enhancing command safety and supporting quoted arguments to prevent injection vulnerabilities.
  • Merge branch 'feature/296-bugbot-autofix' of https://github.com/vypdev/copilot into feature/296-bugbot-autofix
  • feature-296-bugbot-autofix: Add handling for empty head branch in loadBugbotContext, returning an empty context and preventing API calls when no branch is specified.
  • feature-296-bugbot-autofix: Sanitize user comments in bugbot prompts to prevent triple-quote issues and ensure proper formatting in generated prompts.
  • feature-296-bugbot-autofix: Enhance getHeadBranchForIssue method with bounded matching for issue references, improving accuracy in identifying related pull requests.
  • feature-296-bugbot-autofix: Enhance isLinked method with timeout handling and error logging, and implement uncommitted changes check before branch checkout to prevent data loss.
  • feature-296-bugbot-autofix: bugbot autofix - resolve bugbot_autofix_commit.ts:50-52:stash-pop-error-handling
  • feature-296-bugbot-autofix: Enhance Bugbot autofix functionality with pattern length capping and consecutive wildcard collapsing to mitigate ReDoS risks; update documentation to reflect new capabilities and usage instructions.
  • feature-296-bugbot-autofix: Integrate OPENCODE_PROJECT_CONTEXT_INSTRUCTION into various use cases and prompts to enhance context awareness and improve response accuracy.
  • feature-296-bugbot-autofix: Implement logic to recommend steps or provide help on newly opened issues based on labels, enhancing issue handling capabilities.
  • feature-296-bugbot-autofix: Introduce a limit on the number of verify commands to 20 in the autofix commit process, with logging to inform users when the limit is exceeded; update tests to validate this behavior.
  • feature-296-bugbot-autofix: Implement truncation for finding body comments exceeding 12000 characters to prevent prompt bloat, and update related tests to ensure functionality; also limit verify commands to 20 with appropriate logging.
  • feature-296-bugbot-autofix: Export truncateFindingBody function and apply it to limit fullBody length to 12000 characters in loadBugbotContext. Update tests to verify truncation behavior for issue comments.
  • feature-296-bugbot-autofix: Improve parent comment processing to avoid empty blocks, export truncateFindingBody for broader use, and enhance user comment sanitization to prevent broken escape sequences. Update related tests for robustness.
  • feature-296-bugbot-autofix: Implement user request handling in IssueComment and PullRequestReviewComment use cases, allowing users to perform generic tasks alongside bug fixes. Introduce permission checks to ensure only authorized actors can modify files, enhancing security and functionality. Update related tests to validate new behavior.
  • feature-296-bugbot-autofix: Add Bugbot documentation and enhance integration with user request handling. Introduce new Bugbot section in the documentation, update existing references, and improve clarity on Bugbot functionalities. Update tests to ensure comprehensive coverage of new features and permission checks for user requests.
  • feature-296-bugbot-autofix: Enhance Bugbot documentation by adding new sections for Detection, Autofix, Do User Request, Configuration, and How It Works. Update existing content for clarity and accuracy. Modify branch_repository.d.ts to reorder status types for consistency.
  • feature-296-bugbot-autofix: Update documentation for issues, pull requests, and single actions. Rename sections for clarity, add new topics such as "Labels and branch types," "Workflow setup," and "Examples." Modify existing content to improve organization and accessibility. Update branch_repository.d.ts to ensure consistent status type ordering.
  • feature-296-bugbot-autofix: Enhance Bugbot marker functionality by adding length limits for finding IDs in regex to mitigate ReDoS vulnerabilities. Update tests to verify regex behavior with long IDs and safe character sets.

This PR was automatically created by copilot.

efraespada and others added 30 commits February 11, 2026 23:08
…nds after autofix, enhance bugbot context loading, and improve documentation for bugbot autofix functionality.
…intent detection and execution flow, enhance logging for better debugging, and streamline payload handling in issue comment processing.
…ection in issue comment processing to improve debugging and traceability.
…tracting payload functions into a separate module, enhancing code organization and maintainability in issue comment processing.
…ination for fetching changed files, improving performance and reliability in handling large pull requests.
…PullRequest class to streamline access to review comment data, enhancing code clarity and maintainability across multiple files.
…etrieve GitHub user details for commit author configuration, enhancing bugbot autofix commit process with proper user attribution.
…commands, enhancing command safety and supporting quoted arguments to prevent injection vulnerabilities.
…dBugbotContext, returning an empty context and preventing API calls when no branch is specified.
…to prevent triple-quote issues and ensure proper formatting in generated prompts.
… bounded matching for issue references, improving accuracy in identifying related pull requests.
…ling and error logging, and implement uncommitted changes check before branch checkout to prevent data loss.
… pattern length capping and consecutive wildcard collapsing to mitigate ReDoS risks; update documentation to reflect new capabilities and usage instructions.
…CTION into various use cases and prompts to enhance context awareness and improve response accuracy.
…vide help on newly opened issues based on labels, enhancing issue handling capabilities.
… commands to 20 in the autofix commit process, with logging to inform users when the limit is exceeded; update tests to validate this behavior.
…ments exceeding 12000 characters to prevent prompt bloat, and update related tests to ensure functionality; also limit verify commands to 20 with appropriate logging.
…pply it to limit fullBody length to 12000 characters in loadBugbotContext. Update tests to verify truncation behavior for issue comments.
…d empty blocks, export truncateFindingBody for broader use, and enhance user comment sanitization to prevent broken escape sequences. Update related tests for robustness.
…omment and PullRequestReviewComment use cases, allowing users to perform generic tasks alongside bug fixes. Introduce permission checks to ensure only authorized actors can modify files, enhancing security and functionality. Update related tests to validate new behavior.
…gration with user request handling. Introduce new Bugbot section in the documentation, update existing references, and improve clarity on Bugbot functionalities. Update tests to ensure comprehensive coverage of new features and permission checks for user requests.
…w sections for Detection, Autofix, Do User Request, Configuration, and How It Works. Update existing content for clarity and accuracy. Modify branch_repository.d.ts to reorder status types for consistency.
…uests, and single actions. Rename sections for clarity, add new topics such as "Labels and branch types," "Workflow setup," and "Examples." Modify existing content to improve organization and accessibility. Update branch_repository.d.ts to ensure consistent status type ordering.
…ding length limits for finding IDs in regex to mitigate ReDoS vulnerabilities. Update tests to verify regex behavior with long IDs and safe character sets.
efraespada and others added 22 commits February 12, 2026 14:53
…dation for finding IDs in regex to enhance security against ReDoS vulnerabilities. Update related documentation and ensure consistent behavior across Bugbot marker functions.
…ies to prevent excessive memory usage, ensuring comments do not exceed the defined length limit. Update related tests to verify behavior when autofix returns empty results, ensuring no commits or resolutions occur in such cases.
…for finding IDs in commit messages to prevent injection attacks and ensure consistent formatting. Update related tests to verify sanitization behavior and handling of edge cases.
…mment and PullRequestReviewComment use cases to ensure proper behavior when results are empty. Update tests to verify that no commits occur in such cases and adjust mock implementations for consistency. Additionally, reorder status types in branch_repository.d.ts for clarity.
…ntroducing caching for compiled regexes and limiting the number of patterns processed to improve performance and prevent excessive memory usage. Update documentation to reflect these changes and ensure consistent behavior across the application. Adjust tests to verify the new caching mechanism and pattern limits.
… safely manage cases with undefined fullBody, ensuring no errors are thrown. Add a test to verify this behavior, enhancing robustness in the DetectBugbotFixIntentUseCase.
…rove handling of trailing backslashes during truncation. Update tests to cover various scenarios of truncation and backslash management, ensuring correct behavior and preventing escape sequence issues.
…th sanitization for prompt safety in Bugbot prompts. Introduce helper functions to ensure proper formatting and escaping of special characters, enhancing robustness. Update tests to verify sanitization and truncation behavior for findings.
…y and ThinkUseCase by introducing a utility function for escaping special characters. Update related logic to ensure safe processing of user input and improve regex pattern matching. Add tests to verify correct behavior when handling special characters in user mentions and version extraction.
…utility functions, along with associated tests, to streamline the codebase. Update constants and logger by removing deprecated code. This cleanup enhances maintainability and reduces complexity.
…unctions across CLI and GitHub Action modules to streamline the codebase. This includes the elimination of the FileRepository class and related methods, enhancing maintainability and reducing complexity. Update logger and title utilities to reflect these changes.
…rage settings and modify CI workflow to run tests with coverage and upload results to Codecov. Adjust status types in branch_repository.d.ts for clarity.
…ndling and commit notifications. Add tests for branch selection logic based on configuration, improve logging for skipped actions, and ensure proper handling of commit prefixes. Update existing tests to cover new scenarios and edge cases, enhancing overall robustness.
…s by adding scenarios for handling resolved findings, verifying command execution, and managing issue and pull request numbers. Update existing tests to improve robustness and ensure proper logging for various edge cases. Additionally, refine type definitions in branch_repository.d.ts for clarity.
… prevent auto-running during tests by checking for JEST_WORKER_ID. Update branch_repository.d.ts for clarity in status type definitions. Ensure proper CLI argument parsing only when not in test environment.
…logic to prevent auto-running during tests by checking for JEST_WORKER_ID. Export program instance in CLI modules for better accessibility. Enhance test coverage by adding scenarios for error handling and command execution, ensuring robust logging and proper management of exit codes. Update type definitions for clarity in CLI and GitHub Action modules.
…rios for handling non-git repository errors and validating issue number inputs. Introduce JSON output verification for the CLI command. Update common action tests to handle non-Error exceptions gracefully. This improves robustness and error handling in the CLI and action execution logic.
…nfig to exclude test files. Remove obsolete test type definitions across CLI and GitHub Action modules, enhancing code clarity and maintainability. Update branch_repository.d.ts to clarify status type definitions.
@vypbot vypbot linked an issue Feb 12, 2026 that may be closed by this pull request
@vypbot vypbot merged commit 98f5f95 into master Feb 12, 2026
@docs-page
Copy link
Copy Markdown

docs-page Bot commented Feb 12, 2026

To view this pull requests documentation preview, visit the following URL:

docs.page/vypdev/copilot~300

Documentation is deployed and generated using docs.page.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Feb 12, 2026

Codecov Report

❌ Patch coverage is 85.32110% with 96 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (master@391d4a8). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/data/repository/pull_request_repository.ts 32.60% 28 Missing and 3 partials ⚠️
...ecase/steps/commit/bugbot/bugbot_autofix_commit.ts 91.87% 0 Missing and 13 partials ⚠️
src/data/repository/project_repository.ts 57.14% 7 Missing and 2 partials ⚠️
src/actions/github_action.ts 40.00% 5 Missing and 1 partial ⚠️
src/data/model/pull_request.ts 37.50% 0 Missing and 5 partials ⚠️
src/usecase/issue_comment_use_case.ts 91.80% 0 Missing and 5 partials ⚠️
...rc/usecase/pull_request_review_comment_use_case.ts 91.93% 0 Missing and 5 partials ⚠️
...commit/bugbot/detect_bugbot_fix_intent_use_case.ts 93.54% 0 Missing and 4 partials ⚠️
...ase/steps/commit/bugbot/build_bugbot_fix_prompt.ts 88.88% 0 Missing and 3 partials ⚠️
...teps/commit/bugbot/load_bugbot_context_use_case.ts 80.00% 0 Missing and 3 partials ⚠️
... and 9 more
Additional details and impacted files
@@            Coverage Diff            @@
##             master     #300   +/-   ##
=========================================
  Coverage          ?   71.32%           
=========================================
  Files             ?      118           
  Lines             ?     5806           
  Branches          ?     1266           
=========================================
  Hits              ?     4141           
  Misses            ?     1326           
  Partials          ?      339           
Files with missing lines Coverage Δ
src/usecase/actions/check_progress_use_case.ts 86.27% <100.00%> (ø)
src/usecase/actions/recommend_steps_use_case.ts 96.96% <100.00%> (ø)
...e/steps/commit/bugbot/bugbot_fix_intent_payload.ts 100.00% <100.00%> (ø)
...usecase/steps/commit/bugbot/build_bugbot_prompt.ts 100.00% <100.00%> (ø)
...s/commit/bugbot/mark_findings_resolved_use_case.ts 93.18% <ø> (ø)
src/usecase/steps/commit/bugbot/marker.ts 97.61% <100.00%> (ø)
...e/steps/commit/bugbot/publish_findings_use_case.ts 97.61% <100.00%> (ø)
.../commit/bugbot/sanitize_user_comment_for_prompt.ts 100.00% <100.00%> (ø)
src/usecase/steps/commit/bugbot/schema.ts 100.00% <100.00%> (ø)
src/actions/local_action.ts 84.46% <75.00%> (ø)
... and 18 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.3.1 - Bugbot Autofix

3 participants