Files
insomnia/packages/insomnia-data/node-src
Kyle d9db49438d test: verify legacy cookie source migration survives a script run
Adds regression coverage for cookies persisted before the source field
existed: the init-model migration grandfathers them in as 'manual' on
read (before the scripting bridge or render.ts ever see them), and that
tag holds up across a pre/post-request script run instead of hitting the
fail-closed fallback added in the previous commit.

Also documents the known tradeoff in that migration: a pre-existing
response-planted cookie can't be distinguished from a legitimate manual
one, so it gets grandfathered in as trusted too.
2026-09-18 18:30:23 -04:00
..