hydra
hydra copied to clipboard
JobsetInputAlts: Drop, storing the input's value directly in the Input table
This most certainly breaks the API(s), and potentially other things. We may want to add compatibility shims to the API.
I haven't tried using the UI manually, though the tests do pass. Also, I haven't tried writing a migration for this.
Another thing to consider is this will actually cause data loss for older instances. Hydra's newest jobsetevals record with a non-zero altNr is from October of 2017. I'm not sure what we should do about this: this is a pretty nice cleanup, and enables quite a lot more. However, I'm not eager to delete user's data.
I'm going to post about this on the Hydra section of Discourse.
This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/dropping-jobsetinputalts/17584/1