Skip to main content

Module api

Module api 

Source
Expand description

HTTP wire types exchanged between the CLI, the edge worker, the scheduler Durable Object, and trusted CI.

Field docs describe the wire meaning of each payload; the validated identity newtypes from crate::identity carry the invariants.

Structs§

ArtifactRecord
Artifact record CI POSTs to the edge’s register endpoint after a build.
BatchArtifactRequest
Exact artifact batch request for one resolved dependency graph.
BatchArtifactRequestEntry
One exact artifact to batch fetch from edge.
BuildCompleteReport
CI reports job completion to the scheduler DO.
BuildTaskPayload
The task the scheduler dispatches to stow-build, carried verbatim as the workflow_dispatch input of the trusted build workflow.
DependencyGraphAnalysisEntry
Edge response for one dependency entry in the requested graph.
DependencyGraphArtifact
One exact cached artifact currently available for a dependency entry.
DependencyGraphEntry
A normalized dependency entry from a resolved Cargo dependency graph.
DependencyGraphMiss
A dependency miss that falls inside Stow’s prebuild window.
DependencyGraphRequest
Request sent by the CLI to edge for graph-aware cache analysis.
DependencyGraphResponse
Batch response describing the current graph’s cache coverage and upgrades.
EnqueueAdmission
Admission ticket the edge mints for one canonical enqueue task when a public request misses the cache.
EnqueueDependency
One task-level dependency that must complete before its parent dispatches.
EnqueueRequest
Request body for scheduler task submission.
EnqueueTicket
Request body for POST /api/v1/enqueue: the redemption of an EnqueueAdmission.
RecommendedDependencyVersion
The recommended upgrade target for one dependency entry.
ResolveLockfileRequest
Request body for /api/v1/catalog/resolve-lockfile.
ResolveLockfileResponse
Edge response carrying a stow-synthesized Cargo.lock whose every [[package]] entry corresponds to a cached artifact.
ResolvedDependencyGraphDependency
One exact dependency edge in a client-resolved Cargo graph.
ResolvedDependencyGraphEntry
One exact crates.io package node resolved from the client’s current lockfile graph.
SchedulerStatus
Scheduler DO queue status for monitoring.
SemanticArtifactRequest
Semantic artifact request from the CLI runtime wrapper.
UserDirectDependency
One direct dependency the user’s project declares.

Enums§

EnqueueSource
Where an enqueue request originated.