1. Perform base action.
2. Both EI and PtL have a chance to trigger. Activate EI ONLY.
3. Perform upgrade action via EI.
4. Trigger PtL from action in #3.
5. Perform PtL action
6. Gain PtL stress
7. Gain EI stress.
That order is certainly legal.
This is way down in the weeds of timing that FFG just never bothers to explain ...
FFG never explained timing. Because of that and the player chooses order of simultaneous effects ruling, other orders might be legal as well.
No it isn't legal (unless Tycho) when you choose to activate an effect (as in you choose to use PTL 1st) you must resolve that effect fully before moving onto another one. You can't say fire a PS 4 Red at a Tie roll your attack dice, and then roll your PS 4 Dagger's Attack at the same TIE before you choose if you want to spend your Red's focus they all happen at the "same time" but you still have to finish resolving the attack before starting another.
I know what you guys will say "Attacks and preforming actions are different, just because that it is spelled out for attacks and not for actions/EPT effects means you can do it when you preform an action/EPT" Remember 2 things A) PTL/EI didn't exist when the core rules were written and thus it hasn't been addressed yet in the FAQs (sorta like the large ship barrel roll thing) B) I have never known a rule system that follows a basic concept of resolving one effect completely before moving onto another for one phase and then completely ignore it for the others
Finally when all else fails it is probably the safer option to err on the side of limiting something until it is FAQed than allowing it because if you assume you can do something that then becomes illegal you will have (unintentionally) cheated your opponent, if you hold back and it turns out it does become legal well then you just made your game a little more challenging.