From 2daa8a8f218de0793a2b9497c28823f222fd2ed9 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 20 Sep 2024 16:53:40 -0400 Subject: [PATCH] puzzling bug --- doc/todo/git-annex_proxies.mdwn | 37 +++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/doc/todo/git-annex_proxies.mdwn b/doc/todo/git-annex_proxies.mdwn index b105a8d427..a1c19f013b 100644 --- a/doc/todo/git-annex_proxies.mdwn +++ b/doc/todo/git-annex_proxies.mdwn @@ -30,6 +30,43 @@ Planned schedule of work: * Currently working in [[todo/proving_preferred_content_behavior]] +* sim: updateSimRepoState turns out to call preferredContentSet repeatedly + and also preferred content changes made part way through the sim + seem to not take effect. Test case is this, which should not end + by getting a file into bar that it no longer wants, and which was just + dropped. + + Note that this test case does not behave this way if the final + step is run in a separate git-annex sim command. It's only when + it's run by git-annex sim start that it does. + +seed 5338836154135478106 +init foo +init bar +connect foo <-> bar +addmulti 10 testfile 100.0kB 10.0MB foo +wanted bar anything +wanted foo anything +step 20 +present bar 6testfile +present bar 7testfile +present bar 9testfile +present bar 3testfile +present bar 10testfile +present bar 8testfile +present bar 2testfile +present bar 5testfile +present bar 1testfile +present bar 4testfile +step 3 +wanted bar nothing +step 3 +notpresent bar 7testfile +notpresent bar 4testfile +notpresent bar 9testfile +step 1 +present bar 9testfile + * bug sim step does not detect stabalization. Seems to keep getting files that are already in a repo.