Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge branch 'next-server' into main #737

Merged
merged 8 commits into from
Jan 13, 2025
Merged

Conversation

josh-berry
Copy link
Collaborator

The only semantically-notable conflicts were version bumps in go.mod.
Everything else was cosmetic and this was otherwise a very clean merge.

rodrigozhou and others added 7 commits November 18, 2024 17:30
<!--- Note to EXTERNAL Contributors -->
<!-- Thanks for opening a PR! 
If it is a significant code change, please **make sure there is an open
issue** for this.
We work best with you when we have accepted the idea first before you
code. -->

<!--- For ALL Contributors 👇 -->

## What was changed
<!-- Describe what has changed in this PR -->
Fix register search attributes when starting server

## Why?
<!-- Tell your future self why have you made these changes -->
Currently, search attributes are registered after the server is ready,
which can cause race condition with other processes waiting for the
server to become ready too. This PR fixes this by registering the search
attributes together with the namespaces.

Address temporalio/temporal#6195

## Checklist
<!--- add/delete as needed --->

1. Closes <!-- add issue number here -->

2. How was this tested:
<!--- Please describe how you tested your changes/how we can test them
-->

3. Any docs updates needed?
<!--- update README if applicable
      or point out where to update docs.temporal.io -->
…back (#706)

<!--- Note to EXTERNAL Contributors -->
<!-- Thanks for opening a PR! 
If it is a significant code change, please **make sure there is an open
issue** for this.
We work best with you when we have accepted the idea first before you
code. -->

<!--- For ALL Contributors 👇 -->

## What was changed
<!-- Describe what has changed in this PR -->
Show BLOCKED state for pending nexus operation, cancelation, and
callback.

## Why?
<!-- Tell your future self why have you made these changes -->

## Checklist
<!--- add/delete as needed --->

1. Closes <!-- add issue number here -->

2. How was this tested:
<!--- Please describe how you tested your changes/how we can test them
-->

3. Any docs updates needed?
<!--- update README if applicable
      or point out where to update docs.temporal.io -->
<!--- Note to EXTERNAL Contributors -->
<!-- Thanks for opening a PR! 
If it is a significant code change, please **make sure there is an open
issue** for this.
We work best with you when we have accepted the idea first before you
code. -->

<!--- For ALL Contributors 👇 -->

## What was changed
<!-- Describe what has changed in this PR -->
Add update-options to the CLI
(note - I closed previous PR for main)

## Why?
<!-- Tell your future self why have you made these changes -->
To support UpdateActivity API

## Checklist
<!--- add/delete as needed --->

1. Closes <!-- add issue number here -->

2. How was this tested:
<!--- Please describe how you tested your changes/how we can test them
-->
Add tests.

3. Any docs updates needed?
<!--- update README if applicable or point out where to update
docs.temporal.io -->
Yes, but not in this PR.

---------

Co-authored-by: Chad Retz <chad@temporal.io>
<!--- Note to EXTERNAL Contributors -->
<!-- Thanks for opening a PR! 
If it is a significant code change, please **make sure there is an open
issue** for this.
We work best with you when we have accepted the idea first before you
code. -->

<!--- For ALL Contributors 👇 -->

## What was changed
<!-- Describe what has changed in this PR -->
Add pause/unpause activity API.

## Why?
<!-- Tell your future self why have you made these changes -->
Part of the activity API work.

## Checklist
<!--- add/delete as needed --->

1. Closes <!-- add issue number here -->

2. How was this tested:
<!--- Please describe how you tested your changes/how we can test them
-->

3. Any docs updates needed?
<!--- update README if applicable
      or point out where to update docs.temporal.io -->

---------

Co-authored-by: Josh Berry <josh.berry@temporal.io>
Co-authored-by: Chad Retz <chad@temporal.io>
Also upgrade server to `v1.26.2-rc.0`.

The server depends on the Nexus SDK, which expects an `slog.Logger`, the
server will do best effort conversion from `common/log.Log` to
`slog.Logger` but providing access to the underlying `slog.Logger` gives
better control that the default shim provided by the server.
<!--- Note to EXTERNAL Contributors -->
<!-- Thanks for opening a PR! 
If it is a significant code change, please **make sure there is an open
issue** for this.
We work best with you when we have accepted the idea first before you
code. -->

<!--- For ALL Contributors 👇 -->

## What was changed
<!-- Describe what has changed in this PR -->
Add CLI support for Reset activity API

## Why?
<!-- Tell your future self why have you made these changes -->
Part of the activity API work.

---------

Co-authored-by: Chad Retz <chad@temporal.io>
@josh-berry josh-berry requested a review from a team January 13, 2025 16:53
The only semantically-notable conflicts were version bumps in `go.mod`.
Everything else was cosmetic and this was otherwise a very clean merge.

Closes #737.
@josh-berry josh-berry force-pushed the josh/merge-next-server branch from 1cfaccd to 911a786 Compare January 13, 2025 17:02
@josh-berry
Copy link
Collaborator Author

(Note: I plan to merge this manually/without squashing so we keep a record of the individual commits in next-server in main's history.)

@josh-berry josh-berry merged commit 911a786 into main Jan 13, 2025
7 checks passed
@josh-berry josh-berry deleted the josh/merge-next-server branch January 13, 2025 17:24
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.

6 participants