Instead of storing circuits per credentials, let's store them per-tab and then display the original circuit for each tab, even if that circuit has since closed and been replaced under the same credentials.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
It looks like a nonsense. Why do we need the original circuit instead of the current one for the first party?
I think that's because we want to make sure to show the circuit that actually loaded the content in a tab regardless what the current circuit is/were if one was about to fetch the content again. However, I am not sure if those corner cases are actually possible but I assume so.