interplane.Get Omega
Read in your language

synapse

A component of the AienOS ecosystem.

Brought by drakestapleton

branch main Branches Tags History

synapse / evidence / a1-binary-codec / red-green / red-addendum.txt

30 lines · 1559 bytes Raw Blame History
1# Red addendum (2026-10-14)
2
3## 1. a1_every_record_kind_matches_its_v1_json_form_in_both_directions
4In red.txt this test failed on its own fixture-size guard (records.len() >= 20; the
5fixture holds 16: 8 frames left in wal.log after its checkpoint, 8 in wal.v2.log), not on
6the codec. The guard was corrected to assert_eq!(records.len(), 16) and the test was rerun
7against the red commit 52a99fc (codec stubs) with only that correction applied:
8
9test a1_tests::a1_every_record_kind_matches_its_v1_json_form_in_both_directions ... FAILED
10
11failures:
12--
13thread '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:
14assertion `left == right` failed: codec version byte
15 left: None
16--
17test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 33 filtered out; finished in 0.00s
18
19error: 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)
22Written after the implementation; shown red by disabling the re-encode in
23SynapseStore::conform_v2 (condition forced false), then restored:
24
25test a1_tests::a1_record_prepared_before_the_migration_commits_in_the_new_codec ... FAILED
26thread '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:
27assertion `left == right` failed
28 left: [0]
29 right: [1]
30test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 34 filtered out; finished in 0.10s