Remove accidental harness runtime wiring from cursor release.
Memind CI / Test, build, and release guards (push) Successful in 10m16s
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:
@@ -63,7 +63,6 @@ import {
|
|||||||
resolveRequestOrigin,
|
resolveRequestOrigin,
|
||||||
} from './server/portal-publication-shell.mjs';
|
} from './server/portal-publication-shell.mjs';
|
||||||
import { attachPortalRuntimeRoutes } from './server/portal-runtime-routes.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 { attachPortalStaticDeliveryRoutes } from './server/portal-static-delivery-routes.mjs';
|
||||||
import { createPortalWorkspacePublicationDelivery } from './server/portal-workspace-publication-delivery.mjs';
|
import { createPortalWorkspacePublicationDelivery } from './server/portal-workspace-publication-delivery.mjs';
|
||||||
import { attachPortalSeoDiscoveryRoutes } from './server/portal-seo-discovery-routes.mjs';
|
import { attachPortalSeoDiscoveryRoutes } from './server/portal-seo-discovery-routes.mjs';
|
||||||
@@ -284,7 +283,6 @@ let memoryV2ConfigService = null;
|
|||||||
let skillRuntimeConfigService = null;
|
let skillRuntimeConfigService = null;
|
||||||
let systemDisclosurePolicyService = null;
|
let systemDisclosurePolicyService = null;
|
||||||
let agentCodeRunPolicyService = null;
|
let agentCodeRunPolicyService = null;
|
||||||
let harnessRuntimeService = null;
|
|
||||||
let wechatCursorExecutorPolicyService = null;
|
let wechatCursorExecutorPolicyService = null;
|
||||||
let wechatScheduleLlmConfigService = null;
|
let wechatScheduleLlmConfigService = null;
|
||||||
let wechatScheduledTaskManageLlmConfigService = null;
|
let wechatScheduledTaskManageLlmConfigService = null;
|
||||||
@@ -340,7 +338,6 @@ async function bootstrapUserAuth() {
|
|||||||
try {
|
try {
|
||||||
if (!isDatabaseConfigured()) return false;
|
if (!isDatabaseConfigured()) return false;
|
||||||
const pool = createDbPool();
|
const pool = createDbPool();
|
||||||
harnessRuntimeService = createHarnessRuntimeService({ pool, env: process.env });
|
|
||||||
const domainServices =
|
const domainServices =
|
||||||
await bootstrapPortalDomainServices({
|
await bootstrapPortalDomainServices({
|
||||||
pool,
|
pool,
|
||||||
@@ -793,7 +790,6 @@ attachPortalRuntimeRoutes(api, {
|
|||||||
getEpisodicMemoryService: () => episodicMemoryService,
|
getEpisodicMemoryService: () => episodicMemoryService,
|
||||||
getAgentRunGateway: () => agentRunGateway,
|
getAgentRunGateway: () => agentRunGateway,
|
||||||
getCodeRunPolicyService: () => agentCodeRunPolicyService,
|
getCodeRunPolicyService: () => agentCodeRunPolicyService,
|
||||||
getHarnessRuntimeService: () => harnessRuntimeService,
|
|
||||||
env: process.env,
|
env: process.env,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user