← all tickets

07 — Backfill: sg corp ice (11)

What to build: Backfill card_<code>_* tests for sg's grandfathered corp ice (11), deleting each card's exemption line from tests/fixtures/untested_cards_grandfathered.json as its test lands. Test depth stays at the existing bar: one core-behavior test per card; bugs pull in more.

Blocked by: 02, 03, 04 — vanilla audits (vanilla-audit/).

Status: fixed

Comments

2026-08-01: Backfilled one core-behavior card_<code>_* test for each of the 11 grandfathered sg corp ice — 30038 Ansel 1.0, 30039 Brân 1.0, 30046 Diviner, 30047 Karunā, 30054 Funhouse, 30055 Ping, 30062 Ballista, 30063 Pharos, 30072 Palisade, 30073 Tithe, 30074 Whitespace — in the existing test module of rust/netrunner-core/src/cards/sg.rs, going through the public hooks:: dispatch (get_ice_subs, bioroid_ice, encounter, on_rez, ice_strength_mod; Diviner's scripted subroutine via the same registry lookup engine::fire_subroutine uses). Deleted the 11 exemption lines from tests/fixtures/untested_cards_grandfathered.json (44 → 33) and flipped has_tests: true for the 11 codes in game/cards_impl/sg.json. No bugs found, so no card pulled in extra tests. cargo test --workspace and .venv/bin/pytest (109 passed) both green.

2026-08-01: Review follow-up fixed Ping (30055): its on-rez tag now requires Ping itself to protect the active run target, rather than merely any active run. Extended card_30055_rez_tags_the_runner_only_during_a_run with a mismatched-server regression case. cargo test -p netrunner-core card_30055 passes.