-
Notifications
You must be signed in to change notification settings - Fork 10
Register the Durable Task Functions extension from a dedicated assembly #82
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
Draft
Copilot
wants to merge
10
commits into
main
Choose a base branch
from
copilot/fix-orchestration-trigger-requirement
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
478e791
Initial plan
Copilot 038bf62
Register Durable Task extension via dedicated shim assembly
Copilot 8c97b39
Plan: simplify sample package references now that the extension shim …
Copilot f502a93
Drop redundant Durable Task worker package reference from two Functio…
Copilot 0e4db93
Merge branch 'main' into copilot/fix-orchestration-trigger-requirement
kshyju adb8ec2
Remove obsolete sample comment
Copilot 7f5e726
Link changelog entry to PR
kshyju 525c67b
Rename Durable Task extension package
kshyju eca39f6
Set initial extension package version
kshyju 202b7ff
Align extension package release version
kshyju File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
...ions.DurableTask/Microsoft.Agents.AI.Hosting.AzureFunctions.Extensions.DurableTask.csproj
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| <Project Sdk="Microsoft.NET.Sdk"> | ||
|
|
||
| <PropertyGroup> | ||
| <TargetFrameworks>$(TargetFrameworksCore)</TargetFrameworks> | ||
| <!-- This assembly only carries an assembly-level attribute, so there is nothing to document. --> | ||
| <GenerateDocumentationFile>false</GenerateDocumentationFile> | ||
| <!-- The Durable Task worker extension is referenced for its build assets, not for its API surface. --> | ||
| <EnableReferenceTrimmer>false</EnableReferenceTrimmer> | ||
| <!-- | ||
| Version of the WebJobs (host) Durable Task extension that Microsoft.Azure.Functions.Worker.Extensions.DurableTask | ||
| binds to. Keep in sync when that package reference is upgraded. | ||
| --> | ||
| <DurableTaskWebJobsExtensionVersion>3.8.2</DurableTaskWebJobsExtensionVersion> | ||
| </PropertyGroup> | ||
|
|
||
| <Import Project="$(RepoRoot)/dotnet/nuget/nuget-package.props" /> | ||
|
|
||
| <!-- NuGet package metadata --> | ||
| <PropertyGroup> | ||
| <Title>Durable Task Azure Functions extension for Microsoft Agent Framework</Title> | ||
| <Description>Registers the Durable Task Azure Functions extension so that applications hosting durable agents do not need to declare a Durable Functions trigger of their own.</Description> | ||
| <!-- Enable package validation after the first stable version is published. --> | ||
| <PackageValidationBaselineVersion /> | ||
| <EnablePackageValidation>false</EnablePackageValidation> | ||
| </PropertyGroup> | ||
|
|
||
| <ItemGroup> | ||
| <PackageReference Include="Microsoft.Azure.Functions.Worker.Extensions.DurableTask" /> | ||
| </ItemGroup> | ||
|
|
||
| <ItemGroup> | ||
| <!-- | ||
| The Azure Functions worker SDK only honors a single ExtensionInformationAttribute per assembly | ||
| (https://github.com/Azure/azure-functions-dotnet-worker/issues/3423), and | ||
| Microsoft.Agents.AI.Hosting.AzureFunctions already uses its own attribute for the MCP extension. | ||
| This assembly exists solely to carry the Durable Task registration, with implicit registration | ||
| enabled so the WebJobs extension is loaded even when the application declares no Durable Functions | ||
| triggers of its own. | ||
| --> | ||
| <AssemblyAttribute Include="Microsoft.Azure.Functions.Worker.Extensions.Abstractions.ExtensionInformationAttribute"> | ||
| <_Parameter1>Microsoft.Azure.WebJobs.Extensions.DurableTask</_Parameter1> | ||
| <_Parameter2>$(DurableTaskWebJobsExtensionVersion)</_Parameter2> | ||
| <_Parameter3>true</_Parameter3> | ||
| <_Parameter3_IsLiteral>true</_Parameter3_IsLiteral> | ||
| </AssemblyAttribute> | ||
| </ItemGroup> | ||
|
|
||
| </Project> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.