Skip to content

contentutil: thread context through registry refs - #6985

Open
crazy-max wants to merge 1 commit into
moby:masterfrom
crazy-max:fix-provider-from-ref-context
Open

contentutil: thread context through registry refs#6985
crazy-max wants to merge 1 commit into
moby:masterfrom
crazy-max:fix-provider-from-ref-context

Conversation

@crazy-max

@crazy-max crazy-max commented Jul 25, 2026

Copy link
Copy Markdown
Member

relates to moby/moby#48830

This makes the contentutil registry helpers respect caller cancellation when resolving, fetching, and pushing registry refs. The previous implementation used context.TODO() inside the helper, which meant a hung or unresponsive registry request could outlive the test sandbox context and wait for the outer test timeout instead.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max
crazy-max force-pushed the fix-provider-from-ref-context branch from 7ec5688 to 5a052dc Compare August 24, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant