Repository navigation
Commit cbc020e
committed
test(delegation): pin the child half of the parent-claim repair abort
What: the parent-half claim test now also asserts the child record reached
`interrupted` before the parent half aborted. The doc block on
`writeAdministrativeRepair` splits the abort outcome by half instead of
claiming nothing is committed in both cases.
Why: the test asserted only the parent half, so it passed whether or not the
child half committed. Skipping the child write left every existing assertion
green, which means the "child half committed, parent half aborted" shape the
test is named for was never pinned.
Impact: test-only assertion plus a comment correction. No production behavior
change; the changed-executable-line count drops from 496 to 493 because the
rewritten comment sits inside a counted span.1 parent a9d4c51 commit cbc020e
2 files changed
Lines changed: 9 additions & 3 deletions
File tree
- src/core/task-persistence
- __tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1033 | 1033 | | |
1034 | 1034 | | |
1035 | 1035 | | |
1036 | | - | |
1037 | | - | |
1038 | | - | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
1039 | 1044 | | |
1040 | 1045 | | |
1041 | 1046 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3980 | 3980 | | |
3981 | 3981 | | |
3982 | 3982 | | |
| 3983 | + | |
3983 | 3984 | | |
3984 | 3985 | | |
3985 | 3986 | | |
| |||
0 commit comments