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
if (repository.isReadOnly()) {
                throw new IllegalArgumentException("repository [" + request.getRepositoryName() + "] is read-only");
            }
            final BlobStoreRepository blobStoreRepository = (BlobStoreRepository) repository;
            final BlobPath path = blobStoreRepository.basePath().add(request.getContainerPath());
            final BlobContainer blobContainer = blobStoreRepository.blobStore().blobContainer(path);
            logger.trace("handling [{}]", request);
            assert task instanceof CancellableTask;
            blobContainer.compareAndExchangeRegister(
                OperationPurpose.REPOSITORY_ANALYSIS,
                request.getRegisterName(),
                bytesFromLong(request.getExpectedValue()),
                bytesFromLong(request.getExpectedValue() + 1),
                new ActionListener<>() {
                    @Override
                    public void onResponse(OptionalBytesReference optionalBytesReference) {
                        ActionListener.completeWith(listener, () -> {
                            if (optionalBytesReference.isPresent() == false) {
                                throw new RepositoryVerificationException(
                                    repository.getMetadata().name(),
                                    Strings.format(
                                        "uncontended register operation failed: expected [%d] but did not observe any value",
                                        request.getExpectedValue()
                                    )
                                );
                            }
                            final var witness = longFromBytes(optionalBytesReference.bytesReference());
                            if (witness != request.getExpectedValue()) {
                                throw new RepositoryVerificationException(
                                    repository.getMetadata().name(),