A4 — VM-reconcile damping (negative cache + single-peer catch-up)#1144
Merged
Jurij89 merged 28 commits intoJun 14, 2026
Merged
Conversation
added 11 commits
June 14, 2026 02:30
e9ff007 to
8ec512f
Compare
2 tasks
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
DKG_VM_RECONCILE_TOMBSTONE_AFTER_MS, default OFF) to advance the cursor after sustained max-backoff.Related
integration/issue-1138.Files changed
packages/agent/src/dkg-agent-swm-host.tspackages/agent/src/chain-reconciler.tspackages/agent/src/dkg-agent-base.tspackages/agent/src/dkg-agent-lifecycle.tspackages/agent/src/dkg-agent.tspackages/agent/src/finalization-handler.tspackages/agent/src/p2p/warm-core-connections.tsPlus focused regression tests for A4 and #934 fold-in behavior.
Test plan
node node_modules/typescript/bin/tsc -p packages/agent/tsconfig.jsonnode ../../node_modules/vitest/vitest.mjs run --config vitest.config.ts test/chain-reconciler.test.ts test/core-fills-gap.test.ts test/warm-core-connections.test.ts test/chain-reconcile-e2e.test.ts test/durable-sync-since-threading.test.ts test/sync-checkpoint-key.test.ts --reporter verbosenode ../../node_modules/vitest/vitest.mjs run --config vitest.config.ts test/sync-on-connect-retry.test.ts test/sync-requester-progress.test.ts --reporter verbose$env:NODE_PATH=(Resolve-Path .\node_modules).Path; node ../../node_modules/vitest/vitest.mjs run --config vitest.config.ts test/agent.part-16.test.ts --reporter verboseTargets
integration/issue-1138(notmain) so the heavy overlaps on agent lifecycle/base code are resolved once on the integration branch, which is promoted tomainin gated waves (see #1138).