[Bug] Cookies accessed as a tag/function isn't replaced under some circumstances
- Dominant language
- TypeScript
- Stars
- 40k
- Forks
- 2.4k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
- Insomnia Version: 6.0.2
- Operating System: Linux
## Details
I've found a weird corner case when using cookies as a tag/function.
We have short lived cookies (15 minutes) and if don't re-login (to fetch a new cookie) before it expires the tag/function turns red (No cookie with name) and doesn't start working until the cookie is first deleted manual from the cookie jar and then re-fetched.
Contributor guide
Research direction
Start by reproducing the expired-cookie case in Insomnia 6.0.2 on Linux: use a short-lived cookie, let it expire, and invoke the cookie tag/function again. Trace the cookie tag/function replacement and cookie-jar refresh behavior; done means an expired cookie is refreshed without manually deleting it first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, authentication
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100