@rizom/ops 0.2.0-alpha.265 → 0.2.0-alpha.266

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,16 +1,7 @@
1
1
  import type { FetchLike } from "@brains/deploy-support/origin-ca";
2
2
  import { type DirectorySyncStressPhase, type DirectorySyncStressProfile, type DirectorySyncStressReport, type StressRuntimeSample } from "./directory-sync-stress";
3
- export interface StressCommandOptions {
4
- cwd?: string;
5
- env?: NodeJS.ProcessEnv;
6
- stdin?: string;
7
- }
8
- export interface StressCommandResult {
9
- exitCode: number;
10
- stdout: string;
11
- stderr: string;
12
- }
13
- export type StressCommandRunner = (command: string, args: readonly string[], options?: StressCommandOptions) => Promise<StressCommandResult>;
3
+ import { type StressCommandRunner } from "./stress-command";
4
+ export { runStressCommand, type StressCommandOptions, type StressCommandResult, type StressCommandRunner, } from "./stress-command";
14
5
  export interface DeployedDirectorySyncStressOptions {
15
6
  rootDir: string;
16
7
  handle: string;
@@ -60,4 +51,3 @@ export declare function applyDirectorySyncStressPhase(checkoutDir: string, phase
60
51
  export declare function listProbeFiles(checkoutDir: string): Promise<string[]>;
61
52
  export declare function removeProbeFiles(checkoutDir: string): Promise<number>;
62
53
  export declare function parseStressRuntimeSample(output: string, timestamp: string): StressRuntimeSample | undefined;
63
- export declare const runStressCommand: StressCommandRunner;
package/dist/images.d.ts CHANGED
@@ -43,10 +43,13 @@ export interface ResolveImageBuildsOptions {
43
43
  users: ImageRequirementSource[];
44
44
  /**
45
45
  * Explicit dispatch override — the manual/backfill path. When set, exactly
46
- * this one image is built, skipping both the registry and the exists check.
46
+ * this one image is built, skipping the registry-derived resolve. Published
47
+ * tags stay immutable: a same-tag rebuild from a newer Dockerfile can
48
+ * strand the tag boot-broken, so rebuilding needs allowTagOverwrite.
47
49
  */
48
50
  brainVersionInput?: string | undefined;
49
51
  sitePackagesInput?: string | undefined;
52
+ allowTagOverwrite?: boolean | undefined;
50
53
  imageExists: (tag: string) => Promise<boolean>;
51
54
  }
52
55
  /**