Compare commits

..
6 changed files with 7 additions and 31 deletions

No files matched your search

-1
View File
@@ -1 +0,0 @@
.agents
+1
View File
@@ -0,0 +1 @@
.agents
-5
View File
@@ -41,11 +41,6 @@ jobs:
pnpm run predev
- name: Run Playwright tests
env:
# Prevent Firefox from loading the AT-SPI/MSAA accessibility bridge on
# Linux CI — without this, Firefox hangs for ~20 min waiting for a bus
# that doesn't exist on ubuntu-latest runners.
NO_AT_BRIDGE: ${{ matrix.browser == 'firefox' && '1' || '0' }}
run: pnpm test:e2e --project=${{ matrix.browser }}
- uses: actions/upload-artifact@v4
-1
View File
@@ -1 +0,0 @@
AGENTS.md
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "worldwideview",
"version": "2.15.16",
"version": "2.15.15",
"private": true,
"type": "module",
"packageManager": "[email protected]",
+2 -8
View File
@@ -41,15 +41,9 @@ export default defineConfig({
},
{
name: 'firefox',
use: {
use: {
...devices['Desktop Firefox'],
storageState: 'playwright/.auth/user.json',
launchOptions: {
firefoxUserPrefs: {
// Disable MSAA/AT-SPI accessibility layer — causes hangs on Linux CI
'accessibility.force_disabled': 1,
},
},
storageState: 'playwright/.auth/user.json'
},
},
{
+4 -16
View File
@@ -129,27 +129,15 @@ export function AppShell() {
console.log("[AppShell] Platform Ready. Waiting for globe tiles...");
};
// Guard so boot only starts once regardless of which trigger fires first.
let bootStarted = false;
const startBootOnce = (reason: string) => {
if (bootStarted) return;
bootStarted = true;
console.log(`[AppShell] Starting boot sequence (${reason}).`);
// Start boot sequence when globe tiles are loaded
const unsubGlobe = dataBus.on("globeReady", () => {
console.log("[AppShell] Globe ready — starting boot sequence.");
boot.startBoot();
};
// Primary trigger: globe signals it is ready.
const unsubGlobe = dataBus.on("globeReady", () => startBootOnce("globeReady"));
// Safety fallback: if the globe never initialises (e.g. WebGL unavailable
// in headless CI environments), force the boot sequence after 20 s so the
// app still reaches the "ready" state and tests are not left hanging.
const safetyTimer = setTimeout(() => startBootOnce("safety-timeout"), 20_000);
});
startPlatform();
return () => {
clearTimeout(safetyTimer);
unsubGlobe();
boot.cleanup();
pluginManager.destroy();