Skip to content

Remove the never-populated estCompletion property from Batch - #1273

Merged
donaldgray merged 1 commit into
developfrom
hygiene/pro-04
Aug 17, 2026
Merged

Remove the never-populated estCompletion property from Batch#1273
donaldgray merged 1 commit into
developfrom
hygiene/pro-04

Conversation

@tomcrane

Copy link
Copy Markdown
Contributor

What does this change?

Removes the estCompletion property from the Batch Hydra model.

Batch.EstCompletion ("Estimated Completion (best guess as to when this batch might be finished)") has never been populated: BatchConverter.ToHydra does not set it, and no other code in the solution references it at all — nothing computes it and nothing reads it. Because it is always null it has never appeared in an actual wire response, so nothing can be depending on it. It is not mentioned in any issue or RFC, and the documentation site does not document it.

Until now the only visible trace was the vocab entry, but since #1268 the property also appears in the OpenAPI schema as a real-looking read-only response property, which makes the phantom actively misleading to API consumers reading the Swagger docs.

This removal is vocab/schema-only — no wire response changes (the property was never emitted). If a batch-completion estimate is wanted in future it can be designed as a fresh feature.

Batch.EstCompletion has never been set by anything - BatchConverter.ToHydra
does not populate it and no other code references it - so it has never
appeared in a wire response (null-suppressed). It was however declared in
the Hydra vocab and, since the OpenAPI schema mapping landed, visible in
Swagger as a real-looking response property. Remove the phantom; if a
batch-completion estimate is ever wanted it can be designed as a fresh
feature.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@donaldgray
donaldgray marked this pull request as ready for review August 17, 2026 10:21
@donaldgray
donaldgray requested a review from a team as a code owner August 17, 2026 10:21
@donaldgray
donaldgray merged commit ac7433f into develop Aug 17, 2026
2 checks passed
@donaldgray
donaldgray deleted the hygiene/pro-04 branch August 17, 2026 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants