fix(relationships): address galaxy review regressions

Bundle relationship worker entries for packaged builds.

Refresh and surface galaxy task failures, clean detached Pixi layers, cap focused neighborhoods, merge owner nodes across platforms, apply manual friend overrides, and track owner group activity.
This commit is contained in:
digua committed 2026-06-30 14:41:46 +08:00
1 parent 9c2ab48b1c
commit d3d2661882
14 files changed
+707 -28

No files matched your search

+27
View File
@@ -0,0 +1,27 @@
/**
* Regression tests for worker bundle entry configuration.
*
* Run: pnpm test -- tests/build-worker-entries.test.ts
*/
import assert from 'node:assert/strict'
import { readFileSync } from 'node:fs'
import test from 'node:test'
function readProjectFile(path: string): string {
return readFileSync(path, 'utf-8')
}
test('CLI bundle emits the people relationships worker entry expected by the runtime resolver', () => {
const config = readProjectFile('apps/cli/tsup.config.ts')
assert.match(config, /['"]people-relationships-worker['"]\s*:/)
assert.match(config, /packages\/node-runtime\/src\/services\/people\/relationships\/worker-entry\.ts/)
})
test('Desktop bundle emits the people relationships worker entry expected by the runtime resolver', () => {
const config = readProjectFile('apps/desktop/electron.vite.config.ts')
assert.match(config, /['"]people-relationships-worker['"]\s*:/)
assert.match(config, /packages\/node-runtime\/src\/services\/people\/relationships\/worker-entry\.ts/)
})