Files
openclaw/scripts/ios-screenshot-evidence.d.mts
Vincent Koc e27433c22e improve(ci): shard iOS screenshot capture (#128460)
* perf(ci): shard iOS screenshot capture

* fix(ci): bind iOS screenshot shard evidence

* fix(ci): preserve screenshot capture attempts

* fix(ci): align screenshot shards with Xcode 26.6

* fix(ci): provision screenshot shard Fastlane

* fix(ci): normalize Fastlane provenance version

* fix(ci): select installed Fastlane version
2026-08-24 16:59:06 -07:00

39 lines
954 B
TypeScript

export type IosScreenshotTooling = {
xcode: string;
fastlane: string;
node: string;
};
export type IosScreenshotProvenance = {
targetSha: string;
workflowSha: string;
runId: string;
runAttempt: string | number;
tooling: IosScreenshotTooling;
};
export type XcresultSummary = {
testResult: string;
failedTests: number;
};
export function collectIosScreenshotEvidence(options: {
family: string;
screenshotDirectory: string;
xcresultDirectory: string;
outputDirectory: string;
provenance: IosScreenshotProvenance;
readXcresultSummary?: (resultPath: string) => XcresultSummary;
}): Record<string, unknown>;
export function reduceIosScreenshotEvidence(options: {
inputDirectory: string;
outputRoot: string;
expectedProvenance: IosScreenshotProvenance;
}): Record<string, unknown>;
export function parseIosScreenshotEvidenceArgs(argv: string[]): {
command: string | undefined;
options: Record<string, string>;
};