Skip to content

De-flake the view-model networking push tests - #13

Merged
colemancda merged 7 commits into
mainfrom
fix/networking-test-flakiness
Jul 18, 2026
Merged

colemancda merged 7 commits into
mainfrom
fix/networking-test-flakiness

Conversation

@colemancda

Copy link
Copy Markdown
Owner

No description provided.

Drives a connected client through room detail, capacity/stage/option/
item/title changes, tank/team select, ready, user lookup, avatar
get/set/buy(gold+cash), sell, gift, and kick — the handlers the
create/join/chat flows don't reach.
Runs a battle in each game mode (distinct secondary tanks so Tag can
swap) through firing and a death, rendering every frame — covering
the mode-specific simulation and render paths.
Constructs DialogWidget, CreateRoomDialogWidget, BuddyChatWindowWidget,
AddBuddyDialogWidget, and BuddyPanelWidget with fake textures and drives
draw plus a spread of clicks, text, keys, and drags over their frames.
With no archives on disk, every loader surfaces a missing-archive
error and localizedString degrades to nil.
The buddy/chat tests depended on a real push round-trip through
onEnter's concurrent request fan-out, which intermittently starved a
handshake on CI (timeout(nonceResponse)). They now drive the network
send (covering the Task body) and apply the resulting push directly,
covering applyBuddyList/appendChat deterministically — the real
round-trip is still exercised by the loopback suite. Also bumps
connect retries (4->10) and the wait window for extra CI margin.
@colemancda
colemancda merged commit 1d8ab28 into main Jul 18, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant