mirror of
https://github.com/morluto/rea.git
synced 2026-11-17 04:04:25 +00:00
* 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
26 lines
736 B
TypeScript
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;
|