~maas-committers/maas/+git/temporal:cloud/v1.24.0-m2

Last commit made on 2024-04-19
Get this branch:
git clone -b cloud/v1.24.0-m2 https://git.launchpad.net/~maas-committers/maas/+git/temporal

Branch merges

Branch information

Name:
cloud/v1.24.0-m2
Repository:
lp:~maas-committers/maas/+git/temporal

Recent commits

be3bbc6... by David Reiss <email address hidden>

Bump server version to 1.24.0-m2.6

ebf64c3... by David Reiss <email address hidden>

Fix deleting namespaces with only workflows in other division (#5760)

## What changed?
Followup to #5343, which didn't account for the situation where a
namespace has no workflows in the default namespace division, but has
some in another namespace division: The reclaim resources workflow first
does a Count of workflows before it does List and deletes what it finds.
The List was updated to search all divisions, but the initial Count was
not.

## Why?
Correctly delete namespaces in all cases

## How did you test it?
updated unit test, searched for all visibility manager calls and ensure
they have a Query

1e34a53... by Yichao Yang <email address hidden>

Do not retry namespace level resource exhausted error in service clients (#5757)

<!-- Describe what has changed in this PR -->
- Do not retry namespace level resource exhausted error in service
clients

<!-- Tell your future self why have you made these changes -->
- Backoff & retry will increase API latency and trigger alerts.
- Namespace level resource exhausted error even if returned won't count
against SLA.

<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
- Unit test

<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->

<!-- Have you made sure this change doesn't falsify anything currently
stated in `docs/`? If significant
new behavior is added, have you described that in `docs/`? -->

<!-- Is this PR a hotfix candidate or does it require a notification to
be sent to the broader community? (Yes/No) -->
- Yes.

2e39a75... by David Reiss <email address hidden>

Bump Server version to 1.24.0-m2.5

f09494f... by David Reiss <email address hidden>

Fix metrics in workflow task handler (#5738)

## What changed?
Use correct deprecated metrics for per-command metrics.

## Why?
This was broken in #5435, the deprecated metrics were collapsed to the
new CommandCounter metric, but that double-counts them and makes labels
inconsistent.

## How did you test it?
existing tests

81a6de1... by David Reiss <email address hidden>

Bump Server version to 1.24.0-m2.4

7e5bcc9... by Stephan Behnke <email address hidden>

WorkflowIdConflictPolicy default on History (#5701)

## What changed?
<!-- Describe what has changed in this PR -->

Set default for `WorkflowIdConflictPolicy` in History as well.

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

An issue can happen on downgrade where the Frontend is running a
previous version that doesn't set the default but the newer History
expects it.

## How did you test it?

Tested locally by commenting out the code in Frontend and History;
ensuring it fails and then re-enabling the code in History to verify it
fixes it.

## Potential risks

None; if there is a policy already, nothing happens.

## Documentation
<!-- Have you made sure this change doesn't falsify anything currently
stated in `docs/`? If significant
new behavior is added, have you described that in `docs/`? -->

## Is hotfix candidate?
<!-- Is this PR a hotfix candidate or does it require a notification to
be sent to the broader community? (Yes/No) -->

119eb93... by David Reiss <email address hidden>

Activate schedule workflow changes in #5179, #5277, #5344, and #5381 (#5698)

## What changed?
Activate schedule workflow logic changes. Some of this code is not in
1.23.0, but we can patch those PRs into 1.23.1 to support downgrades to
the 1.23 series.

## Why?
Fix bugs, support new features, make more efficient.

## How did you test it?
existing tests (on those PRs)

## Potential risks
schedule workflow determinism errors

914dc8d... by Tim Deeb-Swihart <email address hidden>

Add cloud/* branches to trigger-publish (#5696)

## What changed?
I added cloud/* branches to the list of branches we sync to
temporalio/docker-builds.

## Why?
We want these to be auto-built and kept in sync for testing

e3e7c03... by Temporal Data <email address hidden>

Bump Server version to 1.24.0-m2.3