test(sdk): use a deployment id the schema pattern accepts - #437
test(sdk): use a deployment id the schema pattern accepts#437ItamarZand88 wants to merge 1 commit into
Conversation
The reconcile round-trip test used a 24-character id, and the platform spec pins deployment ids to 28, so the request never deserialized and the test failed on main.
Greptile SummaryThis PR corrects a Rust SDK test fixture so its deployment ID satisfies the platform schema and allows the reconcile round-trip assertions to execute.
Confidence Score: 5/5The PR appears safe to merge because the updated fixture satisfies the deployment ID schema without changing production behavior or test semantics. The replacement ID has the required 28-character lowercase alphanumeric suffix, allowing deserialization to reach the existing runtime-metadata round-trip assertions.
|
| Filename | Overview |
|---|---|
| client-sdks/platform/rust/src/lib.rs | Updates one test fixture to use a schema-compliant deployment ID; no actionable issues found. |
Reviews (1): Last reviewed commit: "test(sdk): use a deployment id the schem..." | Re-trigger Greptile
|
Superseded on main by #419 ( |
Summary
The reconcile round-trip test added in #432 uses a 24-character deployment id, and the platform spec pins deployment ids to
dep_+ 28 characters, so the request never deserializes andalien-platform-api's tests fail onmain. This gives the test an id the schema accepts.When the test runs:
This changes the test's fixture id to one the schema pattern accepts.
How I tested
cargo test -p alien-platform-api reconcile_state_preserves— fails onmainwithdoesn't match pattern "dep_[0-9a-z]{28}$", passes with this change.