Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increment versions (to v1.2.2) #202

Merged
merged 3 commits into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,24 @@ jobs:

steps:
- uses: actions/checkout@v4

- name: Setup .NET 6
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
env:
NUGET_AUTH_TOKEN: RequiredButNotUsed

- name: NuGet Restore
run: dotnet restore -v n

- name: Build
run: dotnet build

- name: Setup SQL Server container
run: test/setup.ps1
shell: pwsh

- name: Durable framework tests
run: dotnet test --no-build --verbosity normal --filter Category!=Stress ./test/DurableTask.SqlServer.Tests/DurableTask.SqlServer.Tests.csproj
- name: Functions runtime tests
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@

(Add new notes here)

## v1.2.2

### Updates

* Fix for NewEvents stuck due to InvalidCastException ([#201](https://github.com/microsoft/durabletask-mssql/pull/201))
* Fix Functions.Worker.Extensions.DurableTask.SqlServer to reference correct DurableTask.SqlServer.AzureFunctions package ([#202](https://github.com/microsoft/durabletask-mssql/pull/202))

## v1.2.1

### New
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
using Microsoft.Azure.Functions.Worker.Extensions.Abstractions;

// This must be updated when updating the version of the package
[assembly: ExtensionInformation("Microsoft.DurableTask.SqlServer.AzureFunctions", "1.1.*", true)]
[assembly: ExtensionInformation("Microsoft.DurableTask.SqlServer.AzureFunctions", "1.2.*", true)]
2 changes: 1 addition & 1 deletion src/common.props
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<PropertyGroup>
<MajorVersion>1</MajorVersion>
<MinorVersion>2</MinorVersion>
<PatchVersion>1</PatchVersion>
<PatchVersion>2</PatchVersion>
<VersionPrefix>$(MajorVersion).$(MinorVersion).$(PatchVersion)</VersionPrefix>
<VersionSuffix></VersionSuffix>
<AssemblyVersion>$(MajorVersion).$(MinorVersion).0.0</AssemblyVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ async Task ValidateDatabaseSchemaAsync(TestDatabase database, string schemaName
schemaName);
Assert.Equal(1, currentSchemaVersion.Major);
Assert.Equal(2, currentSchemaVersion.Minor);
Assert.Equal(1, currentSchemaVersion.Patch);
Assert.Equal(2, currentSchemaVersion.Patch);
}

sealed class TestDatabase : IDisposable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -753,8 +753,8 @@ public async Task TraceContextFlowCorrectly()
Assert.NotEqual(orchestratorSpan.SpanId, subOrchestratorSpan.SpanId); // new span ID
Assert.Equal("TestTraceState (modified!)", subOrchestratorSpan.TraceStateString);
Assert.True(subOrchestratorSpan.StartTimeUtc > orchestratorSpan.StartTimeUtc + delay);
Assert.True(subOrchestratorSpan.Duration > delay);
Assert.True(subOrchestratorSpan.Duration < delay * 2);
Assert.True(subOrchestratorSpan.Duration > delay, $"Unexpected duration: {subOrchestratorSpan.Duration}");
Assert.True(subOrchestratorSpan.Duration < delay * 2, $"Unexpected duration: {subOrchestratorSpan.Duration}");

// Validate the activity span, which should be a subset of the sub-orchestration span
Activity activitySpan = exportedItems.LastOrDefault(
Expand Down