Refactor how we record the active workspace ID.

Closes #3564326

Merge request reports

Loading