Closed (fixed)
Project:
Drupal core
Version:
11.3.x-dev
Component:
workspaces.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
22 Oct 2025 at 05:45 UTC
Updated:
11 Nov 2025 at 11:39 UTC
Jump to comment: Most recent
Comments
Comment #3
amateescu commentedComment #4
amateescu commentedComment #5
smustgrave commentedWasn't entirely sure how to best test this one.
Standard profile install
I verified I couldn't run cron within a workspace with and without the MR.
Outside the workspace (live) it was fine.
So I leaned on the test job https://git.drupalcode.org/issue/drupal-3553729/-/jobs/7057983
Which is getting false while checking for active workspace.
If I understand the ticket correctly this is desired behavior.
Comment #7
catchThis looks good. It should only really be necessary during automated cron runs, but I can't think of any way to target those that wouldn't be a lot more code and more fragile, so doing it everywhere seems good.
Committed/pushed to 11.x,thanks! Also cherry-picked to 11.3.x.