Okay.... so. I think this is right, but just checking:
Boba Fett:
After performing an attack, if the defender was dealt a faceup Damage card, you may discard this card to choose and discard 1 of the defender's Upgrade card.
Integrated Astromech
When you are dealt a Damage card, you may discard 1 of your Astromech Upgrade cards to discard that Damage card (without resolving its effect).
If I take a face-up damage, I junk the Astromech to discard the card. Hence Fett can't be used?
The Astromech effect takes place during the attack (when dealt the damage) so if I have it right, the discarded card no longer 'exists' for Fett to trigger off, since he only applies once the attack is completed.
Or does the fact it was dealt, even if it's not longer around, count?