Skip to content

Cherry-pick PRs labeled for v1.31.3 release - #12039

Merged
simvlad merged 7 commits into
release/v1.31.xfrom
simvlad/cherrypick-1-31-3
Sep 14, 2026
Merged

simvlad merged 7 commits into
release/v1.31.xfrom
simvlad/cherrypick-1-31-3

Conversation

@simvlad

@simvlad simvlad commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

What changed?

Cherry-picks the PRs labeled release/1.31.3 onto release/v1.31.x.
Merge conflicts were confined to test and CI code (plus the dependency pins in go.mod/go.sum)

List of PRs:

Also contains additional fixes:

Why?

Security and reliability patch release for 1.31.3.

How did you test it?

  • built
  • run locally and tested manually
  • covered by existing tests
  • added new unit test(s)
  • added new functional test(s)

Potential risks

N/A

rodrigozhou and others added 6 commits September 11, 2026 17:07
Update sqlparser dependency to latest commit

Include latest changes in the sqlparser.

- [x] built
- [ ] run locally and tested manually
- [ ] covered by existing tests
- [ ] added new unit test(s)
- [ ] added new functional test(s)

(cherry picked from commit 4742842)
Bump `github.com/temporalio/ringpop-go` to `v0.1.0` and
`github.com/temporalio/tchannel-go` to `v1.22.1`, replacing the previous
commit pseudo-versions.

Picks up ringpop-go#22 (bounds label and member resource usage on
incoming membership changes, fixes a state-transition timer leak) and
tchannel-go#14 (returns errors instead of panicking on malformed call
frames).

Pull the membership/transport robustness fixes from both forks into the
server. Both forks are now tagged, so we can pin real releases instead
of commit hashes.

- [x] built
- [x] covered by existing tests

(cherry picked from commit 5407c36)
Update sqlparser to v0.1.0. It's actually no-op since it points to the
same commit.

Use tagged version instead of commit.

- [ ] built
- [ ] run locally and tested manually
- [ ] covered by existing tests
- [ ] added new unit test(s)
- [ ] added new functional test(s)

(cherry picked from commit 461c0d3)
…nanos component (#11564)

Change datetime format to always include nanos component in
Elasticsearch Visibility.
Also added Visibility integration tests with Elasticsearch.

With Elasticsearch, comparing dates without explicitly specifying all
components can lead to unexpected results.
Eg: `StartTime = '2023-04-05T06:07:08Z'` would match a workflow with
`StartTime = '2023-04-05T06:07:08.100000000Z'`.
This behavior is unexpected and can mess up with pagination.
This PR fixes it so missing nanos components is always specified (in the
example, it would be filled with 0s).

- [x] built
- [x] run locally and tested manually
- [ ] covered by existing tests
- [x] added new unit test(s)
- [x] added new functional test(s)

(cherry picked from commit adaa8f0)
## What changed?
Apply same optimizations in
#10371 for v1.14.

## Why?
Better upgrade script.

## How did you test it?
- [ ] built
- [ ] run locally and tested manually
- [x] covered by existing tests
- [ ] added new unit test(s)
- [ ] added new functional test(s)

## Potential risks

(cherry picked from commit f3ebe4f)
`GetWorkflowExecutionHistory` and `GetWorkflowExecutionHistoryReverse`
now check `branch_token` in the page token against the token in mutable
state.

To confirm if it is still the correct branch after conflict resolution.

- [x] built
- [x] run locally and tested manually
- [x] covered by existing tests
- [x] added new unit test(s)
- [x] added new functional test(s)

(cherry picked from commit ceb1cc1)

Backport note: the two functional tests added to tests/gethistory_test.go are
omitted. They need testcore.WithHistoryShardCount and the GetHistorySuite
TestEnv wiring, neither of which exists on release/v1.31.x. The unit tests in
service/history/api/token_test.go and service/history/history_engine_test.go
cover the validation logic.
@simvlad
simvlad requested review from a team as code owners September 12, 2026 02:47
auto-scaled-workers v0.0.0-1.31.2 (#12037) makes the compute provider
registry fail closed: GetComputeProvider dropped the `enabledProviders !=
nil` guard, so an unset workercontroller.compute_providers.enabled now
enables no provider at all rather than every registered one. The suite
never set that list, so every compute-config test fails with

    sg1: Could not instantiate compute provider with type 'test-invoke'

Name the provider the suite uses. Test-only; the server default is
untouched.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@simvlad
simvlad merged commit c82a2d2 into release/v1.31.x Sep 14, 2026
70 checks passed
@simvlad
simvlad deleted the simvlad/cherrypick-1-31-3 branch September 14, 2026 16: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.

4 participants