Project env vars not updating

I encountered a weird bug today where after updating my env vars for terraform (TF_TOKEN_app_terraform_io), the runner actually wouldn’t use the new value!

I have no idea how its possible for the runner to use an old value from the project, but this looks like a serious bug, and a security risk. seeing a value thats been deleted shouldn’t even be possible.

I verified by generating a new value for the env var, and still the old value gets used when I echo it out (horrible practice I know, but I started to get a bit nuts before doing this to verify it was not in fact me).

Even deleting the key all together from the project settings had no effect. my jobs would still happily echo out the old env var.

Has anyone else encountered this?