You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior:
External moderation phases are not skipped when pre-moderation phase is enabled.
Actual behavior:
When pre-moderation is enabled in admin settings, external moderation phases will never run as the statusPreModerate.ts will set a status and therefore the pipeline will abort early.
I wonder if it really makes sense to run the statusPreModerate phase before external phases. When premod is disabled and an external phase is unavailable (e.g. due to network issues or errors), this could potentially result in every comment being published immediately.
However, if external phases would run before the premod phase, they would have the opportunity to set a status and if not, the premod phase would still ensure that moderation is required.
The only necessary change would be to change the order of the very last phases. Instead of running external phases last, they should run before any phase that returns a status.
The text was updated successfully, but these errors were encountered:
I've taken a look into this and I think it would be safe to move the external mod phases to run prior to the pre-mod phases. I've opened a PR here: #4641
We still have to vet it with QA testing, but I think we can likely make this happen.
Expected behavior:
External moderation phases are not skipped when pre-moderation phase is enabled.
Actual behavior:
When pre-moderation is enabled in admin settings, external moderation phases will never run as the
statusPreModerate.ts
will set astatus
and therefore the pipeline will abort early.I wonder if it really makes sense to run the
statusPreModerate
phase before external phases. When premod is disabled and an external phase is unavailable (e.g. due to network issues or errors), this could potentially result in every comment being published immediately.However, if external phases would run before the premod phase, they would have the opportunity to set a status and if not, the premod phase would still ensure that moderation is required.
The only necessary change would be to change the order of the very last phases. Instead of running external phases last, they should run before any phase that returns a status.
The text was updated successfully, but these errors were encountered: