Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions apis/workflows/v1/task_release.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ edition = "2023";
package workflows.v1;

import "buf/validate/validate.proto";
import "google/protobuf/timestamp.proto";
import "tilebox/v1/id.proto";
import "workflows/v1/core.proto";

Expand Down Expand Up @@ -32,8 +33,20 @@ message PublishReleaseResponse {
tilebox.v1.ID release_id = 1;
// True when this call created a new release row.
bool created = 2;
// True when this call matched an existing immutable payload exactly.
bool idempotent = 3;
// Explicit payload changes compared to the latest comparable release.
PublishReleaseChanges changes = 4;
reserved idempotent;
reserved 3;
}

// PublishReleaseChanges captures which release surfaces changed.
message PublishReleaseChanges {
// True when the task set (including versions) changed.
bool tasks = 1;
// True when the artifact content changed.
bool artifact = 2;
// True when the runtime environment changed.
bool environment = 3;
}

// DeployReleaseRequest updates the cluster deployment pointer for a release.
Expand Down Expand Up @@ -82,6 +95,8 @@ message DeployedRelease {
uint64 change_revision = 7;
// Task identifiers included in the deployed release.
repeated TaskIdentifier tasks = 8;
// Timestamp when this release pointer was deployed.
google.protobuf.Timestamp deployed_at = 9;
}

// GetClusterDeploymentManifestResponse returns desired deployment state for a cluster.
Expand Down
Loading