Skip to content

Commit ebe8b6b

Browse files
Link sync test stubs to sync plan test IDs in ignore reasons
1 parent 23602de commit ebe8b6b

4 files changed

Lines changed: 41 additions & 41 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/target
2-
.claude/
2+
.claude
33
spikes/
44
*.swp
55
*.swo

tests/integration/gate_a_primitives.rs

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1982,83 +1982,83 @@ fn a8_11_single_file_operation() {
19821982
}
19831983

19841984
#[test]
1985-
#[ignore = "requires sync primitives"]
1985+
#[ignore = "sync plan: engine trait tests (A9-01)"]
19861986
fn a9_01_push_returns_rows_since_watermark() {
19871987
let _db = setup_ontology_db();
19881988
// TODO: build sync_push watermark fixture and assert only rows with lsn > since_lsn are returned.
1989-
todo!("requires sync primitives");
1989+
todo!("sync plan: engine trait tests");
19901990
}
19911991

19921992
#[test]
1993-
#[ignore = "requires sync primitives"]
1993+
#[ignore = "sync plan: engine trait tests (A9-02)"]
19941994
fn a9_02_pull_inserts_new_rows() {
19951995
let _db = setup_ontology_db();
19961996
// TODO: apply edge changeset to server via sync_pull and assert all rows materialize.
1997-
todo!("requires sync primitives");
1997+
todo!("sync plan: engine trait tests");
19981998
}
19991999

20002000
#[test]
2001-
#[ignore = "requires sync primitives"]
2001+
#[ignore = "sync plan: engine trait tests (A9-03)"]
20022002
fn a9_03_pull_conflict_server_wins() {
20032003
let _db = setup_ontology_db();
20042004
// TODO: conflict fixture with ServerWins policy and assert server state preserved.
2005-
todo!("requires sync primitives");
2005+
todo!("sync plan: engine trait tests");
20062006
}
20072007

20082008
#[test]
2009-
#[ignore = "requires sync primitives"]
2009+
#[ignore = "sync plan: engine trait tests (A9-04)"]
20102010
fn a9_04_pull_conflict_latest_wins() {
20112011
let _db = setup_ontology_db();
20122012
// TODO: conflict fixture with timestamps and LatestWins policy.
2013-
todo!("requires sync primitives");
2013+
todo!("sync plan: engine trait tests");
20142014
}
20152015

20162016
#[test]
2017-
#[ignore = "requires sync primitives"]
2017+
#[ignore = "sync plan: engine trait tests (A9-05)"]
20182018
fn a9_05_pull_conflict_edge_wins() {
20192019
let _db = setup_ontology_db();
20202020
// TODO: conflict fixture with EdgeWins policy.
2021-
todo!("requires sync primitives");
2021+
todo!("sync plan: engine trait tests");
20222022
}
20232023

20242024
#[test]
2025-
#[ignore = "requires sync primitives"]
2025+
#[ignore = "sync plan: engine trait tests (A9-06)"]
20262026
fn a9_06_observations_never_conflict() {
20272027
let _db = setup_ontology_db();
20282028
// TODO: merge append-only observations from both sides and assert union with no conflict records.
2029-
todo!("requires sync primitives");
2029+
todo!("sync plan: engine trait tests");
20302030
}
20312031

20322032
#[test]
2033-
#[ignore = "requires sync primitives"]
2033+
#[ignore = "sync plan: engine trait tests (A9-07)"]
20342034
fn a9_07_watermark_advances_after_sync() {
20352035
let _db = setup_ontology_db();
20362036
// TODO: assert push/pull watermarks advance to max LSN.
2037-
todo!("requires sync primitives");
2037+
todo!("sync plan: engine trait tests");
20382038
}
20392039

20402040
#[test]
2041-
#[ignore = "requires sync primitives"]
2041+
#[ignore = "sync plan: engine trait tests (A9-08)"]
20422042
fn a9_08_sync_is_deterministic() {
20432043
let _db = setup_ontology_db();
20442044
// TODO: run identical sync sequence twice and assert equal final state snapshots.
2045-
todo!("requires sync primitives");
2045+
todo!("sync plan: engine trait tests");
20462046
}
20472047

20482048
#[test]
2049-
#[ignore = "requires sync primitives"]
2049+
#[ignore = "sync plan: engine trait tests (A9-09)"]
20502050
fn a9_09_memory_to_memory_sync() {
20512051
let _db = setup_ontology_db();
20522052
// TODO: sync between two open_memory databases without persistence.
2053-
todo!("requires sync primitives");
2053+
todo!("sync plan: engine trait tests");
20542054
}
20552055

20562056
#[test]
2057-
#[ignore = "requires redb persistence"]
2057+
#[ignore = "sync plan: engine trait tests (A9-10) + requires redb persistence"]
20582058
fn a9_10_sync_round_trip_with_persistence() {
20592059
let _db = setup_ontology_db();
20602060
// TODO: full edge/server persisted round-trip and reopen validation.
2061-
todo!("requires redb persistence + sync primitives");
2061+
todo!("sync plan: engine trait tests + requires redb persistence");
20622062
}
20632063

20642064
#[test]

tests/integration/gate_b_workflows.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4300,11 +4300,11 @@ fn b18_04_high_frequency_write_throughput() {
43004300
}
43014301

43024302
#[test]
4303-
#[ignore = "requires sync primitives"]
4303+
#[ignore = "sync plan: NT-07 (offline batch sync)"]
43044304
fn b18_05_offline_accumulate_batch_sync() {
43054305
let _db = setup_ontology_db();
43064306
// TODO: build edge/server offline accumulation fixture using sync_push/sync_pull and assert all rows, edges, snapshots, and watermarks.
4307-
todo!("requires sync primitives");
4307+
todo!("sync plan: NT-07");
43084308
}
43094309

43104310
#[test]

tests/integration/gate_c_d_lifecycle.rs

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -534,11 +534,11 @@ fn c4_01_pattern_generates_system_intention() {
534534
}
535535

536536
#[test]
537-
#[ignore = "requires sync primitives"]
537+
#[ignore = "sync plan: NT-06 (initial sync)"]
538538
fn c4_02_pattern_propagation_to_new_context() {
539539
let _db = setup_ontology_db();
540540
// TODO: sync server pattern with scope labels to newly created matching edge context.
541-
todo!("requires sync primitives");
541+
todo!("sync plan: NT-06");
542542
}
543543

544544
#[test]
@@ -993,67 +993,67 @@ fn d1_03_cascade_invalidation_full_chain() {
993993
}
994994

995995
#[test]
996-
#[ignore = "requires sync primitives"]
996+
#[ignore = "sync plan: NT-01 (push round-trip)"]
997997
fn d2_01_edge_pushes_observations_to_server() {
998998
let _db = setup_ontology_db();
999999
// TODO: sync_push/sync_pull edge observations to server and validate data + watermark.
1000-
todo!("requires sync primitives");
1000+
todo!("sync plan: NT-01");
10011001
}
10021002

10031003
#[test]
1004-
#[ignore = "requires sync primitives"]
1004+
#[ignore = "sync plan: NT-02 (pull round-trip)"]
10051005
fn d2_02_server_pushes_patterns_to_edge() {
10061006
let _db = setup_ontology_db();
10071007
// TODO: sync server-created patterns to edge context with matching labels.
1008-
todo!("requires sync primitives");
1008+
todo!("sync plan: NT-02");
10091009
}
10101010

10111011
#[test]
1012-
#[ignore = "requires sync primitives"]
1012+
#[ignore = "sync plan: NT-03 (bidirectional sync)"]
10131013
fn d2_03_bidirectional_sync_round_trip() {
10141014
let _db = setup_ontology_db();
10151015
// TODO: full bidirectional sync cycle with empty-second-sync assertion.
1016-
todo!("requires sync primitives");
1016+
todo!("sync plan: NT-03");
10171017
}
10181018

10191019
#[test]
1020-
#[ignore = "requires sync primitives"]
1020+
#[ignore = "sync plan: A9-03/04/05 (conflict resolution)"]
10211021
fn d2_04_sync_with_conflict_resolution() {
10221022
let _db = setup_ontology_db();
10231023
// TODO: LatestWins conflict resolution fixture with preserved append-only observations.
1024-
todo!("requires sync primitives");
1024+
todo!("sync plan: A9-03/04/05");
10251025
}
10261026

10271027
#[test]
1028-
#[ignore = "requires redb persistence"]
1028+
#[ignore = "sync plan: A9-10 + requires redb persistence"]
10291029
fn d2_05_sync_survives_persistence() {
10301030
let _db = setup_ontology_db();
10311031
// TODO: run persisted sync round-trip then reopen and assert watermarks/data.
1032-
todo!("requires redb persistence + sync primitives");
1032+
todo!("sync plan: A9-10 + requires redb persistence");
10331033
}
10341034

10351035
#[test]
1036-
#[ignore = "requires sync primitives"]
1036+
#[ignore = "sync plan: NT-09 (cross-edge clustering)"]
10371037
fn d3_01_embedding_correlation_to_pattern() {
10381038
let _db = setup_ontology_db();
10391039
// TODO: correlate cross-edge embeddings, create pattern after min-occurrence threshold.
1040-
todo!("requires sync primitives");
1040+
todo!("sync plan: NT-09");
10411041
}
10421042

10431043
#[test]
1044-
#[ignore = "requires sync primitives"]
1044+
#[ignore = "sync plan: NT-02 (pull round-trip)"]
10451045
fn d3_02_pattern_propagation_to_existing_edges() {
10461046
let _db = setup_ontology_db();
10471047
// TODO: propagate server-created pattern to participating edges.
1048-
todo!("requires sync primitives");
1048+
todo!("sync plan: NT-02");
10491049
}
10501050

10511051
#[test]
1052-
#[ignore = "requires sync primitives"]
1052+
#[ignore = "sync plan: NT-06 (initial sync)"]
10531053
fn d3_03_new_edge_inherits_patterns() {
10541054
let _db = setup_ontology_db();
10551055
// TODO: new edge context sync-pull receives scoped collective pattern.
1056-
todo!("requires sync primitives");
1056+
todo!("sync plan: NT-06");
10571057
}
10581058

10591059
#[test]

0 commit comments

Comments
 (0)