I don't expect to Template Tag to run during sync.
Actual Behavior
I have the 1Password plugin installed to fetch my secrets from the 1Password vault. The plugin is a Template Tag that I used in the Environments. When doing a request the Tag will run and fetch the 1Password secrets before first requesting me to authorise (1Password prompt).
Insomnia does some syncing every minute (here). When this sync happens the Template Tag run method is also triggered. That means that when Insomnia is running (even in the background) I will get a 1Password prompt because it tries to fetch the secret in the run method. This is not very handy.
The plugin already caches the secret for 1 hour so the prompt only appears once per hour (Insomnia is always running). But getting the prompt every hour is still not plesant.
I do wonder why the Template Tag run method is triggered for the sync. And if it can be disabled or prevented. I would think just the content of the Tag needs to be synced and therefor not be run.
Reproduction Steps
Install 1Password plugin
Use the plugin in the Environments
Use the environment in your request
Do a request
Comply with the 1Password authorisation prompt
Wait for 1 hour
1Password authorisation prompt appears
Is there an existing issue for this?
[X] I have searched the issue tracker for this problem.
Expected Behavior
I don't expect to Template Tag to run during sync.
Actual Behavior
I have the 1Password plugin installed to fetch my secrets from the 1Password vault. The plugin is a Template Tag that I used in the Environments. When doing a request the Tag will run and fetch the 1Password secrets before first requesting me to authorise (1Password prompt).
Insomnia does some syncing every minute (here). When this sync happens the Template Tag run method is also triggered. That means that when Insomnia is running (even in the background) I will get a 1Password prompt because it tries to fetch the secret in the run method. This is not very handy.
The plugin already caches the secret for 1 hour so the prompt only appears once per hour (Insomnia is always running). But getting the prompt every hour is still not plesant.
I do wonder why the Template Tag run method is triggered for the sync. And if it can be disabled or prevented. I would think just the content of the Tag needs to be synced and therefor not be run.
Reproduction Steps
Is there an existing issue for this?
Additional Information
No response
Insomnia Version
v8.6.1
What operating system are you using?
macOS
Operating System Version
MacOS 13.6 (22G120)
Installation method
Insomnia.rest
Last Known Working Insomnia version
No response