Skip to content

Conversation

Perdiga
Copy link
Collaborator

@Perdiga Perdiga commented Jul 15, 2025

Release v0.2.0-alpha

This is an automated release pull request created by the release workflow.

Changes

  • Bump version to 0.2.0-alpha in pyproject.toml
  • Update package metadata

Related

Checklist

  • Version bumped
  • Tests passed
  • Package built successfully
  • Tag created

This PR will be auto-merged after creation.

@Copilot Copilot AI review requested due to automatic review settings July 15, 2025 22:47
@github-actions github-actions bot merged commit 0e7e1da into main Jul 15, 2025
4 checks passed
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Automated release bump to version 0.2.0-alpha, which also includes infrastructure updates to logging, Git utilities, and the CodeQL runner.

  • Bumped version to 0.2.0-alpha and updated package metadata.
  • Added context-variable support and color formatting to the logger.
  • Introduced get_diff_files in git_utils and changed create_and_analyze signature in the CodeQL runner.
  • Removed existing test suite files (tests coverage dropped).

Reviewed Changes

Copilot reviewed 23 out of 23 changed files in this pull request and generated no comments.

File Description
src/codeql_wrapper/infrastructure/logger.py Added current_log_color and current_format, enhanced ShortNameFormatter for color and context, adjusted get_logger and project context functions.
src/codeql_wrapper/infrastructure/git_utils.py Added get_diff_files static method to list changed files between two refs.
src/codeql_wrapper/infrastructure/codeql_runner.py Broke API of create_and_analyze by introducing project_name param and changing sarif_category.
tests/… Bulk deletion of all test files.
Comments suppressed due to low confidence (5)

src/codeql_wrapper/infrastructure/git_utils.py:70

  • No tests cover the new get_diff_files method. Consider adding unit tests for scenarios like no changes, added/modified/deleted files, and handling of subprocess failures.
    def get_diff_files(

src/codeql_wrapper/infrastructure/codeql_runner.py:165

  • Adding project_name to create_and_analyze is an API-breaking change; existing callers will fail. Please update all call sites or provide a backward-compatible overload.
        project_name: str,

src/codeql_wrapper/infrastructure/logger.py:93

  • [nitpick] Removing explicit logger.propagate = False can cause log messages to be emitted twice. Consider disabling propagation on custom handlers to avoid duplicate output.
    if format_string is None:

src/codeql_wrapper/infrastructure/logger.py:51

  • [nitpick] Directly mutating the formatter’s internal _style._fmt is brittle and may lead to unexpected side effects. Consider creating a new Formatter instance when the format needs to change.
        if current_fmt and current_fmt != self._style._fmt:

@github-actions github-actions bot deleted the release/v0.2.0-alpha branch July 15, 2025 22:52
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.

2 participants