Skip to content

Test failed activation completion after requested eviction - #1592

Draft
mjameswh wants to merge 1 commit into
mainfrom
codex/lang-initiated-cache-eviction-poc
Draft

Test failed activation completion after requested eviction#1592
mjameswh wants to merge 1 commit into
mainfrom
codex/lang-initiated-cache-eviction-poc

Conversation

@mjameswh

@mjameswh mjameswh commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • clarify that an outstanding Workflow activation must be completed before a requested eviction can be delivered
  • cover a language-requested eviction followed by a failed outstanding activation
  • verify that a failure during replay bypasses pending replay jobs and produces removeFromCache with LangFail

Motivation

The TypeScript SDK proof of concept for language-initiated cache eviction can lose local Workflow state while Core still has an activation outstanding. The language side must fail that activation so Core can retire it and deliver the cache-removal activation.

Testing

  • cargo test -p temporalio-sdk-core failed_completion_after_eviction_releases_outstanding_replay_activation
  • cargo lint
  • cargo +nightly fmt --all --check

mjameswh commented Sep 4, 2026

Copy link
Copy Markdown
Contributor Author

Related TypeScript SDK proof of concept: temporalio/sdk-typescript#2399

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.

1 participant