hail icon indicating copy to clipboard operation
hail copied to clipboard

[hailtop] The Batch client should warn users when they are using deprecated APIs

Open daniel-goldstein opened this issue 2 months ago • 0 comments

What happened?

We do not have a formal deprecation and removal process for Batch features. Users might not realize that they need to upgrade until they try to run a workload that fails, and even then they might think there's just a bug and come to us for help. The only thing we can do to mitigate this is wait a "long enough" time that we think everyone has upgraded.

We should add functionality to the batch client such that, when it receives a X-Hail-Deprecated response header from the batch service, it warns the user that they are using deprecated or removed functionality (with a helpful description) and that they should upgrade. This should promote timely upgrades when we deprecate features and reduce support burden when we remove features.

Version

0.2.130

Relevant log output

No response

daniel-goldstein avatar Apr 18 '24 20:04 daniel-goldstein