@ship.zone/runner 0.2.1 → 0.2.2

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/changelog.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## 2026-08-29 - 0.2.2
4
+
5
+ ### Fixes
6
+
7
+ - materialize packaged workspace helpers as private executable state files (oci-executor)
8
+ - Read exact bounded source bytes through a pinned descriptor and publish mode-0755
9
+ digest-addressed helper copies below a private state directory without replacing a concurrent
10
+ winner or changing package-managed source permissions.
11
+ - Serialize materialization, revalidate reused copies as single-link files without mutating them,
12
+ recover the exact validated two-link interruption window, fail closed on unsafe state paths, and
13
+ bound retained helpers and incomplete temporary files.
14
+ - Scope host and OCI runtime verification probes to a private persisted state-owner marker so
15
+ interrupted verification can be cleaned without touching unowned or another runner's resources,
16
+ and sync the helper-directory entry before relying on that persisted owner.
17
+
3
18
  ## 2026-07-31 - 0.2.1
4
19
 
5
20
  ### Fixes
package/deno.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ship.zone/runner",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "exports": "./mod.ts",
5
5
  "nodeModulesDir": "none",
6
6
  "tasks": {
package/dist_npm/mod.d.ts CHANGED
@@ -584,7 +584,7 @@ export interface IOciHelperCommandInput { runnerId: string;
584
584
  sourcePath?: string;
585
585
  destinationPath?: string;
586
586
  }
587
- export declare const scavengeHostTmpfsProbes: (directory?: string, dependencies?: IHostTmpfsProbeScavengerDependencies) => Promise<void>;
587
+ export declare const scavengeHostTmpfsProbes: (directory?: string, dependencies?: IHostTmpfsProbeScavengerDependencies, runtimeProbeOwnerId?: string) => Promise<void>;
588
588
  export declare const calculateWorkspaceVolumeLimits: (logicalBytes: number, maximumEntries: number, blockSize: number) => IWorkspaceVolumeLimits;
589
589
  export declare const buildOciRunCommand: (config: IRunnerConfig, input: IOciStepCommandInput) => IOciRunCommand;
590
590
  export declare const buildOciHelperCreateCommand: (config: IRunnerConfig, input: IOciHelperCommandInput) => string[];
@@ -608,6 +608,15 @@ export declare class OciExecutor implements IJobExecutor { private readonly conf
608
608
  private requireRuntimeFacts;
609
609
  private validateLeaseIdentity;
610
610
  private resolvePackagedHelper;
611
+ private materializeWorkspaceHelper;
612
+ private ensureWorkspaceHelperDirectory;
613
+ private ensureRuntimeProbeOwner;
614
+ private validateRuntimeProbeOwnerMarker;
615
+ private withWorkspaceHelperLock;
616
+ private scavengeWorkspaceHelpers;
617
+ private recoverInterruptedWorkspaceHelperPublication;
618
+ private validateMaterializedWorkspaceHelper;
619
+ private syncDirectory;
611
620
  private probeHostTmpfs;
612
621
  private readFilesystemProbe;
613
622
  private reconcileRuntimeProbeVolumes;