synapse
A component of the AienOS ecosystem.
Brought by drakestapleton
synapse / evidence / a1-binary-codec / red-green / red-addendum.txt
| 1 | # Red addendum (2026-10-14) |
| 2 | |
| 3 | ## 1. a1_every_record_kind_matches_its_v1_json_form_in_both_directions |
| 4 | In red.txt this test failed on its own fixture-size guard (records.len() >= 20; the |
| 5 | fixture holds 16: 8 frames left in wal.log after its checkpoint, 8 in wal.v2.log), not on |
| 6 | the codec. The guard was corrected to assert_eq!(records.len(), 16) and the test was rerun |
| 7 | against the red commit 52a99fc (codec stubs) with only that correction applied: |
| 8 | |
| 9 | test a1_tests::a1_every_record_kind_matches_its_v1_json_form_in_both_directions ... FAILED |
| 10 | |
| 11 | failures: |
| 12 | -- |
| 13 | thread 'a1_tests::a1_every_record_kind_matches_its_v1_json_form_in_both_directions' (332449) panicked at crates/synapse-store/src/a1_tests.rs:148:5: |
| 14 | assertion `left == right` failed: codec version byte |
| 15 | left: None |
| 16 | -- |
| 17 | test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s |
| 18 | |
| 19 | error: test failed, to rerun pass `-p synapse-store --lib` |
| 20 | |
| 21 | ## 2. a1_record_prepared_before_the_migration_commits_in_the_new_codec (added after red.txt) |
| 22 | Written after the implementation; shown red by disabling the re-encode in |
| 23 | SynapseStore::conform_v2 (condition forced false), then restored: |
| 24 | |
| 25 | test a1_tests::a1_record_prepared_before_the_migration_commits_in_the_new_codec ... FAILED |
| 26 | thread 'a1_tests::a1_record_prepared_before_the_migration_commits_in_the_new_codec' (305528) panicked at crates/synapse-store/src/a1_tests.rs:866:5: |
| 27 | assertion `left == right` failed |
| 28 | left: [0] |
| 29 | right: [1] |
| 30 | test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 34 filtered out; finished in 0.10s |