Skip to content

Commit 04581e1

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 f9d6327 commit 04581e1

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.
@@ -181,9 +178,9 @@ mod tests {
181178
// image wire identity, now with explicit presence. Compute configuration
182179
// updates use a separate capability/service and add one classified RPC.
183180
const PUBLIC_RPC_SCHEMA_SHA256: &str =
184-
"82bafb2d6761f931bd61d779c138bd87029d1616a952671eccce92a15e99d21b";
181+
"91c5efe4b1825b2c0726d7e66e99c708a106a5446876242fb6e4daa79e61f9a2";
185182
const DURABLE_SCHEMA_SHA256: &str =
186-
"0428468afb6a08ed0fb2d8c66dbc3c601771c3744f1fd4016b055d5c1a546a6f";
183+
"92603ee0e9a998dacc11d937c4d6fd0d7844d18fdef3edd82e7eb647d826b64b";
187184
const PUBLIC_DURABLE_OVERLAP_SHA256: &str =
188185
"324526d75a8d523328a4c902f867400105826e6f540123f88a3ba1bbe8925958";
189186
// 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
@@ -2637,9 +2637,6 @@ enum ProviderProfileCategory {
26372637

26382638
// Provider type profile metadata exposed to clients.
26392639
message ProviderProfile {
2640-
reserved 16;
2641-
reserved "required_platform_adapter";
2642-
26432640
string id = 1;
26442641
string display_name = 2;
26452642
string description = 3;

0 commit comments

Comments
 (0)