Skip to content

fix(controller): use a custom cancel cause for canceling graph fetch jobs - #274

Merged
justinwon777 merged 4 commits into
mainfrom
sibling-context
Aug 7, 2026
Merged

fix(controller): use a custom cancel cause for canceling graph fetch jobs#274
justinwon777 merged 4 commits into
mainfrom
sibling-context

Conversation

@justinwon777

Copy link
Copy Markdown
Contributor

Cancelling a job's context on sibling failure now carries a distinct cause instead of the default context.Canceled, so it's clear the cancellation was self-inflicted rather than a client disconnect.

Test Plan

unit test

Issue

Cancelling a job's context on sibling failure now carries a distinct
cause instead of the default context.Canceled, so it's clear the
cancellation was self-inflicted rather than a client disconnect.
Extends the existing sibling-failure test to assert the cause.
@justinwon777
justinwon777 requested review from a team as code owners August 6, 2026 18:47
Comment thread controller/getchangedtargets.go
@justinwon777
justinwon777 merged commit e598d1d into main Aug 7, 2026
9 checks passed
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.

4 participants