@rizom/ops 0.2.0-alpha.275 → 0.2.0-alpha.277
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -2
- package/dist/brains-ops.js +142 -141
- package/dist/deploy.js +1 -1
- package/dist/directory-sync-stress-system.d.ts +21 -0
- package/dist/directory-sync-stress.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +231 -230
- package/dist/load-registry.d.ts +2 -0
- package/dist/run-command.d.ts +2 -1
- package/dist/schema.d.ts +2 -0
- package/package.json +1 -1
- package/templates/rover-pilot/.github/workflows/directory-sync-stress.yml +17 -1
- package/templates/rover-pilot/docs/operator-playbook.md +9 -2
|
@@ -15,6 +15,15 @@ export interface DeployedDirectorySyncStressOptions {
|
|
|
15
15
|
now?: () => Date;
|
|
16
16
|
sleep?: (milliseconds: number) => Promise<void>;
|
|
17
17
|
}
|
|
18
|
+
export interface VerifyDirectorySyncStressAccessOptions {
|
|
19
|
+
rootDir: string;
|
|
20
|
+
handle: string;
|
|
21
|
+
confirmation: string;
|
|
22
|
+
artifactsDir?: string;
|
|
23
|
+
env?: NodeJS.ProcessEnv;
|
|
24
|
+
commandRunner?: StressCommandRunner;
|
|
25
|
+
now?: () => Date;
|
|
26
|
+
}
|
|
18
27
|
export interface CleanupDirectorySyncStressOptions {
|
|
19
28
|
rootDir: string;
|
|
20
29
|
handle: string;
|
|
@@ -37,6 +46,17 @@ export interface DeployedDirectorySyncStressResult {
|
|
|
37
46
|
completedAt: string;
|
|
38
47
|
report: DirectorySyncStressReport;
|
|
39
48
|
}
|
|
49
|
+
export interface VerifyDirectorySyncStressAccessResult {
|
|
50
|
+
success: true;
|
|
51
|
+
artifactsDir: string;
|
|
52
|
+
checkedAt: string;
|
|
53
|
+
remoteHead: string;
|
|
54
|
+
target: {
|
|
55
|
+
handle: string;
|
|
56
|
+
domain: string;
|
|
57
|
+
contentRepo: string;
|
|
58
|
+
};
|
|
59
|
+
}
|
|
40
60
|
export interface CleanupDirectorySyncStressResult {
|
|
41
61
|
success: boolean;
|
|
42
62
|
artifactsDir: string;
|
|
@@ -46,6 +66,7 @@ export interface CleanupDirectorySyncStressResult {
|
|
|
46
66
|
cleanupCommit?: string;
|
|
47
67
|
}
|
|
48
68
|
export declare function runDeployedDirectorySyncStress(options: DeployedDirectorySyncStressOptions): Promise<DeployedDirectorySyncStressResult>;
|
|
69
|
+
export declare function verifyDirectorySyncStressAccess(options: VerifyDirectorySyncStressAccessOptions): Promise<VerifyDirectorySyncStressAccessResult>;
|
|
49
70
|
export declare function cleanupDirectorySyncStress(options: CleanupDirectorySyncStressOptions): Promise<CleanupDirectorySyncStressResult>;
|
|
50
71
|
export declare function applyDirectorySyncStressPhase(checkoutDir: string, phase: DirectorySyncStressPhase): Promise<void>;
|
|
51
72
|
export declare function listProbeFiles(checkoutDir: string): Promise<string[]>;
|
|
@@ -58,6 +58,7 @@ export interface StressContainerState {
|
|
|
58
58
|
export interface StressMetrics {
|
|
59
59
|
health: StressHealthSample[];
|
|
60
60
|
runtime: StressRuntimeSample[];
|
|
61
|
+
externalAiCalls?: number | undefined;
|
|
61
62
|
container?: StressContainerState | undefined;
|
|
62
63
|
}
|
|
63
64
|
export interface DirectorySyncStressReport {
|
package/dist/index.d.ts
CHANGED
|
@@ -15,6 +15,6 @@ export { encryptPilotSecrets } from "./secrets-encrypt";
|
|
|
15
15
|
export { pushPilotSecrets } from "./secrets-push";
|
|
16
16
|
export { verifyPilotUser } from "./verify-user";
|
|
17
17
|
export { assertDirectorySyncStressTarget, directorySyncStressPlanSchema, directorySyncStressProfileSchema, directorySyncStressReportSchema, resolveDirectorySyncStressPlan, runDirectorySyncStressPlan, sampleStressHealth, stressMetricsFailure, type DirectorySyncStressDriver, type DirectorySyncStressPhase, type DirectorySyncStressPlan, type DirectorySyncStressProfile, type DirectorySyncStressReport, } from "./directory-sync-stress";
|
|
18
|
-
export { cleanupDirectorySyncStress, runDeployedDirectorySyncStress, type CleanupDirectorySyncStressOptions, type CleanupDirectorySyncStressResult, type DeployedDirectorySyncStressOptions, type DeployedDirectorySyncStressResult, } from "./directory-sync-stress-system";
|
|
18
|
+
export { cleanupDirectorySyncStress, runDeployedDirectorySyncStress, verifyDirectorySyncStressAccess, type CleanupDirectorySyncStressOptions, type CleanupDirectorySyncStressResult, type DeployedDirectorySyncStressOptions, type DeployedDirectorySyncStressResult, type VerifyDirectorySyncStressAccessOptions, type VerifyDirectorySyncStressAccessResult, } from "./directory-sync-stress-system";
|
|
19
19
|
export { runCommand, type CommandResult } from "./run-command";
|
|
20
20
|
export { pilotSchema, cohortSchema, canonicalBundleIdSchema, type PilotConfig, type CohortConfig, } from "./schema";
|