FIIDA 中文 Contact
Home / Engineering Docs / Engineering tools and contracts

Engineering tools and contracts

“Publish the latest draft” sounds clear until a request is retried. The first request promotes version 12 but its response is lost. Someone saves version 13 before the retry. Resolving “latest” again turns one retry into a second release.

A clearer contract names the environment, candidate version, expected current version and operation identifier. The service can then distinguish a successful switch, a repeat of an already completed operation and a conflict because another operator changed the environment. JSON Schema describes the shape of the fields. Version conflicts and retry guarantees come from the service’s behaviour.

Read tools benefit from the same precision. A phone-health query returning the timestamp, type and observation of its last check tells an engineer more than a green icon. Those fields distinguish a recent end-to-end call from a connectivity probe that ran hours ago.

Related site sections

Back to Engineering Docs