You have asked a good question. But at first I want to clarify the defining (restrictive) relative clause and non-defining (continuative) relative clause with two examples :
Now compare the following two sentences :
(A) The place where I went to school is a wonderful town.
(B) Edinburgh, where I went to university, is a beautiful city.
In (A) We can’t say “The place is a wonderful town” … why? Because we don’t know which place it is. This means that it is essential to put the complete defining clause :The place "where I went to school" is a wonderful town. (Here the quoted part is a Defining Relative Clause because it defines or describes its antecedent "The place". This clause clearly defined which place it was. Therefore, we DO NOT USE COMMAS here.
In B it is possible to say “Edinburgh is a beautiful city” and “where I went to university” is an extra information that grammatically is not necessary. Both parts are grammatically complete sentences (grammatically this type of Relative Clause is called a non-defining Relative Clause, because it does NOT define the subject, it only adds information, this type is written with COMMAS at the beginning and end).
Therefore, your posted sentence contains a non-defining relative clause :
However, a previous history of drug use ....... predictor of program success, which ( = and it ) suggests that interventions should be put in place sooner than later.
Here the relative clause is adding extra information about the program success, and here which stands for 'and' it'.
It's therefore a non-defining relative clause and a comma should be used before 'which'.
Hope, it's now as clear as daylight!
Thank you, everyone.