fix(deps): consume ConsoleLogStreaming 1.1.0 from nuget.org (#7941)

Elsa.Diagnostics.ConsoleLogs and Elsa.Dashboard.Api are packable and are
published to the Elsa preview feed on every push to main, and to nuget.org on
release. Both pinned ConsoleLogStreaming.* at 1.0.0-preview.13, a version
published only to the private valence-works feed, so that pin was baked into
the shipped nuspecs.

Restore did not hard-fail for consumers: NuGet floated the >= constraint up to
the nuget.org 1.0.0 and emitted NU1603 for each package, an error under
TreatWarningsAsErrors. The quieter problem was that consumers silently ran a
different build of the library than CI compiled against.

ConsoleLogStreaming 1.1.0 has now been released publicly, carrying the work
that had only ever reached the private feed as previews: the new
ConsoleLogOptions.StreamReleaseInterval option, stream-release gate flood
throttling, and dead subscriber drop accounting. Pinning to it makes the
shipped dependency both resolvable and current, so the private feed and its
package source mapping are no longer needed.

Verified: Elsa.sln restores clean; Elsa.Dashboard.Api builds with 0 warnings;
64 tests pass across the ConsoleLogs and Dashboard.Api unit and integration
projects; the packed nuspec declares 1.1.0 on all three target frameworks; and
a clean consumer project restoring the packed output against nuget.org alone,
with TreatWarningsAsErrors, resolves 1.1.0 with no warnings.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Sipke Schoorstra 2026-08-13 22:44:13 +02:00 committed by GitHub
parent 22886809e0
commit 7389e0a674
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 9 deletions

View file

@ -102,10 +102,10 @@
<PackageVersion Include="Bpmn.Model" Version="0.1.1-preview.19"/>
<PackageVersion Include="Bpmn.Semantics" Version="0.1.1-preview.19"/>
<PackageVersion Include="ConfigureAwait.Fody" Version="3.3.2" PrivateAssets="All"/>
<PackageVersion Include="ConsoleLogStreaming.Contracts" Version="1.0.0-preview.13"/>
<PackageVersion Include="ConsoleLogStreaming.Core" Version="1.0.0-preview.13"/>
<PackageVersion Include="ConsoleLogStreaming.Persistence.Sqlite" Version="1.0.0-preview.13"/>
<PackageVersion Include="ConsoleLogStreaming.SignalR" Version="1.0.0-preview.13"/>
<PackageVersion Include="ConsoleLogStreaming.Contracts" Version="1.1.0"/>
<PackageVersion Include="ConsoleLogStreaming.Core" Version="1.1.0"/>
<PackageVersion Include="ConsoleLogStreaming.Persistence.Sqlite" Version="1.1.0"/>
<PackageVersion Include="ConsoleLogStreaming.SignalR" Version="1.1.0"/>
<PackageVersion Include="coverlet.collector" Version="6.0.4" PrivateAssets="All"/>
<PackageVersion Include="coverlet.msbuild" Version="6.0.4" PrivateAssets="All"/>
<PackageVersion Include="Cronos" Version="0.11.1"/>

View file

@ -6,7 +6,6 @@
<add key="NuGet official package source" value="https://api.nuget.org/v3/index.json" />
<add key="cshells-feedz" value="https://f.feedz.io/sfmskywalker/cshells/nuget/index.json" />
<add key="elsa-preview-feedz" value="https://f.feedz.io/elsa-workflows/elsa-3/nuget/index.json" />
<add key="valence-consolelogstream-feedz" value="https://f.feedz.io/valence-works/consolelogstream/nuget/index.json" />
<add key="bpmn-feedz" value="https://f.feedz.io/valence-works/bpmn/nuget/index.json" />
</packageSources>
<packageSourceMapping>
@ -19,10 +18,6 @@
<package pattern="Elsa.PackageManifest.Generator" />
<package pattern="Elsa.PackageManifests" />
</packageSource>
<packageSource key="valence-consolelogstream-feedz">
<package pattern="ConsoleLogStreaming" />
<package pattern="ConsoleLogStreaming.*" />
</packageSource>
<packageSource key="bpmn-feedz">
<package pattern="Bpmn.*" />
</packageSource>