Skip to content

Update release-packages.yml#23

Merged
rbuergi merged 1 commit into
mainfrom
rbuergi-patch-3
Oct 7, 2024
Merged

Update release-packages.yml#23
rbuergi merged 1 commit into
mainfrom
rbuergi-patch-3

Conversation

@rbuergi
Copy link
Copy Markdown
Contributor

@rbuergi rbuergi commented Oct 7, 2024

No description provided.

@rbuergi rbuergi merged commit a173f52 into main Oct 7, 2024
@rbuergi rbuergi deleted the rbuergi-patch-3 branch October 7, 2024 20:09
rbuergi added a commit that referenced this pull request May 10, 2026
…fix DI lifetimes, redact PII, drop dynamic

- ThreadExecution: collapse triple-stacked <summary> blocks on
  WatchForExecution and NotifyParentCompletion. Tooling kept the last
  one anyway; the dead scaffolding was just noise.
- SocialExtensions: register LinkedInPublisher / XPublisher as TRUE
  singletons (factory-resolved with named HttpClient). The previous
  AddHttpClient<T>+AddSingleton<IPlatformPublisher> mix made the
  concrete type transient while the interface alias was singleton —
  direct vs via-interface resolution returned different instances.
  Also gate hosted-service registration on at least one platform
  being configured (the "all-or-nothing" comment was wrong; with
  zero platforms the four hosted services started anyway and faulted
  on first tick).
- LinkedInPublisher: replace `(dynamic)media.shareMediaCategory`
  peek with two concrete payload shapes — typo turns into a compile
  error instead of a RuntimeBinderException.
- LinkedIn / X publishers: cap error-body logs at 200 chars to
  bound PII exposure (the body can echo the user's post text on
  validation rejection). Full body still goes to PublishResult.Error
  for the caller.

Addresses PR #95 review items #9, #20, #21, #22, #23.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
rbuergi added a commit that referenced this pull request May 10, 2026
… wire BuiltIn{Agent,Model} as partition providers

Three partition contracts (IPartitionStorageProvider + PartitionContexts +
StaticNodePartitionStorageProvider + StaticNodeStorageAdapter) lived in
MeshWeaver.Hosting.Persistence — too deep for MeshWeaver.AI to take as a
dep without pulling in the whole hosting tree. Moved to
MeshWeaver.Mesh.Services so node-type registration chains can wire a
partition shape directly. RoutingPersistenceServiceCore / PersistenceExtensions /
PartitionConfigurationExtensions / EmbeddedResourcePartitionStorageProvider /
OrleansConnectionExtensions all gain the new namespace via existing
'using MeshWeaver.Mesh.Services;' (PartitionConfigurationExtensions
needed the using added — others already had it).

AgentNodeType.AddAgentType + LanguageModelNodeType.AddLanguageModelType
now register the shared BuiltInAgentProvider / BuiltInLanguageModelProvider
instance as both:
  - IStaticNodeProvider (legacy consumers: StaticNodeQueryProvider,
    MeshDataSource fallback lookup, RoutingPersistenceServiceCore's
    fan-in seed)
  - IPartitionStorageProvider (canonical: routing core resolves
    \"Agent\" / \"Model\" first-segment to the static partition's
    StaticNodeStorageAdapter — no SeedIfAbsent fan-in copy required)

Closes task #23 (Migrate BuiltInAgentProvider + BuiltInLanguageModelProvider
to partition shape). The fan-in seed in RoutingPersistenceServiceCore.NewAdapterCore
stays as a safety net for any IStaticNodeProvider that doesn't (yet) have
a partition registration — letting #23 land without a flag-day cutover.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant