Commit c989879
Implement preserve_on_clone flag system to fix condition cloning behavior (#1133)
* Initial plan
* Update test to validate current condition cloning issue
Co-authored-by: jdkent <[email protected]>
* Add comprehensive tests for condition cloning behavior and initial fix attempt
Co-authored-by: jdkent <[email protected]>
* Implement preserve_on_clone flag for condition cloning fix
Co-authored-by: jdkent <[email protected]>
* Add comprehensive integration test demonstrating successful condition cloning fix
Co-authored-by: jdkent <[email protected]>
* Refactor tests and fix style issues: separate schema and API tests
Co-authored-by: jdkent <[email protected]>
* Refactor condition cloning tests for clarity
Renamed tests for clarity and removed unused test.
* Remove unused import of pytest in test_condition_cloning
Removed unused import statement for pytest.
* Changes before error encountered
Co-authored-by: jdkent <[email protected]>
* fix tests to compare the right id ("external_id")
* remove redundant test files
* fix style
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: jdkent <[email protected]>
Co-authored-by: James Kent <[email protected]>1 parent 8edc158 commit c989879
File tree
3 files changed
+470
-16
lines changed- store/backend/neurostore
- schemas
- tests
- api
3 files changed
+470
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
77 | 101 | | |
78 | 102 | | |
79 | 103 | | |
| |||
132 | 156 | | |
133 | 157 | | |
134 | 158 | | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
144 | 191 | | |
145 | 192 | | |
146 | 193 | | |
| |||
182 | 229 | | |
183 | 230 | | |
184 | 231 | | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
185 | 237 | | |
186 | 238 | | |
187 | 239 | | |
| |||
0 commit comments