Revert the six post-merge patch commits; back to the portal-merge state

Reverts the working tree for these six files to their state at 7c5cb78
(the control-portal merge, reconciled with the auto-deploy digest bump)
-- undoing c5b8361, 74ff146, b1a07b7, db3e5a8, 0bb3e4b, and 9b226f7.

Those six commits were reactive fixes chasing CI failures one at a
time; each one changed the failure mode without ever reaching a fully
green run, and the last one coincided with the browser session itself
crashing mid-test rather than a logic assertion failing. Reverting to
a clean, known point (right after the merge, before any of that
patching) rather than continuing to layer fixes on an unverified base.

Note: this reintroduces a real, independently-confirmed bug fixed by
db3e5a8 -- deploy/chart/templates/worlds.yaml's per-world loop is
missing a newline between iterations (a leading whitespace-trim on the
$host template variable eats it), which breaks `helm lint` /
`helm template` for any values file with more than one world. That
will fail again on the next push if it isn't re-applied.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-09-06 13:15:04 -04:00
co-authored by Claude Sonnet 5
parent 9b226f76cb
commit f4068946ed
6 changed files with 10 additions and 78 deletions
+2 -4
View File
@@ -19,8 +19,7 @@ test('desktop renders models, moves authoritatively, gathers, and reconnects', a
await page.keyboard.down('d'); await page.waitForTimeout(1000); await page.keyboard.up('d');
await expect.poll(() => page.evaluate(() => (window as any).__aeternalis.snapshot.self.entity.position.x)).toBeGreaterThan(before.x + 3);
await page.getByRole('button', { name: 'Gather', exact: true }).click();
// Same slow-CI-hardware headroom as the boss-attack poll below (bumped 15s -> 20s).
await expect.poll(() => page.evaluate(() => Object.values((window as any).__aeternalis.snapshot.self.skills).reduce((sum: number, n: any) => sum + n, 0)), { timeout: 20000 }).toBeGreaterThan(0);
await expect.poll(() => page.evaluate(() => Object.values((window as any).__aeternalis.snapshot.self.skills).reduce((sum: number, n: any) => sum + n, 0)), { timeout: 15000 }).toBeGreaterThan(0);
await page.getByRole('button', { name: 'Inventory and crafting' }).click();
await expect(page.locator('#inventory')).toBeVisible();
await expect(page.locator('#inventory-items')).toContainText('Knife');
@@ -83,8 +82,7 @@ test('boss event is visible and accepts server-authoritative combat', async ({ p
await page.getByRole('button', { name: 'Close display settings' }).click();
const hp = await page.evaluate(() => (window as any).__aeternalis.snapshot.world.bossHp);
await page.getByRole('button', { name: 'Target Harbinger', exact: true }).click();
// A little more slow-CI-hardware headroom on top of the prior 15s -> 20s bump.
await expect.poll(() => page.evaluate(() => (window as any).__aeternalis.snapshot.world.bossHp), { timeout: 25000 }).toBeLessThan(hp);
await expect.poll(() => page.evaluate(() => (window as any).__aeternalis.snapshot.world.bossHp), { timeout: 20000 }).toBeLessThan(hp);
await expect(page.locator('#boss-bar')).toBeVisible();
await page.screenshot({ path: 'test-results/boss.png' });
});