mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-22 12:51:11 +00:00
* ci: scope PR Node tests to changed targets * ci: bound targeted Node test plans * test: cover changed path manifest input * fix(ui): preserve model providers lazy boundary * ci: cover public SDK re-export consumers * ci: reject unresolved changed test targets * ci: cover public SDK wrapper imports * ci: preserve global checks in targeted plans * docs(ci): clarify targeted boundary coverage * test(plugins): declare computed runtime dependencies
52 lines
1.4 KiB
TypeScript
52 lines
1.4 KiB
TypeScript
export type ChangedScope = {
|
|
runNode: boolean;
|
|
runMacos: boolean;
|
|
runIosBuild: boolean;
|
|
runAndroid: boolean;
|
|
runWindows: boolean;
|
|
runSkillsPython: boolean;
|
|
runChangedSmoke: boolean;
|
|
runControlUiI18n: boolean;
|
|
runUiTests: boolean;
|
|
};
|
|
|
|
export type InstallSmokeScope = {
|
|
runFastInstallSmoke: boolean;
|
|
runFullInstallSmoke: boolean;
|
|
};
|
|
|
|
export type NodeFastScope = {
|
|
runFastOnly: boolean;
|
|
runPluginContracts: boolean;
|
|
runCiRouting: boolean;
|
|
};
|
|
|
|
export type ChangedScopeArgs = {
|
|
base: string;
|
|
head: string;
|
|
mergeHeadFirstParent: boolean;
|
|
};
|
|
|
|
export function detectChangedScope(changedPaths: string[]): ChangedScope;
|
|
export function shouldRunNativeI18n(changedPaths: string[]): boolean;
|
|
export function shouldRunTsLoc(changedPaths: string[]): boolean;
|
|
export function detectNodeFastScope(changedPaths: string[]): NodeFastScope;
|
|
export function detectInstallSmokeScope(changedPaths: string[]): InstallSmokeScope;
|
|
export function listChangedPaths(
|
|
base: string,
|
|
head?: string,
|
|
cwd?: string,
|
|
preferMergeHeadFirstParent?: boolean,
|
|
): string[];
|
|
export function writeGitHubOutput(
|
|
scope: ChangedScope,
|
|
outputPath?: string,
|
|
installSmokeScope?: InstallSmokeScope,
|
|
nodeFastScope?: NodeFastScope,
|
|
runNativeI18n?: boolean,
|
|
runTsLoc?: boolean,
|
|
changedPaths?: string[] | null,
|
|
): void;
|
|
|
|
export function parseArgs(argv: string[]): ChangedScopeArgs;
|