Wrong exit code when _drush_node_access_rebuild_progressive_process() fails

Created on 13 July 2023, over 1 year ago
Updated 17 October 2023, about 1 year ago

Problem/Motivation

If _drush_node_access_rebuild_progressive_process() triggers an exception, the drush node-access-rebuild-progressive command still returns an exit code of 0.
This means our CI can not detect if the command failed.

Proposed resolution

NodeAccessRebuildProgressiveCommands::accessRebuildProgressive() should return a non-zero exit code if the command fails.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡«πŸ‡·France prudloff Lille

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024