Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
7e6d431
Add workflow-side signal-with-start through system Nexus
tconley1428 Oct 19, 2026
924c3d9
Document workflow signal-with-start APIs in changelog
tconley1428 Oct 19, 2026
b1b0239
Expose generated system APIs directly through Workflow
tconley1428 Oct 19, 2026
7ca3da7
Use the shared multi-language workflow service WIT verbatim
tconley1428 Oct 19, 2026
21ec7e1
Format generated system APIs during regeneration
tconley1428 Oct 19, 2026
d656923
Keep generated model converter scoping in SDK internals
tconley1428 Oct 20, 2026
6837e6d
Keep system envelope handling out of CodecDataConverter
tconley1428 Oct 20, 2026
52ae9ae
Preserve serialized embedded payloads in system Nexus models
tconley1428 Oct 20, 2026
4edb3ae
Revert "Preserve serialized embedded payloads in system Nexus models"
tconley1428 Oct 20, 2026
88a404b
Document generic requirements for payload-bearing responses
tconley1428 Oct 20, 2026
d52bfac
Expose generated workflow arguments and options API
tconley1428 Oct 20, 2026
354b4b4
Support typed workflow and signal callbacks in generated APIs
tconley1428 Oct 20, 2026
6ece9cf
Probe external stubs for direct bound-method workflow APIs
tconley1428 Oct 21, 2026
bc652d4
Merge workflow annotations through generated request hooks
tconley1428 Oct 21, 2026
72548ea
Keep signal-with-start arguments out of generated options
tconley1428 Oct 21, 2026
adb95cf
Verify system workflow codec contexts and reject unknown overrides
tconley1428 Oct 21, 2026
0e3c83d
Reuse SDK memo payload map conversion
tconley1428 Oct 21, 2026
cf9a44f
Put workflow ID and task queue in mandatory generated options
tconley1428 Oct 26, 2026
89dacc8
Resolve typed workflow identity and hide conversion helpers
tconley1428 Oct 26, 2026
dae3ccc
Regenerate System Nexus bindings with current nexgen
tconley1428 Nov 17, 2026
60faff4
Enable workflow signal-with-start in dev-server tests
tconley1428 Nov 17, 2026
da32832
Use generated system Nexus terminal hooks
tconley1428 Nov 17, 2026
da0d918
Preserve converter scoping and release notes after rebase
tconley1428 Nov 17, 2026
04fdadc
Validate signal-with-start with external storage end to end
tconley1428 Nov 17, 2026
903f6bb
Use captured method metadata in workflow conversion hooks
tconley1428 Nov 17, 2026
53fd1c5
Regenerate workflow APIs with Java SDK conventions
tconley1428 Nov 18, 2026
ad4441e
Propagate workflow headers through system Nexus terminals
tconley1428 Nov 18, 2026
5284c31
Reject unsupported inbound workflow argument conversion
tconley1428 Nov 18, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ to docs, or any other relevant information.
- Experimental Event Groups associate related workflow commands so their history events can be
viewed together. Create a group with `Workflow.newEventGroup` and attach it by calling
`addEventGroups` on the command's options.
- Add workflow-side signal-with-start through generated System Nexus APIs, with typed method
references, options builders, and outbound interceptor hooks. Requires a server supporting the
system workflow service. Task queue defaults to the calling workflow's task queue at invocation.

### Changed
- Updated Cloud API bindings to v0.27.0, including opt-in user group memberships, projects,
Expand Down
37 changes: 37 additions & 0 deletions temporal-sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ dependencies {
// we need to compile the code with Java 21 and package it in a multi-release jar.
// Similarly, Jackson 3 support requires Java 17+ and is compiled separately.
sourceSets {
main.java.srcDir 'src/main/generated'
java17 {
java {
srcDirs = ['src/main/java17']
Expand Down Expand Up @@ -338,3 +339,39 @@ tasks.named('check') {
dependsOn(testing.suites.jackson3Tests)
dependsOn(testing.suites.virtualThreadTests)
}

// Explicit regeneration keeps normal SDK builds independent of the Rust toolchain.
// Use -PnexgenBinary=/path/to/nexgen to test an unreleased generator.
def nexusGeneratedDir = layout.buildDirectory.dir('generated/nexus/workflow').get().asFile
def nexusCheckedInDir = file('src/main/generated/io/temporal/workflow')
def nexgenVersion = '0.2.12'
tasks.register('generateNexusSystemApi', Exec) {
dependsOn ':temporal-serviceclient:generateProto'
def binary = providers.gradleProperty('nexgenBinary').orElse('nexgen')
inputs.dir('src/main/nexus')
inputs.file(project(':temporal-serviceclient').layout.buildDirectory.file('generated/descriptors/temporal-api.desc'))
inputs.property('nexgenVersion', nexgenVersion)
outputs.dir(nexusGeneratedDir)
outputs.upToDateWhen { false }
commandLine binary.get(), 'java', file('src/main/nexus/workflow-service.wit'),
file('src/main/nexus/deps'), '--targets', 'workflow', '--system-nexus', '--format',
'--support-package', 'io.temporal.internal.nexus.system.TemporalModelConverters',
'--package-name', 'io.temporal.workflow',
'--descriptors', project(':temporal-serviceclient').layout.buildDirectory.file('generated/descriptors/temporal-api.desc').get().asFile,
'--output', nexusGeneratedDir
doFirst {
def versionOutput = new ByteArrayOutputStream()
project.exec { invocation ->
invocation.commandLine(binary.get(), '--version')
invocation.standardOutput = versionOutput
}
if (versionOutput.toString('UTF-8').trim() != "nexgen ${nexgenVersion}") {
throw new GradleException("System Nexus regeneration requires nexgen ${nexgenVersion} with the advanced feature.")
}
delete nexusGeneratedDir
}
doLast { project.sync { spec -> spec.from(nexusGeneratedDir); spec.into(nexusCheckedInDir) } }
}
tasks.matching { it.name == 'compileJava' || it.name.startsWith('spotless') }.configureEach {
mustRunAfter 'generateNexusSystemApi'
}
Loading
Loading