On 31 August, for 30 minutes after release 34, a store I work on kept sending release 33's security policy. The pipeline was green and nothing logged an error. On the server, 3 queue consumers were still running from older release directories, one of them for 6 days.
30 minutes of the previous release
The first check was the full page cache. A request with a unique query string, which the cache can't answer, still came back with the old policy. The second was OPcache: PHP CLI, where OPcache is off, read the same stale configuration. That left the config cache, and a manual bin/magento cache:flush fixed it.
Why had a fresh cache filled with old data? One consumer had been running since 25 August, 13:29, from releases/32 , and 2 more ran from releases/33 , while current pointed at releases/34 . All 3 shared the Redis cache with the live site.…