The Invisibility spell reads thus:
A creature you touch becomes invisible until the spell ends. Anything the target is wearing or carrying is invisible as long as it is on the target's person. The spell ends for a target that attacks or casts a spell.
This doesn't specify whether it refers to taking the Attack action, or rolling an attack roll. I thought this usually defaulted to making an attack roll, but, this answer claims that if you take the Ready action, the Invisibility spell would not end, since it's not an Attack action or a Cast a Spell action.
Is that a correct reading? It seems to clearly be against RAI at least, if not also against RAW. What would stop someone from taking the Ready action with a condition that basically immediately resolves? For instance, I could choose as the perceivable circumstance, "when I feel the ground beneath my feet" which is true already, so would trigger right away. Then you could attack or cast a spell as normal.
Wouldn't this make the Invisibility spell not much different to Greater Invisibility? Sure it uses a reaction and probably means you can't use an extra attack... but it still seems a bit wrong.