Skip to content

Conversation

Shivs11
Copy link
Member

@Shivs11 Shivs11 commented Sep 30, 2025

What was changed

  • WISOTT

Why?

  • Extend the controller to users who use API's to connect to Temporal cloud namespaces

Checklist

  1. Closes
    Add API Keys support #144

  2. How was this tested:

  • Added unit tests
  • Ran the controller locally with both API and mTLS auth
  • Existing suite of integration tests
  1. Any docs updates needed?
  • Updated demo README and relevant scripts as they were out of date.

if config.RolloutStrategy.Gate == nil ||
status.CurrentVersion == nil ||
status.CurrentVersion.BuildID == status.TargetVersion.BuildID ||
(status.CurrentVersion != nil && status.CurrentVersion.BuildID == status.TargetVersion.BuildID) ||
Copy link
Member Author

Choose a reason for hiding this comment

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

This is required but is part of a different open PR: #148

if _, err := c.CheckHealth(context.Background(), &client.CheckHealthRequest{}); err != nil {
panic(err)
}
// if _, err := c.CheckHealth(context.Background(), &client.CheckHealthRequest{}); err != nil {
Copy link
Member Author

Choose a reason for hiding this comment

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

I found out that when paired with API keys, this API call does not work - the only other call that could work is GetSystemInfo but I am not totally sure if we require this over here since we would be notified from client.Dial if anything has gone wrong between connecting our client to the server accepting our client connection

@Shivs11 Shivs11 marked this pull request as ready for review September 30, 2025 17:17
@Shivs11 Shivs11 requested review from jlegrone and a team as code owners September 30, 2025 17:17
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.

1 participant