1
0
Fork 0
polaris-task-force/tests/int
Z8MB1E a01ccaa7f1 fix(minigames): keep the Bomperator estimate replay clock moving forward
Root cause of the remaining jitter, and why stride tuning never touched it.
projectServerPosition replayed every unacknowledged input, then moved its
replay clock back to that input's receive time even when it predated the
snapshot. The trailing segment (targetMs - t) then included the input's
whole age, so a keepalive still in flight inflated the estimate by up to
the 400ms re-assert cadence: a phantom lead of 1-4 cells that the reconcile
then chased toward a position the server never occupied.

Prod telemetry fits exactly: gap p50 1.0, p95 4.12, max 4.5, 22% of
snapshots easing, frameMax 38ms, remoteSnaps 0, 13 ghost rows. No hitches,
no server-side jumps, just an estimator biased by pending input age. The
bias scale with ack latency, which is why the first match looked clean
(p50 0.18) and a match with RTT spikes to 53ms did not.

- clamp the replay clock: an input whose receive time is at or before `t`
  contributes its direction only, never a rewind
- the component now calls the shared projectServerPosition instead of
  keeping an inline copy of the same replay (one implementation, one fix)
- unit tests pin both behaviors (stale input adds no travel, newer input
  still advances); harness 12 scenarios plus the two new tests green
2026-10-21 01:40:50 -04:00
..
adjacency.int.spec.ts feat(base): production, modules, adjacency auras, compounds, and crew speed 2026-09-20 02:43:23 -04:00
admin-page-access.int.spec.ts feat(auth): scope Payload admin pages by permissions 2026-09-01 21:39:09 -04:00
ai-compose-system.int.spec.ts fix(ai-compose): keep named action instructions in the system prompt 2026-10-19 13:34:37 -04:00
aim-trainer.int.spec.ts refactor(minigames): move routes, components, and libs under minigames parents 2026-09-09 00:02:59 -04:00
analytics.int.spec.ts test(analytics): add collector, rollup, retention integration suite and e2e smoke 2026-10-14 12:13:01 -04:00
announcements.int.spec.ts feat(announcements): add announcements system with roleDocs targeting and richText 2026-09-22 21:08:46 -04:00
api.int.spec.ts feat: initial payload scaffolding 2025-10-24 02:07:13 -04:00
arena-bomperator.int.spec.ts fix(arena): clamp early-timer catch-up so the tick loop holds 20Hz 2026-10-19 13:12:20 -04:00
arena-server.int.spec.ts feat(arena): websocket match replication for Ordnance Disposal 2026-10-19 12:27:17 -04:00
arma-catalog-import.int.spec.ts feat(arma): extract catalog icons and extend the import library 2026-10-03 03:29:58 -04:00
arma-locker-sync.int.spec.ts test(arma-locker-sync): scope locker.apply assertions to this run 2026-10-06 23:31:38 -04:00
arma-shop-money.int.spec.ts feat(arma): sync in-game shop money events to bank accounts 2026-10-01 10:04:32 -04:00
award-advancement.int.spec.ts feat(awards): add award advancement series 2026-09-11 17:07:37 -04:00
award-automation.int.spec.ts feat(awards): add award automation platform 2026-10-12 15:11:38 -04:00
award-metrics.int.spec.ts feat(awards): add award automation platform 2026-10-12 15:11:38 -04:00
award-notifications.int.spec.ts feat(notifications): notify users when awards are granted via profile edit 2026-08-27 14:01:16 -04:00
blackjack-card-skins.int.spec.ts feat(blackjack): add blackjack minigame with realtime table wiring 2026-09-14 15:38:05 -04:00
blackjack-engine.int.spec.ts feat(blackjack): add blackjack minigame with realtime table wiring 2026-09-14 15:38:05 -04:00
blackjack-popups.int.spec.ts feat(blackjack): add blackjack minigame with realtime table wiring 2026-09-14 15:38:05 -04:00
blackjack-sound.int.spec.ts feat(blackjack): add blackjack minigame with realtime table wiring 2026-09-14 15:38:05 -04:00
blackjack-stats.int.spec.ts feat(blackjack): add blackjack minigame with realtime table wiring 2026-09-14 15:38:05 -04:00
blackjack-tables.int.spec.ts fix(blackjack): resolve leaver turns, dedupe pending joins, terminate spectators 2026-09-19 17:39:18 -04:00
bomperator-engine.int.spec.ts test(minigames): add bomperator engine and registry specs 2026-10-16 00:32:54 -04:00
bomperator-prediction.int.spec.ts fix(minigames): keep the Bomperator estimate replay clock moving forward 2026-10-21 01:40:50 -04:00
bomperator-registry.int.spec.ts feat(arena): websocket match replication for Ordnance Disposal 2026-10-19 12:27:17 -04:00
bot-achievement-render.int.spec.ts feat(minigames): notify winners and announce achievements on Discord 2026-10-11 17:06:52 -04:00
bot-commands.int.spec.ts fix(bot): shorten /changelog option description to unblock bot startup, register /rollcall 2026-10-11 16:12:05 -04:00
briefing-sqf.int.spec.ts feat(intelligence): export mission briefings to SQF 2026-10-20 14:22:17 -04:00
call-for-fire-versus-registry.int.spec.ts feat(call-for-fire-versus): resize fleet, add second FOB, charred destroyed cells with burn effect 2026-10-19 09:34:40 -04:00
call-for-fire-versus.int.spec.ts feat(call-for-fire-versus): resize fleet, add second FOB, charred destroyed cells with burn effect 2026-10-19 09:34:40 -04:00
call-for-fire.int.spec.ts feat(minigames): add Call for Fire artillery observer game 2026-10-11 18:18:02 -04:00
changelog.int.spec.ts feat(bot): add edit modal to /changelog for last-minute copy tweaks 2026-10-15 12:34:18 -04:00
chips.int.spec.ts feat(chips): persistent chip pool economy with shared balance card 2026-09-14 15:38:05 -04:00
construction-speed.int.spec.ts feat(base): production, modules, adjacency auras, compounds, and crew speed 2026-09-20 02:43:23 -04:00
contributions-moderation.int.spec.ts test(contributions): cover the moderation grant and revoke actions 2026-10-13 14:46:10 -04:00
contributions.int.spec.ts feat(contributions): add crowdsourced XP reward system 2026-10-09 16:30:05 -04:00
custom-minefields.int.spec.ts fix(eod): unlock custom minefields after clearing two sectors 2026-09-09 18:55:00 -04:00
custom-radio-tests.int.spec.ts refactor(minigames): move routes, components, and libs under minigames parents 2026-09-09 00:02:59 -04:00
division-admin-access.int.spec.ts feat(approval): reset reviewed documents to in progress on non-superuser edits 2026-10-15 10:01:02 -04:00
economy-consumption.int.spec.ts feat(economy): ingest purchase demand and price vendor listings from the ledger 2026-09-06 17:22:32 -04:00
economy-events.int.spec.ts feat(economy): add economy tick with demand simulation and price modifiers 2026-09-06 17:22:30 -04:00
economy.int.spec.ts feat(economy): add economy tick with demand simulation and price modifiers 2026-09-06 17:22:30 -04:00
evaluations.int.spec.ts feat(evaluations): mark mission evaluable after scheduled window 2026-10-05 03:36:12 -04:00
event-log-discord-flag.int.spec.ts feat(npc-dialogue): post opted-in event effects to Discord dispatch channel 2026-10-14 16:57:33 -04:00
event-log-routine.int.spec.ts feat(event-log): hide routine tick events behind a toggle 2026-10-19 20:03:51 -04:00
event-log-visibility.int.spec.ts feat(event-log): configurable per-event visibility with permission gates 2026-10-06 23:31:30 -04:00
flow-edge-routing.int.spec.ts refactor(flow): share the edge shape builder between both flow canvases 2026-10-06 14:47:14 -04:00
friday-ops-notice.int.spec.ts fix(bot): compute Friday ops slot window in Eastern time, not server clock 2026-10-08 14:01:07 -04:00
game-structures-labor-route.int.spec.ts fix(base): allow admin labor headcount edits while hiring is disabled 2026-10-19 14:25:55 -04:00
garage-bridge.int.spec.ts test(garage): cover placement validation, access gating, and bridge sync 2026-10-13 16:02:58 -04:00
garage-placement.int.spec.ts test(garage): cover placement validation, access gating, and bridge sync 2026-10-13 16:02:58 -04:00
generic-node.int.spec.ts feat(map): gate feature authoring and structure placement behind dedicated permissions 2026-09-30 14:50:14 -04:00
imminent-reminders.int.spec.ts feat(missions): auto-start and auto-complete ops, plus side-op scheduling 2026-10-03 03:29:35 -04:00
intelligence-visibility.int.spec.ts fix(intel): show the intelligence section to anyone with read access 2026-10-04 02:53:24 -04:00
interior.int.spec.ts test(interior): harden cleanup afterAll, raise decay timeouts, and fix seed typing 2026-10-20 19:50:19 -04:00
journal-contributions.int.spec.ts feat(contributions): award 25 XP per journal entry, one per day 2026-10-13 15:52:57 -04:00
journals-access.int.spec.ts feat(journals): member-authored journal entries with author-owned publishing 2026-10-12 14:39:48 -04:00
kill-tracking.int.spec.ts feat(arma): track player kills from sync events 2026-08-26 18:05:51 -04:00
leadership-transfers.int.spec.ts feat(promotions): add promotion nominations and leadership transfers 2026-10-03 03:29:24 -04:00
map-grid.int.spec.ts feat(map): add Arma-style coordinate grid config, overlay and mission-map wiring 2026-10-05 03:17:52 -04:00
map-system.int.spec.ts feat(map): gate feature authoring and structure placement behind dedicated permissions 2026-09-30 14:50:14 -04:00
market.int.spec.ts feat(economy): ingest purchase demand and price vendor listings from the ledger 2026-09-06 17:22:32 -04:00
mcp-api-keys.int.spec.ts fix(mcp): gate API-key collection with system:admin-access so superusers can issue keys 2026-10-07 18:21:06 -04:00
minigame-achievement-notifications.int.spec.ts feat(minigames): notify winners and announce achievements on Discord 2026-10-11 17:06:52 -04:00
minigame-calendar.int.spec.ts feat(minigames): drive the nav and period scoring from the registry 2026-10-11 17:06:52 -04:00
minigame-countdown.int.spec.ts feat(minigames): add phasing-out status with estimated removal date 2026-10-14 23:51:37 -04:00
minigame-dev-admin-commands.int.spec.ts feat(minigames): superuser developer console dock across all ten games 2026-10-20 12:48:27 -04:00
minigame-dev-console-gating.int.spec.ts feat(minigames): superuser developer console dock across all ten games 2026-10-20 12:48:27 -04:00
minigame-entries.int.spec.ts feat(minigames): drive the nav and period scoring from the registry 2026-10-11 17:06:52 -04:00
minigame-periods.int.spec.ts feat(minigames): drive the nav and period scoring from the registry 2026-10-11 17:06:52 -04:00
minigame-registry.int.spec.ts feat(minigames): add phasing-out status with estimated removal date 2026-10-14 23:51:37 -04:00
minigame-standings.int.spec.ts fix(minigames): resolve the current period before building standings boards 2026-10-18 02:06:32 -04:00
minigame-upcoming.int.spec.ts feat(minigames): add phasing-out status with estimated removal date 2026-10-14 23:51:37 -04:00
mission-card.int.spec.ts feat(projects): add project tracking workspace 2026-08-20 19:55:33 -04:00
mission-lifecycle.int.spec.ts feat(missions): auto-start and auto-complete ops, plus side-op scheduling 2026-10-03 03:29:35 -04:00
mission-map.int.spec.ts feat(contributions): add crowdsourced XP reward system 2026-10-09 16:30:05 -04:00
mission-reminder-toasts.int.spec.ts feat(intelligence): add mission feedback reminders 2026-08-28 00:20:41 -04:00
mission-reminder.int.spec.ts feat(world): game map collections with basemaps, map permissions, and meter proximity 2026-09-16 23:13:57 -04:00
mission-role-signups.int.spec.ts feat(missions): role sign-ups with FCFS waitlist and rich-text role descriptions 2026-09-30 14:50:26 -04:00
modlist-preset.int.spec.ts fix(missions): only accept Arma 3 Launcher preset exports as mod lists 2026-10-08 13:25:08 -04:00
modules.int.spec.ts feat(interior): upgrade completion, tech/labor gates, and module bonuses 2026-10-20 15:44:36 -04:00
next-saturday-start.int.spec.ts fix(missions): default new main ops to the upcoming Saturday 2026-10-10 14:54:06 -04:00
notification-access.int.spec.ts fix(notifications): scope user notification reads 2026-09-01 17:17:34 -04:00
notification-inbox-scope.int.spec.ts feat(notifications): add staff toggle to show only your own notifications 2026-10-09 14:43:12 -04:00
notification-read-scope.int.spec.ts test(notifications): add per-recipient read-scope test 2026-10-09 13:14:35 -04:00
npc-dialogue-attachments.int.spec.ts feat(npc-dialogue): attach files to conversation lines 2026-10-14 16:05:15 -04:00
npc-dialogue-condition-groups.int.spec.ts feat(npc-dialogue): condition groups and ternary text tokens 2026-10-14 16:21:16 -04:00
npc-dialogue-flag-target.int.spec.ts feat(npc-dialogue): let event flag effects target self, global, or a specific user 2026-10-07 13:33:52 -04:00
npc-dialogue-interpolate.int.spec.ts feat(npc-dialogue): rich text editor and block lists in dialogue markup 2026-10-14 16:33:23 -04:00
npc-dialogue-remove-hop.int.spec.ts feat(npc-dialogue): bigger flow handles + delete edges via Delete 2026-10-07 14:25:14 -04:00
npc-dialogue-reorder.int.spec.ts feat(npc-dialogue): reorder choices in the dialogue editor 2026-10-07 14:01:00 -04:00
operation-allocation.int.spec.ts feat(operations): mission reservations and deterministic settlement 2026-09-20 02:43:47 -04:00
operation-economy.int.spec.ts feat(operations): bounded economy effects and market repair 2026-09-20 02:43:53 -04:00
operation-ledger.int.spec.ts feat(operations): versioned operation event and effect ledger 2026-09-20 02:43:40 -04:00
operation-readiness.int.spec.ts feat(operations): drop attendance from readiness scoring 2026-09-22 18:14:44 -04:00
operation-reservation-actions.int.spec.ts feat(operations): reservation actions, surfaces, and cancel flow 2026-09-21 07:46:27 -04:00
operation-reservation-options.int.spec.ts test(int): scope reservation vehicle and respawn balance assertions to the run 2026-09-21 20:48:02 -04:00
operation-reservation-surfaces.int.spec.ts fix(operations): move page data helpers to surface modules 2026-09-21 20:47:57 -04:00
operation-rollout.int.spec.ts chore(operations): rollout controls, reconciliation, and bridge recovery 2026-09-20 02:45:00 -04:00
operation-settlement.int.spec.ts feat(operations): mission reservations and deterministic settlement 2026-09-20 02:43:47 -04:00
operation-territory.int.spec.ts feat(operations): readiness and zone pressure aggregates 2026-09-20 02:43:53 -04:00
operation-ui-primitives.int.spec.ts feat(ui): tactical operation primitives and role surfaces 2026-09-20 02:44:53 -04:00
operations-surface.int.spec.ts feat(ui): tactical operation primitives and role surfaces 2026-09-20 02:44:53 -04:00
poker-card-skins.int.spec.ts feat(poker): add card skin toggle with light, dark, and classic svg decks 2026-09-11 17:07:05 -04:00
poker-dev-controls.int.spec.ts fix(poker): dev panel card pickers ignored the first selection 2026-09-16 19:10:37 -04:00
poker-engine.int.spec.ts feat(poker): engine upgrades, named tables, and stat extensions 2026-09-14 15:37:19 -04:00
poker-hand-hint.int.spec.ts feat(poker): grade hand ranks on a progressive style ladder 2026-09-11 17:30:03 -04:00
poker-popups.int.spec.ts feat(poker): felt UI popups, named table display, and dev controls 2026-09-14 15:37:19 -04:00
poker-rank-style.int.spec.ts feat(poker): grade hand ranks on a progressive style ladder 2026-09-11 17:30:03 -04:00
poker-sound.int.spec.ts feat(poker): add synthesized sfx and generative background jazz 2026-09-11 17:07:12 -04:00
poker-stats.int.spec.ts feat(poker): add poker engine, evaluation and stats libs with tests 2026-09-11 03:25:43 -04:00
poker-tables.int.spec.ts feat(poker): felt UI popups, named table display, and dev controls 2026-09-14 15:37:19 -04:00
preferences-form.int.spec.ts feat(preferences): add background texture toggle 2026-08-28 01:20:12 -04:00
production.int.spec.ts feat(base): production, modules, adjacency auras, compounds, and crew speed 2026-09-20 02:43:23 -04:00
promotion-nominations.int.spec.ts feat(promotions): add promotion nominations and leadership transfers 2026-10-03 03:29:24 -04:00
promotions.int.spec.ts feat(promotions): add rank promotion ceiling with GM promote flow 2026-09-14 15:37:05 -04:00
reinforcement-pools.int.spec.ts feat(reinforcement-pools): store per-pool balances and sync to the game bridge 2026-10-07 00:28:42 -04:00
respawn-tickets.int.spec.ts test(int): scope reservation vehicle and respawn balance assertions to the run 2026-09-21 20:48:02 -04:00
ribbon-submissions.int.spec.ts feat(awards): add award advancement series 2026-09-11 17:07:37 -04:00
roll-call-force.int.spec.ts feat(bot): add /rollcall to force-send or refresh a mission roll-call 2026-10-11 15:26:17 -04:00
server-presence.int.spec.ts feat(server): add stale presence monitoring 2026-08-26 18:05:57 -04:00
session-countdown.int.spec.ts feat(session): add pre-expiry warning banner with extend button 2026-09-23 15:02:10 -04:00
session-token.int.spec.ts test(auth): cover session token expiry parsing 2026-08-28 00:20:58 -04:00
shipment-lifecycle.int.spec.ts feat(logistics): timestamp shipment lifecycle with client relay 2026-09-20 02:43:29 -04:00
shipping-client.int.spec.ts feat(logistics): timestamp shipment lifecycle with client relay 2026-09-20 02:43:29 -04:00
sidebar-order.int.spec.ts feat(sidebar): pin Platform section to top during reorder 2026-10-12 14:02:21 -04:00
story-beats.int.spec.ts feat(story): swipe page turns in book view 2026-09-25 15:55:21 -04:00
supply-box-actions.int.spec.ts feat(logistics): supply box management surface 2026-09-21 08:19:33 -04:00
supply-box-sync.int.spec.ts feat(operations): supply-box sync store and handler 2026-09-21 07:40:44 -04:00
surveys.int.spec.ts feat(surveys): periodic reminder toasts for pending surveys 2026-09-23 21:07:13 -04:00
table-names.int.spec.ts feat(poker): engine upgrades, named tables, and stat extensions 2026-09-14 15:37:19 -04:00
tech-categories.int.spec.ts test(tech-tree): add integration and e2e coverage 2026-10-01 10:04:07 -04:00
tech-research-rules.int.spec.ts feat(tech): member-facing tech research system and tech tree 2026-10-19 17:28:26 -04:00
tech-research-tick.int.spec.ts feat(tech): member-facing tech research system and tech tree 2026-10-19 17:28:26 -04:00
tech-tree-concurrency.int.spec.ts feat(tech-tree): optimistic concurrency for the tree editor 2026-10-15 11:48:30 -04:00
tech-tree-edge-routes.int.spec.ts feat(tech-tree): drag groups, snap to grid, and route edges around nodes 2026-10-03 03:28:27 -04:00
tech-tree-layout.int.spec.ts feat(tech-tree): optimistic concurrency for the tree editor 2026-10-15 11:48:30 -04:00
tech-tree-positions.int.spec.ts feat(tech-tree): optimistic concurrency for the tree editor 2026-10-15 11:48:30 -04:00
tech-tree-prereq-edits.int.spec.ts feat(tech-tree): optimistic concurrency for the tree editor 2026-10-15 11:48:30 -04:00
tech-tree-stability.int.spec.ts feat(tech-tree): optimistic concurrency for the tree editor 2026-10-15 11:48:30 -04:00
tickets.int.spec.ts feat(tickets): allow staff to archive tickets, hiding them from the front-end 2026-10-07 01:22:51 -04:00
tours.int.spec.ts feat(tours): add permission-aware guided tours with replay and device opt-out 2026-09-30 18:43:21 -04:00
transfer-bot-delivery.int.spec.ts feat: Add remaining transfer components and utilities 2026-08-31 23:41:29 -04:00
transfer-requests.int.spec.ts feat: Add remaining transfer components and utilities 2026-08-31 23:41:29 -04:00
voiceover-config.int.spec.ts fix(uploads): store upload collections under the persistent media volume 2026-10-08 12:14:46 -04:00
voiceover-listing.int.spec.ts test(voiceover): add per-script submission count test 2026-10-09 13:14:35 -04:00
wiki-documentation.int.spec.ts test(wiki): integration coverage for Documentation access gating 2026-09-30 18:43:39 -04:00
wiki.int.spec.ts test(wiki): cover index view helpers and curation mapping 2026-10-09 17:56:17 -04:00
world-map-screen.int.spec.ts feat(map): world map picker entry, intel fields, node icons, generic markers 2026-09-21 20:47:46 -04:00