Skip to content

fix: data race - #1197

Merged
jranson merged 1 commit into
trickstercache:mainfrom
jranson:jr/fix-tests
Oct 19, 2026
Merged

jranson merged 1 commit into
trickstercache:mainfrom
jranson:jr/fix-tests

Conversation

@jranson

@jranson jranson commented Oct 19, 2026

Copy link
Copy Markdown
Member

Description

This fixes an async retirement race where retired (e.g., Context Canceled) origin requests could return results anyway depending upon how quickly an upstream request is made versus to how quickly the retirement is processed. Surfaced in failed test on merge to main.

Type of Change

    • Bug fix
    • New feature
    • Optimization
    • Test coverage
    • Documentation
    • Infrastructure

AI Disclosure

    • This contribution DOES NOT include AI-generated changes
    • This contribution DOES include AI-generated changes, and I have reviewed the relevant contributing guidelines.

Signed-off-by: James Ranson <james@ranson.org>
@jranson
jranson requested a review from a team as a code owner October 19, 2026 20:26
@jranson
jranson merged commit cfcc7a2 into trickstercache:main Oct 19, 2026
9 checks passed
@jranson
jranson deleted the jr/fix-tests branch November 1, 2026 06:32
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.

1 participant