Repository navigation
Expand file tree
/
Copy pathgates.count
More file actions
20 lines (19 loc) · 1.45 KB
/
Copy pathgates.count
File metadata and controls
20 lines (19 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Ratchet baselines for the GUI substrate migration, asserted by src/gates.rs
# on every cargo test leg (see its module doc for what each counter measures).
#
# src/gates.rs pins every coupling counter here exactly, so a PR that moves one
# must move the file with it. The two adoption counters are floors: a PR that
# adds tests leaves them alone, and .github/workflows/gates-floor.yml raises
# them on main after the merge. tools/check_gates_ratchet.sh enforces the
# direction against the merge base: coupling counters may only fall toward
# their target, the adoption counters may only rise.
crate_tui_refs_outside_tui = 2 # target 0
app_field_writes_in_tui_handlers = 146 # target 0 (writes into app.view do not count)
ioevent_refs_in_tui = 50 # target 0
synthetic_keys_in_mouse_handler = 3 # target 0 (the content-table re-entries through handle_block_events)
wildcard_arms_in_action_tree = 0 # target 0, must stay 0
view_writes_outside_tui = 12 # target 0 (producers outside tui/ and core/app/ writing App::view)
pub_fields_on_app = 111 # target 1 (App.view stays public for the frontend; the rest go through App methods)
direct_playback_context_reads = 87 # target 0 (readers of App::current_playback_context outside the ownership resolver and the snapshot builder, which are excluded)
action_refs_in_tui_handlers = 200 # adoption: may only rise
test_attribute_total = 3398 # adoption: may only rise