acdream/tests/AcDream.App.Tests/World
Erik 52bdf4df71
Some checks are pending
Headless portability / portable-headless (ubuntu-latest) (push) Waiting to run
Headless portability / portable-headless (windows-latest) (push) Waiting to run
Headless portability / linux-graphical (push) Waiting to run
Headless portability / linux-vulkan (push) Waiting to run
fix(world): #344 — a mid-teleport world-frame disagreement defers the projection instead of crashing
During a portal transit the two world-frame owners legitimately rebase
on different edges (Runtime at TeleportAdvanced, streaming only after
old-window retirement), and a spawn projection landing in that window
hit the #283 invariant as an unhandled render-path throw — the crash
the user hit entering a dungeon.

The guard's check is unchanged; only the disagreement RESPONSE is
discriminated on the canonical transit authority
(RuntimeWorldTransitState.IsTeleportActive, the same field the App
layer already reads for portal-in-flight): in transit -> the
materializer's existing "not yet" return, parking the projection on
its established retry rides (OnLandblockLoaded's re-attempt loop,
whose ordering guarantees agreement on retry because the recenter
coordinator adopts the new origin BEFORE unblocking new landblock
loads — verified at source; plus OnPosition recovery and
OnAppearance). Outside transit -> still throws: genuine corruption
stays loud. The implementer explicitly ruled out riding the Runtime
placement pump, which would have acknowledged-and-discarded the
completion receipt and silently dropped the entity forever.

Sabotage: removing the discriminator reddened the pre-existing #283
throw tests as well as the new not-in-transit test — the sabotage
defeats the original contract, not merely the new coverage. Four new
tests cover defer, defer-then-agree-then-succeed (projected exactly
once), throw-outside-transit, and the agreeing pass-through.

Clean-room suite: 11,261 passed / 6 skipped / 0 failed. #346 filed for
a sixth, distinct load-sensitive allocation flake observed during the
runs.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-07 10:07:45 +02:00
..
C3cR1F3DriftModelSourcePinTests.cs feat(runtime): C3c - production placement cutover: both hosts on the residence conductors (routes 1+8) 2026-08-02 18:10:33 +02:00
CompositeLiveEntityResourceLifecycleTests.cs fix(rendering): bound portal resource lifetime 2026-07-18 21:35:16 +02:00
DeferredLiveEntityRuntimeComponentLifecycleTests.cs feat(runtime): C3c - production placement cutover: both hosts on the residence conductors (routes 1+8) 2026-08-02 18:10:33 +02:00
DormantLiveEntityStoreTests.cs fix(streaming): preserve portal destination ownership 2026-07-25 08:35:12 +02:00
ExternalContainerLifecycleControllerTests.cs fix(items): finish corpse pickup and combat switching 2026-07-17 18:35:29 +02:00
GameWindowLiveEntityCompositionTests.cs refactor(physics): hoist the live-entity collision builder to Runtime (#330 groundwork) 2026-08-07 01:49:13 +02:00
LiveEntityHydrationControllerTests.cs fix(physics): classify before merge on every steady-state Position (C5b, #275, AP-131/AD-60) 2026-08-05 21:17:44 +02:00
LiveEntityLifecycleStressTests.cs feat(physics): C4 route 4b-3 — remote teleport + cell-less through the canonical placement 2026-08-04 16:00:10 +02:00
LiveEntityLivenessControllerTests.cs refactor(app): key live projections by runtime identity 2026-07-25 21:50:58 +02:00
LiveEntityPhysicsHostOwnershipTests.cs feat(runtime): C3c - production placement cutover: both hosts on the residence conductors (routes 1+8) 2026-08-02 18:10:33 +02:00
LiveEntityPresentationControllerTests.cs fix(physics): bind a parented child to the parent's live incarnation (#319) 2026-08-05 11:56:31 +02:00
LiveEntityProjectionWithdrawalControllerTests.cs feat(runtime): C3c - production placement cutover: both hosts on the residence conductors (routes 1+8) 2026-08-02 18:10:33 +02:00
LiveEntityRuntimeTeardownControllerTests.cs refactor(app): key live projections by runtime identity 2026-07-25 21:50:58 +02:00
LiveEntityRuntimeTests.cs fix(physics): close the AP-156 fix review — real containment oracle, type-level invariant, AP-158 2026-08-06 16:44:48 +02:00
LiveEntitySameGenerationUpdateRouterTests.cs refactor(runtime): move accepted entity wire state 2026-07-25 19:52:29 +02:00
LiveEntityTeardownPlanTests.cs fix(rendering): bound portal resource lifetime 2026-07-18 21:35:16 +02:00
LiveEntityTestFixture.cs refactor(app): key live projections by runtime identity 2026-07-25 21:50:58 +02:00
LiveEntityWorldOriginCoordinatorTests.cs fix(streaming): derive the portal reveal window from the live streaming radii (#280) 2026-08-05 23:54:59 +02:00
LiveObjectFrameControllerTests.cs refactor(settings): own two-phase runtime settings 2026-07-22 13:30:22 +02:00
LiveWorldOriginStateTests.cs fix(world): #344 — a mid-teleport world-frame disagreement defers the projection instead of crashing 2026-08-07 10:07:45 +02:00
PendingSplitToWorldProjectionTests.cs test(physics): C4 route 6 — drops/split-recovery closure, zero production lines 2026-08-04 16:45:57 +02:00
RecallTeleportAnimationTests.cs refactor(runtime): own teleport destination correlation 2026-07-26 17:52:34 +02:00
RetailInboundEventDispatcherTests.cs test(app): put every strict-zero site on the probe (#250) 2026-07-29 03:49:13 +02:00
RuntimeEntityOwnershipTests.cs feat(physics): C4 route 4b-3 — remote teleport + cell-less through the canonical placement 2026-08-04 16:00:10 +02:00
RuntimeFirstEntryHostIntegrationTests.cs fix(physics): route local-player shadow presentation through SyncPose (#318, AP-145) 2026-08-05 14:09:11 +02:00
RuntimeForcePositionRenderCommitTests.cs fix(physics): route local-player shadow presentation through SyncPose (#318, AP-145) 2026-08-05 14:09:11 +02:00
RuntimePlacementPresentationSinkTests.cs fix(physics): route local-player shadow presentation through SyncPose (#318, AP-145) 2026-08-05 14:09:11 +02:00
RuntimePlacementShadowCompositionTests.cs fix(physics): route local-player shadow presentation through SyncPose (#318, AP-145) 2026-08-05 14:09:11 +02:00
UpdateFrameOrchestratorTests.cs feat(physics): C4 route 4b-3 — remote teleport + cell-less through the canonical placement 2026-08-04 16:00:10 +02:00
WorldEnvironmentControllerTests.cs refactor(runtime): own world environment state 2026-07-26 16:45:04 +02:00