1.) If at all possible, don't take a full time job in a technical org who's membership is greater than Dunbar's number (see https://en.wikipedia.org/wiki/Dunbar%27s_number)
2.) If at all possible, don't take a full time job in a technical org that is viewed as a cost center (e.g. the code you write/systems you maintain don't generate revenue).
These are no guarantee of job stability, but the violation of rule #1 (e.g. big honkin' tech == dumb decisions & middle mgmt morons) or rule #2 (e.g. you are a cost to be managed & cut) are far more likely to lead to job instability. Jut my personal experience & $0.02USD.