aorecomp

Anarchy Online classic in the browser

git clone https://aorecomp.ubeagle.com/code/aorecomp.git


commit d1627a80cc086428be88a79c165970f03dae32e4
parent d357dfa091e906e8403221052a21d5e64743bd6b
Author: anon <anon@example.com>
Date:   Mon,  9 Nov 2026 13:20:49 +0000

Record complete browser coverage and close the test-suite gate

Diffstat:
MTODO.md | 14++++++++++++++
Mdocs/browser-test-checkpoint-20261108.md | 133++++++++++++++++++++++++++++++++++++-------------------------------------------
Mdocs/browser-test-status-20261109.json | 16+++++++---------
3 files changed, 81 insertions(+), 82 deletions(-)

diff --git a/TODO.md b/TODO.md @@ -369,6 +369,20 @@ rewriting this document does not close them. ## P1: bounded follow-up work +- [x] **Restore a green full test suite, including browser coverage.** The + earlier complete maintained Go suite passed 2,412 tests, six focused + concurrency tests passed with `-race -tags=e2e`, and native `make test` passed. + The November 9 browser continuation now has passing results for all 175 + maintained Go browser families, with zero failures, skips, interrupted or + unattempted families. All ten walking-dependent rechecks pass after the final + helper correction. All 19 JavaScript browser scenarios have passing runs; + the three affected Arrival Hall/native-creation scenarios pass again. The + standalone browser error-capture check, 155 JavaScript unit tests and 93 + related Go unit families pass too. Repairs are confined to test fixtures, + scripts and the browser test harness; no production gameplay behavior changed. + See the [completed continuation](docs/browser-test-checkpoint-20261108.md#november-9-completion) + and [exact family inventory](docs/browser-test-status-20261109.json). + - [x] **Include starter stock in the native socket sale regression.** The timing baseline finds an unexpected catalog packet because the training terminal now has seven stock rows. Verify that catalog precedes the trade diff --git a/docs/browser-test-checkpoint-20261108.md b/docs/browser-test-checkpoint-20261108.md @@ -3,10 +3,10 @@ The run stopped during TestBrowserMissionCashResupply. This is a historical checkpoint, not a fresh validation of the current tree. -The active TODO remains "Restore a green full test suite, including browser -coverage." Completion requires every maintained browser family passing without -opt-in skips. This checkpoint does not close that gate. No production code was -changed in this task; these are test and fixture repairs. +At this checkpoint, "Restore a green full test suite, including browser +coverage" remained open. The completed [November 9 continuation](#november-9-completion) +records passing results for every maintained browser family without opt-in skips. +No production code was changed in this task; these are test and fixture repairs. ## Saved results @@ -96,72 +96,59 @@ Before closing the TODO: all173 complete passing outcomes without skips, appropriate required checks for the final changes, process cleanup and updated verification documentation. More browser coverage alone is not a gameplay change. -## November 9 continuation - -The resumed survey has 121 complete passing family results, two failures and -52 unattempted families, with zero skips. Seven earlier -passes also need rechecks after the shared walking-helper correction below. -StarterEquipment has a prepared recovery fix awaiting its full rerun; PetAttack -has a controlled-health fixture repair awaiting verification. The serial run continues -in `local/browser-tests-20261109/`. - -The [current inventory](browser-test-status-20261109.json) contains 175 families. -The historical 173-name list omitted `TestBrowserTrainingCorpses` and -`TestBrowserTrainingHumanCorpses`, which both invoke the gated real-browser -training-corpse helper. Completion requires all 175 passing without skips. - -Complete reruns verified the prepared fixture repairs through Home Defender, -including Dimach, East Wind, the Engineer robot, faction insurance/progression, -generated mission, ground drop and health drain. Mind Pain, Minibull and -partially looted corpse reentry also passed. The extra M-10 equip-completion -wait, Inventory Grid reload readiness wait and controlled refusal-fixture -expiry sweep passed their complete regressions and are committed in `893307ce`. -Anonymous purchases, backpack medical and mission cash resupply now pass too. -The anonymous-item test compares navigation against its starting count, retaining -its no-replay requirement (`8f4efb81`). - -The walking helper uses bounded final approach presses to avoid snapshot-delivery -overshoot (`cb6453d6`). Its complete controlled regression passes at Run Speed 5 -and 100, retaining fractional/integer arrivals, lateral movement, real wall -refusal, recovery and cold pose checks. All 155 JavaScript unit tests pass again; -the standalone browser error-capture regression also passes. The affected Arrival -Hall and native-creation JavaScript scenarios still need reruns, along with 93 -related Go unit-test families. - -Faction insurance, generated mission and partially looted corpse reentry have -passed again with the final walking helper. These seven earlier Go passes still -require rechecks: - -```text -TestBrowserBackyardBank -TestBrowserBackyardExitExplanation -TestBrowserCityDoors -TestBrowserConcreteCushionQualities -TestBrowserCourtyardInsurance -TestBrowserFallbackPlacementMelee -TestBrowserStarterMissionTargets -``` - -The starter run passed its previously failing outdoor approach and four mission -kills, including collection of both a Monster Part and gloves from one corpse. -It then failed recovery because a prior Treatment lock had not expired. A -test-state lock check is prepared locally; the complete earned scenario still -needs a passing rerun. LootDuringEquipment now passes pending-move refusal, -cancellation, same-window retry, page replay and cold ownership after saving -its fixture owner's profile (`8deee3ed`). PendingEquipmentEdit passes its complete -live-edit cancellation, resumed-frame, same-instance reuse and page recovery -regression with the navigation-baseline repair (`d9c4cb05`). - -PetAttack's 32-HP target was clamped to the production Leet maximum of 20 during -startup recovery. Its fixture now copies a matching 32-HP maximum, preserving -the two-hit/one-retaliation check; the full rerun remains pending. Pet dismissal, -follow, owner protocol, retreat, summon and wait pass. Player combat recovery, -interest reentry, reclaim during equipment/trade, pickup refusal, reclaimed-weapon -recovery and remote reload also pass. - -The appearance fixture holds its selected actor at the authored post so roaming -cannot invalidate picking during page replay (`5abbd224`). The complete creature -matrix (15 routes), outfit matrix (19 routes), recovered-appearance matrix -(three routes) and NPC shop matrix (five routes) all pass. Outdoor NPC water -motion, named mission-key trade and Nanomage starter combat/recovery pass too. -No production gameplay code changed and the TODO gate remains open. +## November 9 completion + +All 175 maintained Go browser families have complete passing results, with zero +failures, skips, interrupted or unattempted families. The +[final inventory](browser-test-status-20261109.json) records the exact names. +The earlier 173-name inventory omitted `TestBrowserTrainingCorpses` and +`TestBrowserTrainingHumanCorpses`; their complete 13-route creature and six-route +human matrices now pass. The separate snake-corpse check also passes. + +No production gameplay code changed. The repairs correct controlled health and +loot fixtures, save fixture owner profiles before connecting, hold appearance +targets at authored posts, use unique fixture names, and synchronize native +input/readiness checks. Navigation assertions compare against the starting page +state. Actual native input, exact item identity, ammunition, charge, refusal and +server-state assertions remain in place. The scanner uses the standard browser +launch settings; the bank holds its reconnect camera key until the mode change +is observed. + +The walking helper uses bounded forward presses for the final one-meter +approach, retaining the 0.35-meter arrival tolerance (`cb6453d6`). Its complete +controlled regression passes at Run Speed 5 and 100, including fractional and +integer arrivals, lateral movement, real wall refusal, recovery and cold pose. +All ten affected Go family rechecks pass with that final helper, as do both +Arrival Hall scenarios and the complete native-creation scenario. + +The full earned StarterEquipment scenario passes in 1,315.59 seconds. It retains +normal creation and random rolls, both starter loadouts, page reconnect, +outdoor/mission combat and exact corpse ledgers, level two, earned reward wear, +funded kit purchase/use, a next-level kill and cold private ownership. Native +corpse cells use identity 107; laboratory use waits for an existing Treatment +lock before attempting another charge (`d6a5a99b`). These results establish the +existing earned-progression acceptance criterion; controlled fixtures elsewhere +do not substitute for it. + +All creature appearances (15 routes), outfits (19 routes), recovered appearances +(three routes), NPC shops (five routes), and city doors (ten routes) pass. +Complete reruns also verify pending equipment, live-edit cancellation, corpse +refusal/expiry, pet attack, team loot orders and traded-weapon ownership. The +final focused repairs are committed in `b0795b13` and `31784057`. + +Verification also passes all 93 related Go unit families and all 155 JavaScript +browser-host/harness unit tests. All 19 JavaScript real-browser scenarios have +passing runs: the 16 unaffected scenarios retain their November 8 results, and +the three affected Arrival Hall/native-creation scenarios pass again. The +standalone real-browser error-capture check passes again too. The earlier WASM +snapshot result remains valid; the full 2,412-test Go suite, native suite and +focused race checks described above were not rerun in this continuation. + +The serial runners retain Go JSON events in +`local/browser-tests-20261109/results.jsonl`, walking evidence in `walking.jsonl`, +and auxiliary results in `go-browser-units.log`, `js-units.log`, +`arrival-hall.log`, `native-creation.log` and `error-capture.log`. Final auditing +checks every family outcome, latest-run skips and the ten walking rechecks. +Task-owned test processes are cleaned up; user-owned sessions are preserved. +The full-suite/browser TODO gate is closed. No gameplay feature gate or new +historical research item is claimed by these test repairs. diff --git a/docs/browser-test-status-20261109.json b/docs/browser-test-status-20261109.json @@ -108,6 +108,7 @@ "TestBrowserPartiallyLootedCorpseSceneReentry", "TestBrowserPasswordOptions", "TestBrowserPendingEquipmentEdit", + "TestBrowserPetAttack", "TestBrowserPetDismiss", "TestBrowserPetFollow", "TestBrowserPetOwnerProtocol", @@ -121,15 +122,6 @@ "TestBrowserReclaimPickupRefusal", "TestBrowserReclaimWeapon", "TestBrowserRemoteReload", - "TestBrowserStarterMissionTargets", - "TestBrowserWalkingFinalApproach" - ], - "fail": [ - "TestBrowserPetAttack", - "TestBrowserStarterEquipment" - ], - "incomplete": [], - "unattempted": [ "TestBrowserReplacedBackpackSplit", "TestBrowserReplacedStackSplit", "TestBrowserScannerReclaimRefusal", @@ -164,6 +156,8 @@ "TestBrowserStaleWornMove", "TestBrowserStaleWornResources", "TestBrowserStaleWornSourceDuringEquipment", + "TestBrowserStarterEquipment", + "TestBrowserStarterMissionTargets", "TestBrowserStarterShops", "TestBrowserStationaryClinic", "TestBrowserSteelRibbedArmorQualities", @@ -177,12 +171,16 @@ "TestBrowserTrainingHumanCorpses", "TestBrowserTrainingSnakeCorpse", "TestBrowserVektorQualities", + "TestBrowserWalkingFinalApproach", "TestBrowserWeaponHitAdmission", "TestBrowserWeaponWearAdmission", "TestBrowserWorldResourcePickup", "TestBrowserWornContainerDeposit", "TestItemSourceMapBrowser" ], + "fail": [], + "incomplete": [], + "unattempted": [], "skip": [] } }