Update hooks showing as pending and they run without error but do not actually run and continue to always show as pending

So here is what’s causing it: As long as the group module is not enabled, this just prevents any of the related update hooks from being run.

/**
 * Implements hook_update_dependencies().
 *
 *  - Make group status column filling run before hide revision field update.
 */
function nichq_community_update_dependencies() {
  $dependencies = [];
  // Run our update after group adds status column.
  $dependencies['nichq_community'][8017] = [
    'group' => 8092,
  ];
  // Run hide revision field after our update.
  $dependencies['hide_revision_field'][8202] = [
    'nichq_community' => 8017,
  ];
  return $dependencies;
}