Skip to content

Sano support#1075

Draft
Quinn-With-Two-Ns wants to merge 4 commits into
release/1.7.x-standalone-nexus-operationsfrom
sano-support
Draft

Sano support#1075
Quinn-With-Two-Ns wants to merge 4 commits into
release/1.7.x-standalone-nexus-operationsfrom
sano-support

Conversation

@Quinn-With-Two-Ns
Copy link
Copy Markdown
Contributor

@Quinn-With-Two-Ns Quinn-With-Two-Ns commented Jun 2, 2026

What changed?

Add support for stand alone nexus operations to the CLI.

Checklist

Stability

  • Breaking changes are marked with 💥 in the PR title and release notes
  • Changes to JSON output (-o json / -o jsonl) are treated as breaking changes

Design

  • This feature does not depend on Cloud-only APIs or behavior (it works against an OSS server)
  • New commands follow temporal <noun> <verb> structure (e.g. temporal workflow start)
  • New flags are named after the API concept, not the implementation mechanism (good: --search-attribute, bad: --index-field)
  • New flags don't duplicate an existing flag that serves the same purpose
  • New flags do not have short aliases without strong justification
  • Experimental features are marked with (Experimental) in commands.yaml

Help text (see style guide at the top of commands.yaml)

  • All flags shown in help text and examples are implemented and functional
  • Summaries use sentence case and have no trailing period
  • Long descriptions end with a period and include at least one example invocation
  • Examples use long flags (--namespace, not -n), one flag per line
  • Placeholder values use YourXxx form (YourWorkflowId, YourNamespace)

Behavior

  • Results go to stdout; errors and warnings go to stderr
  • Error messages are lowercase with no trailing punctuation

Tests

  • Added functional test(s) (SharedServerSuite)
  • Added unit test(s) (func TestXxx) where applicable

Manual tests

Setup

  temporal operator nexus endpoint create                                                                                                  
      --name my-endpoint                                                                                                                 
      --target-namespace default
      --target-task-queue my-tq

Happy path

  $ temporal nexus operation start                                                                                                         
      --endpoint my-endpoint      
      --service my-service                                                                                                                 
      --operation my-op                                                                                                                  
      --operation-id my-op-1
      --input '"hello"'     
  Started Nexus Operation:                                                                                                                 
    Endpoint    my-endpoint
    Service     my-service                                                                                                                 
    Operation   my-op                                                                                                                    
    OperationId my-op-1
    RunId       7e7c8b2a-...-...
    Namespace   default

Error case

  $ temporal nexus operation start                                                                                                         
      --service my-service                                                                                                                 
      --operation my-op   
      --operation-id my-op-2                                                                                                               
  Error: required flag(s) "endpoint" not set                                                                                             

Composition — start an operation, then fetch its result, then list/describe:

  $ temporal nexus operation start
      --endpoint my-endpoint                                                                                                               
      --service my-service                                                                                                               
      --operation my-op                                                                                                                    
      --operation-id my-op-3
      --input '"world"'                                                                                                                    
                                                                                                                                         
  $ temporal nexus operation result --operation-id my-op-3
  Results:                                                                                                                                 
    Status  COMPLETED
    Result  "got: world"                                                                                                                   
                                                                                                                                         
  $ temporal nexus operation describe --operation-id my-op-3
    OperationId            my-op-3
    RunId                  7e7c8b2a-...-...                                                                                                
    Endpoint               my-endpoint
    Service                my-service                                                                                                      
    Operation              my-op                                                                                                         
    Status                 Succeeded                                                                                                       
    ...

fretz12 and others added 2 commits June 2, 2026 11:51
Security-only dependency bumps for CLI v1.7.1, shipping in the OSS
server v1.31.1 admin-tools image.

- Go toolchain 1.26.2 -> 1.26.3 — clears stdlib HIGH CVEs visible in
admin-tools image scans (CVE-2026-39820, -42499, -39836, -33814, -33811,
-42501).
- github.com/gomarkdown/markdown v0.0.0-20250311... ->
v0.0.0-20260411013819-759bbc3e3207 — clears GHSA-77fj-vx54-gvh7 /
CVE-2026-40890. Indirect dep pulled in via the embedded UI server.
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