mirror of
https://github.com/bitbaum/openclaw.git
synced 2026-12-05 06:17:34 +01:00
* fix(qa): keep leases when Gateway startup teardown fails Retain a synchronous QA child owner through startup, replacement, and explicit finalization. Release Gateway-backed transport leases only after authoritative process settlement, independently of cleanup diagnostics. Preserve failure artifacts and primary fixture errors. Fixes #131643 * test(qa): keep fixture cleanup inside plugin boundaries * test(qa): retain integrated fixture owners and stop observations * ci: follow renamed local JSONL socket owner in CodeQL * test(qa): record reviewed cleanup error suppressions * test(ci): exercise PR-native network semantic review Route sensitive changes into the existing semantic gate and restore configured net-policy coverage. Add actual query fixtures, including an intentional red checkpoint for JavaScript-family raw clients before the follow-up predicate repair. PR remains draft until semantic proof and final CI pass. * fix(ci): classify supported JavaScript network sources Preserve the existing directory and owner boundaries across TS, MTS, JS, and MJS. Hosted semantic regression 33190472078 failed on exactly the three missing executable rows; expected findings and test exclusions remain unchanged. * test(ci): isolate network fixtures and retain guard coverage Use independent fixture stems and explicit MTS extractor inputs while preserving every expected finding. Scan the semantic fixture root for duplicates and keep the exact socket-owner assertion insensitive to formatting. * test(qa): return confirmed stop in WhatsApp cleanup fixture * test(qa): own Discord attachment gateway before startup * ci: fail closed on unavailable CodeQL diff metadata * test(oc-path): measure synchronous worker CPU budgets
121 lines
3.6 KiB
TypeScript
121 lines
3.6 KiB
TypeScript
// Qa Lab API module exposes the plugin public contract.
|
|
export {
|
|
buildQaBusSnapshot,
|
|
cloneEvent,
|
|
cloneMessage,
|
|
DEFAULT_ACCOUNT_ID,
|
|
normalizeAccountId,
|
|
normalizeConversationFromTarget,
|
|
pollQaBusEvents,
|
|
readQaBusMessage,
|
|
searchQaBusMessages,
|
|
} from "./src/bus-queries.js";
|
|
export {
|
|
closeQaHttpServer,
|
|
createQaBusServer,
|
|
handleQaBusRequest,
|
|
startQaBusServer,
|
|
writeError,
|
|
writeJson,
|
|
} from "./src/bus-server.js";
|
|
export { createQaBusState, type QaBusState } from "./src/bus-state.js";
|
|
export {
|
|
createQaBusWaiterStore,
|
|
DEFAULT_WAIT_TIMEOUT_MS,
|
|
type QaBusWaitMatch,
|
|
} from "./src/bus-waiters.js";
|
|
export { createQaRunnerRuntime } from "./src/harness-runtime.js";
|
|
export {
|
|
buildScriptEvidenceSummary,
|
|
QA_EVIDENCE_FILENAME,
|
|
type QaEvidencePackageSource,
|
|
type QaEvidenceStatus,
|
|
type QaEvidenceSummaryJson,
|
|
validateQaEvidenceSummaryJson,
|
|
} from "./src/evidence-summary.js";
|
|
export type { QaProviderMode } from "./src/providers/index.js";
|
|
export {
|
|
type QaLabLatestReport,
|
|
type QaLabScenarioOutcome,
|
|
type QaLabScenarioRun,
|
|
type QaLabServerHandle,
|
|
type QaLabServerStartParams,
|
|
startQaLabServer,
|
|
} from "./src/lab-server.js";
|
|
export { buildQaDockerHarnessImage, writeQaDockerHarnessFiles } from "./src/docker-harness.js";
|
|
export {
|
|
buildQaScenarioPlanMarkdown,
|
|
readQaAgentIdentityMarkdown,
|
|
} from "./src/qa-agent-bootstrap.js";
|
|
export { seedQaAgentWorkspace } from "./src/qa-agent-workspace.js";
|
|
export { createQaChannelTransport } from "./src/qa-channel-transport.js";
|
|
export { createStaticSshWorkerProvider } from "./src/static-ssh-worker-provider.js";
|
|
export {
|
|
buildQaGatewayConfig,
|
|
DEFAULT_QA_CONTROL_UI_ALLOWED_ORIGINS,
|
|
mergeQaControlUiAllowedOrigins,
|
|
normalizeQaThinkingLevel,
|
|
QA_BASE_RUNTIME_PLUGIN_IDS,
|
|
type QaThinkingLevel,
|
|
} from "./src/qa-gateway-config.js";
|
|
export {
|
|
TINY_PNG_BASE64,
|
|
type MockOpenAiRequestSnapshot,
|
|
} from "./src/providers/mock-openai/mock-openai-contracts.js";
|
|
export { startQaMockOpenAiServer } from "./src/providers/mock-openai/server.js";
|
|
export { renderQaMarkdownReport, type QaReportCheck, type QaReportScenario } from "./src/report.js";
|
|
export {
|
|
type QaScenarioDefinition,
|
|
type QaScenarioResult,
|
|
type QaScenarioStep,
|
|
type QaScenarioStepContext,
|
|
type QaScenarioStepResult,
|
|
runQaScenario,
|
|
} from "./src/scenario.js";
|
|
export {
|
|
DEFAULT_QA_AGENT_IDENTITY_MARKDOWN,
|
|
hasQaScenarioPack,
|
|
listQaScenarioYamlPaths,
|
|
type QaBootstrapScenarioCatalog,
|
|
type QaScenarioExecution,
|
|
type QaScenarioFlow,
|
|
type QaScenarioPack,
|
|
type QaSeedScenario,
|
|
type QaSeedScenarioWithSource,
|
|
readQaBootstrapScenarioCatalog,
|
|
readQaScenarioById,
|
|
readQaScenarioExecutionConfig,
|
|
readQaScenarioOverviewMarkdown,
|
|
readQaScenarioPack,
|
|
readQaScenarioPackYamlSource,
|
|
validateQaScenarioExecutionConfig,
|
|
} from "./src/scenario-catalog.js";
|
|
export { createQaSelfCheckScenario } from "./src/self-check-scenario.js";
|
|
export {
|
|
isQaSelfCheckSuccessful,
|
|
type QaSelfCheckResult,
|
|
resolveQaSelfCheckOutputPath,
|
|
runQaSelfCheckAgainstState,
|
|
} from "./src/self-check.js";
|
|
export { runQaE2eSelfCheck, runQaLabSelfCheck } from "./src/self-check-runner.js";
|
|
export {
|
|
type QaCliBackendAuthMode,
|
|
type QaGatewayChildListeningContext,
|
|
type QaGatewayChildCommand,
|
|
type QaGatewayChildStateMutationContext,
|
|
createQaGatewayChild,
|
|
type QaGatewayChild,
|
|
type QaGatewayStopResult,
|
|
} from "./src/gateway-child.js";
|
|
export {
|
|
buildQaSuiteSummaryJson,
|
|
type QaSuiteResult,
|
|
type QaSuiteRunParams,
|
|
type QaSuiteScenarioResult,
|
|
type QaSuiteStartLabFn,
|
|
type QaSuiteSummaryJson,
|
|
type QaSuiteSummaryJsonParams,
|
|
runQaFlowSuite,
|
|
} from "./src/suite.js";
|
|
export { runQaSuite, type QaSuiteRuntimeResult } from "./src/suite-launch.runtime.js";
|