Skip to content

chore(otel): Remove RETRYING from AttemptEndInfoOutcome#679

Merged
SilanHe merged 6 commits into
mainfrom
remove-retrying-attempt-outcome
Jul 3, 2026
Merged

chore(otel): Remove RETRYING from AttemptEndInfoOutcome#679
SilanHe merged 6 commits into
mainfrom
remove-retrying-attempt-outcome

Conversation

@SilanHe

@SilanHe SilanHe commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Replace AttemptEndInfoOutcome.RETRYING with FAILED for attempt-level outcomes. Also removes the nextAttemptDelaySeconds field.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

hsilan and others added 3 commits July 2, 2026 11:04
Replace AttemptEndInfoOutcome.RETRYING with FAILED for attempt-level
outcomes. Whether a retry follows is already conveyed by the
nextAttemptDelaySeconds field on AttemptEndInfo, making a separate
RETRYING outcome redundant. This simplifies the attempt outcome to a
binary SUCCEEDED/FAILED.
The nextAttemptDelaySeconds field on AttemptEndInfo was only meaningful
when RETRYING was a distinct outcome. Now that attempts simply report
FAILED, this field is no longer needed in the plugin interface. The
internal checkpoint still tracks retry delay independently.
@SilanHe SilanHe changed the title refactor(plugin): Remove RETRYING from AttemptEndInfoOutcome chore(otel): Remove RETRYING from AttemptEndInfoOutcome Jul 2, 2026
@SilanHe SilanHe closed this Jul 2, 2026
@SilanHe SilanHe reopened this Jul 2, 2026
@SilanHe
SilanHe marked this pull request as ready for review July 2, 2026 18:38
@SilanHe
SilanHe requested a review from a team July 2, 2026 22:12
zhongkechen
zhongkechen previously approved these changes Jul 2, 2026
@zhongkechen

Copy link
Copy Markdown
Contributor

Tests failed

Comment thread packages/aws-durable-execution-sdk-js-otel/src/__tests__/plugin.test.ts Outdated
ParidelPooya
ParidelPooya previously approved these changes Jul 2, 2026
@SilanHe
SilanHe dismissed stale reviews from ParidelPooya and zhongkechen via 9717a90 July 2, 2026 22:48
@SilanHe
SilanHe merged commit 7141aae into main Jul 3, 2026
14 of 15 checks passed
@SilanHe
SilanHe deleted the remove-retrying-attempt-outcome branch July 3, 2026 16:38
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