Files
reverse-engineering-anything/scripts/ci/codeql-scope.d.mts
T
morluto 30d5ad2a48 perf(ci): narrow PR test selection fallbacks, unify stray lanes, and cache Windows builds (#11797)
* fix(ci): narrow false full-suite fallbacks in PR test selection

* ci: unify Go and Android lanes under CI and scope CodeQL and cache retention

* perf(ci): trim classification checkout, cache MinGW/Windows builds, and rebalance full shards

* fix(ci): calibrate PR CI health window and CI timings schedule

* perf(ci): fix script-basename substring fallbacks and trim macOS/Windows lane overhead

* fix(ci): address PR review findings across CodeQL, Windows cache key, PR health, and docs

* perf(tests): share canonical MCP catalog setup and avoid Ajv $ref expansion

* fix(ci): align selected test shard limits (50 files, max 8 shards) with 400-file cap
2026-11-16 21:27:46 -05:00

26 lines
736 B
TypeScript

export type CodeqlLanguage = "javascript-typescript" | "python" | "actions";
export interface CodeqlScopeRequest {
readonly event: string | undefined;
readonly base: string | undefined;
readonly head: string | undefined;
}
export interface CodeqlScopeRepository {
readonly mergeBase: (base: string, head: string) => string;
readonly changedFiles: (base: string, head: string) => readonly string[];
}
export interface CodeqlScopePlan {
readonly run: boolean;
readonly languages: readonly CodeqlLanguage[];
readonly reason: string;
}
export const CODEQL_LANGUAGES: readonly CodeqlLanguage[];
export function planCodeqlLanguages(
request: CodeqlScopeRequest,
repository: CodeqlScopeRepository,
): CodeqlScopePlan;