openclaw/scripts/ios-screenshot-evidence.d.mts
Vincent Koc 5778f39cc3
fix(ci): pin iOS screenshot evidence to workflow revision (#136334)
* fix(ci): pin iOS screenshot evidence harness

* fix(ci): update screenshot harness checkout owner

* fix(ci): register screenshot evidence entrypoint

* fix(ci): keep screenshot argument parser private

* test(ci): accept executable modes under restrictive umask
2026-09-03 19:07:52 +08:00

33 lines
818 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>;