treadmill-tb / treadmill

The Treadmill Hardware Testbed Software Stack
2 stars 0 forks source link

dev/switchboard: Fix job parameter insertion SQL query. #39

Closed max-cura closed 1 month ago

max-cura commented 1 month ago

Bugfix for CI issues noted in #36. Query was inserting all parameter keys paired with all parameter values (instead of all parameter keys, each with their own value), which created violations of the primary key constraint. The query has been rewritten and tested. As this was an issue at the SQL level that could not be caught anywhere higher, no additional validation has been added.

charles37 commented 1 month ago

LGTM