Actions `cluster:admin/repository/analyze/blob` and `cluster:admin/repository/analyze/register` and so on are only invoked via the transport service, they do not need to register as client actions so we can drop the `ActionType` instance. Instead the root `RepositoryAnalyzeAction` should create and register all these transport actions itself. But even the root `RepositoryAnalyzeAction` should not be an `ActionType` derivative, we should just declare an `ActionType` instance directly. Moreover we can use `ActionType#localOnly` since the client action does not run on remote clusters.
x-pack/plugin/snapshot-repo-test-kit/src/main/java/org/elasticsearch/repositories/blobstore/testkit/UncontendedRegisterAnalyzeAction.java
private static final Logger logger = LogManager.getLogger(UncontendedRegisterAnalyzeAction.class);
    public static final UncontendedRegisterAnalyzeAction INSTANCE = new UncontendedRegisterAnalyzeAction();
    public static final String NAME = "cluster:admin/repository/analyze/register/uncontended";
    private UncontendedRegisterAnalyzeAction() {
        super(NAME, in -> ActionResponse.Empty.INSTANCE);
    }
    public static class TransportAction extends HandledTransportAction<Request, ActionResponse.Empty> {
        private static final Logger logger = UncontendedRegisterAnalyzeAction.logger;
        private final RepositoriesService repositoriesService;
        @Inject
        public TransportAction(TransportService transportService, ActionFilters actionFilters, RepositoriesService repositoriesService) {
            super(
                NAME,
                transportService,
                actionFilters,
                Request::new,
                transportService.getThreadPool().executor(ThreadPool.Names.SNAPSHOT)
            );
            this.repositoriesService = repositoriesService;
        }
        @Override
        protected void doExecute(Task task, Request request, ActionListener<ActionResponse.Empty> outerListener) {
            final ActionListener<Void> listener = ActionListener.assertOnce(outerListener.map(ignored -> ActionResponse.Empty.INSTANCE));
            final Repository repository = repositoriesService.repository(request.getRepositoryName());
            if (repository instanceof BlobStoreRepository == false) {
                throw new IllegalArgumentException("repository [" + request.getRepositoryName() + "] is not a blob-store repository");
            }