ci: migrate sentinel to gitea pac

This commit is contained in:
Codex
2026-07-05 14:06:37 +00:00
parent 79e9288d5f
commit 376ab626be
15 changed files with 561 additions and 158 deletions
@@ -16,6 +16,14 @@ export type WebProbeSentinelPublishAction = "publish-current";
export type WebProbeSentinelMaintenanceAction = "status" | "start" | "stop";
export type WebProbeSentinelDashboardAction = "verify" | "screenshot" | "trigger";
export type WebProbeSentinelReportView = "summary" | "turn-summary" | "findings" | "trace-frame" | "auth-session-switch-summary";
export type WebProbeSentinelSourceAuthority = "git-mirror-snapshot" | "gitea-snapshot";
export interface WebProbeSentinelSourceOverrideOptions {
readonly sourceCommit: string | null;
readonly sourceStageRef: string | null;
readonly sourceMirrorCommit: string | null;
readonly sourceAuthority: WebProbeSentinelSourceAuthority | null;
}
export type WebProbeSentinelOptions =
| {
@@ -36,6 +44,7 @@ export type WebProbeSentinelOptions =
readonly confirm: boolean;
readonly wait: boolean;
readonly timeoutSeconds: number;
readonly sourceOverride: WebProbeSentinelSourceOverrideOptions;
}
| {
readonly kind: "control-plane";
@@ -48,6 +57,7 @@ export type WebProbeSentinelOptions =
readonly wait: boolean;
readonly timeoutSeconds: number;
readonly rerun: boolean;
readonly sourceOverride: WebProbeSentinelSourceOverrideOptions;
}
| {
readonly kind: "publish";
@@ -60,6 +70,7 @@ export type WebProbeSentinelOptions =
readonly wait: boolean;
readonly timeoutSeconds: number;
readonly rerun: boolean;
readonly sourceOverride: WebProbeSentinelSourceOverrideOptions;
}
| {
readonly kind: "maintenance";
@@ -146,7 +157,7 @@ export interface SourceHead {
readonly commit: string | null;
readonly stageRef: string | null;
readonly mirrorCommit: string | null;
readonly sourceAuthority: "git-mirror-cache" | "git-mirror-snapshot";
readonly sourceAuthority: "git-mirror-cache" | "git-mirror-snapshot" | "gitea-cache" | "gitea-snapshot";
readonly latestDrift: boolean;
readonly result: CompactCommandResult;
}