Skip to content

Commit c91e25b

Browse files
committed
fix(providers): drop reservation for unshipped adapter field
Remove ProviderProfile's reserved field 16 and required_platform_adapter name because the field was introduced and removed within this PR. Delete the corresponding storage migration comment and refresh the public and durable schema fingerprints. Validation: all 12 storage_proto tests passed with test-support enabled. Protobuf lint, cargo fmt --all -- --check, and git diff --check passed. Signed-off-by: Philippe Martin <phmartin@redhat.com>
1 parent 11e8ea1 commit c91e25b

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

‎crates/openshell-server/src/storage_proto.rs‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,6 @@ mod tests {
132132
// legacy payload decoding. The provider-environment file map and peer
133133
// configuration notification are public-only. Older supervisors ignore the
134134
// additive file map while retaining the rest of the response.
135-
// ProviderProfile's adapter requirement is removed with its field number
136-
// and name reserved. Prior payloads ignore that field while preserving
137-
// environment declarations at field 15; storage.v1 remains unchanged.
138135
// Preparation timing adds two optional timestamps to SandboxProvisioning.
139136
// Existing rows decode with both absent and retain their active deadline;
140137
// no stored attempt gains another phase or time budget on upgrade.
@@ -182,9 +179,9 @@ mod tests {
182179
// updates use a separate capability/service and add one classified RPC.
183180
// Discovery RPCs move to ServiceDiscovery; message and durable closures are unchanged.
184181
const PUBLIC_RPC_SCHEMA_SHA256: &str =
185-
"ed786a7554ff36b662e56311b00ac019491fc6d25768dbb9ea02708e58d62685";
182+
"88a02a4ce46007ad6d3e0652b61cc11c8e0ad23edc2f0649553c120883c9cfeb";
186183
const DURABLE_SCHEMA_SHA256: &str =
187-
"0428468afb6a08ed0fb2d8c66dbc3c601771c3744f1fd4016b055d5c1a546a6f";
184+
"92603ee0e9a998dacc11d937c4d6fd0d7844d18fdef3edd82e7eb647d826b64b";
188185
const PUBLIC_DURABLE_OVERLAP_SHA256: &str =
189186
"324526d75a8d523328a4c902f867400105826e6f540123f88a3ba1bbe8925958";
190187
// Encoded with the schema that omitted stable_placeholder. Keep these

‎proto/openshell.proto‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2666,9 +2666,6 @@ enum ProviderProfileCategory {
26662666

26672667
// Provider type profile metadata exposed to clients.
26682668
message ProviderProfile {
2669-
reserved 16;
2670-
reserved "required_platform_adapter";
2671-
26722669
string id = 1;
26732670
string display_name = 2;
26742671
string description = 3;

0 commit comments

Comments
 (0)