Skip to content

fix(dsp): answer 503 a transfer completion or suspension while consumer not ready - #6272

Open
wolf4ood wants to merge 1 commit into
eclipse-edc:mainfrom
wolf4ood:fix/6270_completion_while_startup_requested
Open

wolf4ood wants to merge 1 commit into
eclipse-edc:mainfrom
wolf4ood:fix/6270_completion_while_startup_requested

Conversation

@wolf4ood

Copy link
Copy Markdown
Contributor

What this PR changes/adds

A TransferCompletionMessage or TransferSuspensionMessage that arrives while the consumer is still in
STARTUP_REQUESTED is now answered with 503 instead of 400, so the provider retries it instead of terminating the
transfer. The retry is accepted once the consumer has notified its data plane and moved to STARTED.

Why it does that

After accepting a start, the consumer stays in STARTUP_REQUESTED until its next state machine iteration. A fast
provider (e.g. a small push transfer) could complete in that window, get 400 and terminate a transfer whose data was
already delivered. Same "not ready yet" handling as #6248, no state transition changes.

Further notes

List other areas of code that have changed but are not necessarily linked to the main feature. This could be method
signature changes, package declarations, bugs that were encountered and were fixed inline, etc.

Who will sponsor this feature?

Please @-mention the committer that will sponsor your feature.

Linked Issue(s)

Closes #6270

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@wolf4ood wolf4ood added the bug Something isn't working label Nov 25, 2026
@wolf4ood wolf4ood changed the title fix(dsp): answer a transfer completion or suspension that arrives while the consumer is starting up with 503 fix(dsp): answer 503 a transfer completion or suspension while consumer not ready Nov 25, 2026
@wolf4ood wolf4ood self-assigned this Nov 25, 2026
@wolf4ood
wolf4ood marked this pull request as ready for review November 25, 2026 16:31
@wolf4ood
wolf4ood requested a review from a team as a code owner November 25, 2026 16:31

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consumer rejects a TransferCompletionMessage in STARTUP_REQUESTED, so the provider terminates a delivered transfer

1 participant