Skip to content

Conversation

pcrane
Copy link
Contributor

@pcrane pcrane commented Oct 9, 2025

This pull request introduces version 1.8.0 of the cover-annotations library, updates relevant documentation, and adds a new experimental annotation for LLM usage. The most important changes are summarized below.

Version bump and dependency updates:

  • Updated the project version to 1.8.0 in pom.xml and all dependency examples in README.md to reflect the new release. [1] [2] [3]

Experimental annotation support:

  • Added a new experimental annotation @InTestsUseLLM in com.diffblue.cover.annotations.experimental, which signals that LLMs may be used in the annotated context. This annotation is marked as deprecated and is not recommended for production use.
  • Expanded the README.md documentation to introduce the concept of experimental annotations, warn users against relying on them in production, and provide details about @InTestsUseLLM.

@pcrane pcrane requested review from Copilot and roxspring October 9, 2025 11:57
@pcrane pcrane self-assigned this Oct 9, 2025
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

This PR introduces a new experimental annotation @InTestsUseLLM that indicates when Large Language Models (LLMs) can be used for test assistance. The annotation is marked as deprecated to discourage production usage while enabling experimental features.

  • Adds new experimental annotation for LLM usage indication
  • Updates version from 1.7.0 to 1.8.0 across configuration files
  • Documents the experimental annotation with usage warnings

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/main/java/com/diffblue/cover/annotations/experimental/InTestsUseLLM.java New annotation interface for indicating LLM usage capability
pom.xml Version bump from 1.7.0 to 1.8.0
README.md Version updates and documentation for experimental annotations

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@pcrane pcrane force-pushed the pcrane/feature/intestsusellm-experimental-annotation branch 2 times, most recently from 0ed43c6 to 60b432e Compare October 9, 2025 12:09
Copy link
Contributor

@roxspring roxspring left a comment

Choose a reason for hiding this comment

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

LGTM

This will allow Cover to interrogate LLMs on the annotated elements. The exact behaviour is to be determined (hence putting it in an `experimental` package).
@pcrane pcrane force-pushed the pcrane/feature/intestsusellm-experimental-annotation branch from 60b432e to 502f727 Compare October 16, 2025 21:22
@pcrane pcrane merged commit 723fff1 into develop Oct 16, 2025
1 check passed
@pcrane pcrane deleted the pcrane/feature/intestsusellm-experimental-annotation branch October 16, 2025 21:23
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