aces / cbrain

CBRAIN is a flexible Ruby on Rails framework for accessing and processing of large data on high-performance computing infrastructures.
GNU General Public License v3.0
70 stars 43 forks source link

new consistency check at boot time: Userfile and CbrainTask classes STI #969 #1369

Open MontrealSergiy opened 5 months ago

MontrealSergiy commented 5 months ago

see #969

MontrealSergiy commented 5 months ago

I think I can further shorten code but factoring out common elements of two checks into another method. Also if modifications will be needed (e.g. rollback to using rescue requested) I would need less change ... so if it is ok wait a sec

MontrealSergiy commented 5 months ago

added a generic STI checking method and a task check for Bourreau