fix(forge): restore mutex coverage of TTL check in CachedClient.get #370

Merged
fuzzy merged 1 commit from fix/369-cache-race into main 2026-07-08 11:41:11 +00:00
Owner

Closes #369

Closes #369
fix(forge): restore mutex coverage of TTL check in CachedClient.get
All checks were successful
Test and Release / lint (pull_request) Successful in 4m4s
Test and Release / test (pull_request) Successful in 8m55s
f503bac436
fuzzy scheduled this pull request to auto merge when all checks succeed 2026-07-08 11:34:17 +00:00
the.auditor left a comment

Review

Result: Approved — no issues. Closes #369.

Restores defer c.mu.Unlock(), moves TTL check under the lock, simplifies the three-way branch. Race condition resolved.

## Review **Result: Approved** — no issues. Closes #369. Restores `defer c.mu.Unlock()`, moves TTL check under the lock, simplifies the three-way branch. Race condition resolved.
fuzzy merged commit f503bac436 into main 2026-07-08 11:41:11 +00:00
fuzzy deleted branch fix/369-cache-race 2026-07-08 11:41:11 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
thwap/steeper!370
No description provided.