@rizom/ops 0.2.0-alpha.294 → 0.2.0-alpha.296

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.
@@ -1,11 +1,12 @@
1
1
  import type { FetchLike } from "@brains/deploy-support/origin-ca";
2
- import { type DirectorySyncStressPhase, type DirectorySyncStressProfile, type DirectorySyncStressReport, type StressRuntimeSample } from "./directory-sync-stress";
2
+ import { type DirectorySyncStressPhase, type DirectorySyncStressPlan, type DirectorySyncStressProfile, type DirectorySyncStressReport, type StressRuntimeSample } from "./directory-sync-stress";
3
3
  import { type StressCommandRunner } from "./stress-command";
4
4
  export { runStressCommand, type StressCommandOptions, type StressCommandResult, type StressCommandRunner, } from "./stress-command";
5
5
  export interface DeployedDirectorySyncStressOptions {
6
6
  rootDir: string;
7
7
  handle: string;
8
8
  profile: DirectorySyncStressProfile;
9
+ plan?: DirectorySyncStressPlan;
9
10
  confirmation: string;
10
11
  artifactsDir?: string;
11
12
  env?: NodeJS.ProcessEnv;
@@ -12,6 +12,7 @@ export interface DirectorySyncStressPhase {
12
12
  export interface DirectorySyncStressPlan {
13
13
  profile: DirectorySyncStressProfile;
14
14
  maximumProbeCount: number;
15
+ maximumExternalAiCalls?: number | undefined;
15
16
  phases: DirectorySyncStressPhase[];
16
17
  }
17
18
  export interface StressBaseline {
@@ -103,4 +104,4 @@ export interface SampleStressHealthOptions {
103
104
  }
104
105
  export declare function sampleStressHealth(url: string, options?: SampleStressHealthOptions): Promise<StressHealthSample>;
105
106
  export declare function runDirectorySyncStressPlan(plan: DirectorySyncStressPlan, driver: DirectorySyncStressDriver): Promise<DirectorySyncStressReport>;
106
- export declare function stressMetricsFailure(metrics: StressMetrics): string | undefined;
107
+ export declare function stressMetricsFailure(metrics: StressMetrics, maximumExternalAiCalls?: number): string | undefined;