interplane.Get Omega
Read in your language

synapse

A component of the AienOS ecosystem.

Brought by drakestapleton

branch main Branches Tags History

synapse / evidence / h1-git-bridge / red-green / hostile-green.txt

41 lines · 2606 bytes Raw Blame History
1# Green (2026-10-17, review of PR #90 findings B1 and B2, fixed code)
2# Command: cargo test --locked -p synapse-git --test h1_hostile_repo --test h1_read_limits
3
4running 8 tests
5test h1_hostile_oversized_reference_file_is_refused ... ok
6test h1_hostile_fifo_reference_is_refused_without_blocking ... ok
7test h1_hostile_fifo_loose_object_is_refused_without_blocking ... ok
8test h1_hostile_reference_linked_to_dev_zero_is_refused ... ok
9test h1_detached_head_commit_is_collected ... ok
10test h1_hostile_fifo_packed_refs_and_head_are_refused_without_blocking ... ok
11test h1_hostile_reference_linked_outside_the_repository_is_refused ... ok
12test h1_hostile_delta_bomb_pack_is_refused_before_it_is_resolved ... ok
13
14test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.66s
15
16
17running 4 tests
18test h1_lock_files_under_refs_are_skipped ... ok
19test h1_pack_file_and_ref_file_caps_are_enforced ... ok
20test h1_per_object_cap_is_enforced_for_packed_and_loose_objects ... ok
21test h1_total_object_budget_is_enforced_for_packed_and_loose_objects ... ok
22
23test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
24
25# Command: cargo test --locked --workspace (358 passed, 0 failed, 2 ignored, 46 test binaries; includes the unit test a_file_swapped_for_a_pipe_or_link_after_the_check_is_refused_without_blocking)
26
27# Real repository with default ReadLimits: git clone --mirror https://github.com/aien-dev/synapse
28# Command: SYNAPSE_H1_REAL_REPO=<mirror> /usr/bin/time -v cargo test --locked -p synapse-git --test h1_git_bridge -- --ignored --nocapture h1_real_repository
29real repository synapse.git: 1915 objects (180 commits), 75 refs, pack 72477923 bytes
30test h1_real_repository_full_history_round_trips_with_identical_object_ids ... ok
31test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 15.35s
32Maximum resident set size (kbytes): 225996
33
34# Real repository with default ReadLimits: git clone --mirror https://github.com/aien-dev/omega
35# Command: SYNAPSE_H1_REAL_REPO=<mirror> /usr/bin/time -v cargo test --locked -p synapse-git --test h1_git_bridge -- --ignored --nocapture h1_real_repository
36test h1_real_repository_full_history_round_trips_with_identical_object_ids has been running for over 60 seconds
37real repository omega.git: 29636 objects (2413 commits), 633 refs, pack 374713444 bytes
38test h1_real_repository_full_history_round_trips_with_identical_object_ids ... ok
39test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 6 filtered out; finished in 76.19s
40Maximum resident set size (kbytes): 1114576
41