Remove accidental harness runtime wiring from cursor release.
Memind CI / Test, build, and release guards (push) Successful in 10m16s

The cursor channel commit picked up unstaged harness bootstrap code without the service module, which broke Portal runtime bundling.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-08-31 09:42:11 +08:00
parent 617ff0d1dd
commit 71d1316919
-4
View File
@@ -63,7 +63,6 @@ import {
resolveRequestOrigin,
} from './server/portal-publication-shell.mjs';
import { attachPortalRuntimeRoutes } from './server/portal-runtime-routes.mjs';
import { createHarnessRuntimeService } from './services/harness/runtime.mjs';
import { attachPortalStaticDeliveryRoutes } from './server/portal-static-delivery-routes.mjs';
import { createPortalWorkspacePublicationDelivery } from './server/portal-workspace-publication-delivery.mjs';
import { attachPortalSeoDiscoveryRoutes } from './server/portal-seo-discovery-routes.mjs';
@@ -284,7 +283,6 @@ let memoryV2ConfigService = null;
let skillRuntimeConfigService = null;
let systemDisclosurePolicyService = null;
let agentCodeRunPolicyService = null;
let harnessRuntimeService = null;
let wechatCursorExecutorPolicyService = null;
let wechatScheduleLlmConfigService = null;
let wechatScheduledTaskManageLlmConfigService = null;
@@ -340,7 +338,6 @@ async function bootstrapUserAuth() {
try {
if (!isDatabaseConfigured()) return false;
const pool = createDbPool();
harnessRuntimeService = createHarnessRuntimeService({ pool, env: process.env });
const domainServices =
await bootstrapPortalDomainServices({
pool,
@@ -793,7 +790,6 @@ attachPortalRuntimeRoutes(api, {
getEpisodicMemoryService: () => episodicMemoryService,
getAgentRunGateway: () => agentRunGateway,
getCodeRunPolicyService: () => agentCodeRunPolicyService,
getHarnessRuntimeService: () => harnessRuntimeService,
env: process.env,
});