Table of Contents

Namespace Virtufin.WorkManager.Components

Classes

SourceCredentialResolver

Resolves the effective AuthenticationHeaderValue for a code source fetch (WorkManager.FetchFromUrlAsync) from a per-request SourceCredential, replacing the former RegistryAuthHandler -- a DelegatingHandler registered unconditionally on the CodeFetcher IHttpClientFactory client and applied to every request whose host matched, regardless of whether the caller actually wanted the org credential used. Credentials are now explicit and per-request: a directly-supplied Basic/Bearer secret, or a named reference resolved server-side (see ResolveNamed(string, string, out string?)) so that secret never has to be distributed to callers.

WorkManager

The worker catalog: every worker's persisted WorkerConfig (code source, topics, config, tags, history, status) and the worker index. The WorkManager runs no worker code; execution lives in the WorkManager.Runtime actors (Virtufin.WorkManager.Shared.Actors.RuntimeActorTypeNames).

Every read-modify-write of a record is an etag compare-and-swap (UpdateWorkerConfigAsync(Guid, Func<WorkerConfig, WorkerConfig>, CancellationToken)), so the WorkManager replicas and the load coordinator can write the same record concurrently without losing an update.

WorkerSecretReferences

Validates CreateWorkerRequest.secrets: attribute name -> key of the deployment's worker secret. Only these references are ever stored or returned; the Runtime resolves the values (see Virtufin.WorkManager.Runtime.Services.IWorkerSecretResolver).