Skip to content

Deprecate KnowsTask#1957

Merged
Goooler merged 3 commits into8.xfrom
copilot/deprecate-knows-task
Mar 3, 2026
Merged

Deprecate KnowsTask#1957
Goooler merged 3 commits into8.xfrom
copilot/deprecate-knows-task

Conversation

Copy link
Contributor

Copilot AI commented Mar 3, 2026

KnowsTask (the knows task) is marked for removal in the next major release. This PR adds the deprecation signal.

Changes

  • KnowsTask: Added @Deprecated annotation + @deprecated Javadoc; task action now emits a logger.warn deprecation message at runtime
  • Changelog: Added Deprecated entry under [Unreleased]

  • CHANGELOG's "Unreleased" section has been updated, if applicable.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • scans-in.gradle.com
    • Triggering command: /usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.xml/javax.xml.namespace=ALL-UNNAMED --add-opens=java.base/java.time=ALL-UNNAMED -Xmx4g -Dfile.encoding=UTF-8 -Duser.country -Duser.language=en -Duser.variant (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: Goooler <10363352+Goooler@users.noreply.github.com>
Copilot AI changed the title [WIP] Deprecate KnowsTask for upcoming release Deprecate KnowsTask Mar 3, 2026
@Goooler Goooler marked this pull request as ready for review March 3, 2026 12:01
@Goooler Goooler enabled auto-merge (squash) March 3, 2026 12:01
@Goooler Goooler disabled auto-merge March 3, 2026 12:02
@Goooler Goooler merged commit 2f6f1f5 into 8.x Mar 3, 2026
5 checks passed
@Goooler Goooler deleted the copilot/deprecate-knows-task branch March 3, 2026 12:02
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