aorecomp

Anarchy Online classic in the browser

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


docs/browser-test-checkpoint-20261108.md (9086B)


Browser test crash checkpoint: November 8, 2026

The run stopped during TestBrowserMissionCashResupply. This is a historical checkpoint, not a fresh validation of the current tree.

At this checkpoint, "Restore a green full test suite, including browser coverage" remained open. The completed November 9 continuation 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

The exact inventory records all 173 names grouped by latest outcome, including interrupted and unattempted families. Raw logs and temporary runners were discarded with local/.

Repairs and their verification

Already committed with complete passing reruns:

Additional checkpointed repairs:

M10Qualities, MindPain and MinibullProfile failed shortly before the crash; their failures still require diagnosis. Do not count a prepared fix as a pass.

Resume

Use the existing tools/client/game_test.mjs harness, serial heavy browser runs, and the browser setup in DEVELOPERS.md. Set AO_GAME_TEST=1 and use a writable Go cache. Configure Node and its dependencies for the current machine.

Rerun complete repaired/failed families and the three interrupted families: TestBrowserAnonymousPurchasesAreUsable, TestBrowserBackpackMedical and TestBrowserMissionCashResupply. Do not count selective subcases as full passes. Then run the93 unattempted families from the exact saved inventory.

Write new logs and aggregate the latest outcomes, including a fresh run without a completion event as incomplete. Clean up task-owned processes after failures.

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 completion

All 175 maintained Go browser families have complete passing results, with zero failures, skips, interrupted or unattempted families. The final inventory 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.