Repository navigation
feat: [5/6] add reserved payload cleanup worker tasks - #392
Open
wangbill (YunchuWang) wants to merge 1 commit into
Open
wangbill (YunchuWang) wants to merge 1 commit into
wangbill (YunchuWang) wants to merge 1 commit into
Conversation
Phase 5 of 6: preserve the .NET-aligned cleanup state machine in a worker-only module, register reserved tasks and wildcard filters, and reuse the current authenticated channel. Carry bounded deletion, retry/quarantine, deadline, batching, configuration and continue-as-new regressions. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 81e20512-d3a2-4f8e-a574-f396140ec9c7
This was referenced Oct 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
What changed?
Why is this change needed?
91739687. The complete stack preserves the original implementation atc9b53fcb3ab8585c4b3b22f9c0500cc9dd122c5a, with the documented instance-kind routing correction.Issues / work items
Project checklist
CHANGELOG.mdAI-assisted code disclosure (required)
Was an AI tool used? (select one)
If AI was used:
AI verification (required if AI was used):
These human attestations are intentionally left unchecked.
Testing
Automated tests
npm ci --offline --no-audit --no-fund— passed after the missing compiler was established.npm run buildandnpm run lint— passed independently without release/example/consumer-phase files.npm run test:unit -w @microsoft/durabletask-js -- --runTestsByPath test\payload-purge-client.spec.ts test\payload-purge-worker.spec.ts test\payload-purge-worker-transport.spec.ts test\work-item-filters.spec.ts test\worker-startup.spec.ts test\worker-versioning.spec.ts test\payload-transport.spec.ts— passed 134 tests in 7 suites.npm run test:unit -w @microsoft/durabletask-js-azuremanaged -- --runTestsByPath test\unit\worker-builder.spec.ts test\unit\payload-builders.spec.ts— passed 13 tests in 2 suites.git diff --check yunchuwang-payload-phase-4-client...HEAD— passed.Manual validation (only if runtime/behavior changed)
Notes for reviewers
mainyunchuwang-payload-phase-1-coreyunchuwang-payload-phase-2-sdkyunchuwang-payload-phase-3-blobyunchuwang-payload-phase-4-clientyunchuwang-payload-phase-5-workerMerge 1 → 2 → 3 → 4 → 5 → 6. Each PR targets its predecessor; retarget the next PR only after its prerequisite merges. Do not publish packages or describe a partial phase as the complete feature.