Skip to content

Mark Priority as stable - #3086

Open
yuandrew wants to merge 2 commits into
mainfrom
yuandrew/priority-stable
Open

yuandrew wants to merge 2 commits into
mainfrom
yuandrew/priority-stable

Conversation

@yuandrew

@yuandrew yuandrew commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

What was changed

Removed @Experimental from Priority and its API surfaces.

Why?

Priority is no longer experimental.

Checklist

  1. How was this tested:

    • ./gradlew --offline spotlessApply
    • ./gradlew --offline :temporal-sdk:compileJava
  2. Any docs updates needed?

    • No. The API status annotation is updated.

Note

Low Risk
Annotation-only API graduation with no runtime or behavioral changes.

Overview
Promotes task priority from experimental to stable in the Java SDK by dropping @Experimental on Priority and every public surface that exposes it.

Priority is no longer marked experimental. The same annotation is removed from getPriority() on ActivityInfo and WorkflowInfo, and from setPriority / getPriority on WorkflowOptions, ActivityOptions, and ChildWorkflowOptions. Behavior and types are unchanged; only API stability signaling updates. An unused Experimental import is removed from ActivityInfo.

Reviewed by Cursor Bugbot for commit 5ea5801. Bugbot is set up for automated code reviews on this repo. Configure here.

@yuandrew
yuandrew marked this pull request as ready for review September 17, 2026 02:40
@yuandrew
yuandrew requested a review from a team as a code owner September 17, 2026 02:40
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