mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-04 02:04:03 +00:00
## What changed? 1. Impl to write IsCloseTransferTaskAcked and IsForceReplication flags on replication stream. 2. Impl for a replication stream interceptor, which fully intercepts client and server and stores calls in-memory for us to assert against. Also writes to log files so we can reason about/follow logs without touching server code (this impl does not immediately log to file for perf reasons). 3. Accompanying tests (unit and functional) ## Why? This is part of a larger change to optimize passive task processing by no-oping side-effects of task processing depending on if we can deem that the task has already been processed on the parent. Will expand further in the next PR. ## How did you test it? - [x] built - [x] run locally and tested manually - [x] covered by existing tests - [x] added new unit test(s) - [x] added new functional test(s) `michaely520 ~/projects/temporal % go test -v -tags test_dep ./tests/xdc -run TestStreamBasedReplicationTestSuite/EnableTransitionHistory/TestCloseTransferTaskAckedReplication -timeout 10m -count=1`