Files
temporal/cmd
Stephan Behnke 31cd0298ae Auto balance shards (#9236)
## What changed?

Adds script and workflow to auto-update functional test sharding salt.

It downloads the previous JUnit XMLs and finds a salt that balances them
well.

Also added a new variable to store the salt:

<img width="812" height="64" alt="Screenshot 2026-02-05 at 5 59 42 PM"
src="https://github.com/user-attachments/assets/27316baa-03d7-4d0f-8700-9ead9cf322e8"
/>

## Why?

Balanced test run shards lead to lower PR test time.

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

AFAIK there's no way to run the new GitHub action before merging ... but
I ran the script locally successfully.

## Potential risks

Given that we have some flakiness, the PR to update it might fail;
requiring human intervention.
2026-02-08 22:12:31 +00:00
..
2026-02-08 22:12:31 +00:00