Files
tasks/docs/development
Stephan BehnkeandGitHub 7a298c2b5c Ban assert.X in favor of require.X (#9871)
## What changed?

Add lint rule that flags all `assert.*` and `protoassert.*` calls (with
an exclusion for assert.CollectT which is needed for EventuallyWithT
callbacks).

## Why?

Codify and enforce best practice.

## 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)

Added an invalid suite at
https://github.com/temporalio/temporal/pull/9871/changes/da7b125ea4c1c3583a58ad17d30bb6da1bd20676#diff-2c57794cee9b7afaa5f182010e066cb377afb52c58043c2f2554b8e44b6cd47e
and it showed:

<img width="2155" height="496" alt="Screenshot 2026-04-08 at 12 19
51 PM"
src="https://github.com/user-attachments/assets/5e569662-d520-4325-9d24-d09624ab8164"
/>


(https://github.com/temporalio/temporal/actions/runs/24153673025/job/70487178675?pr=9871#step:4:251)
2026-04-08 12:56:07 -07:00
..
2024-03-18 23:13:02 -07:00
2024-06-05 16:20:30 -07:00
2024-03-18 23:13:02 -07:00
2024-12-19 17:33:13 -08:00