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

HybridCache : implement the tag expiration feature #5748

Closed
wants to merge 212 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
212 commits
Select commit Hold shift + click to select a range
2d7ad3a
Merged PR 43287: Getting ready for 8.10 release
joperezr Oct 2, 2024
92ae19e
Merged PR 43283: Using RC2 aspnetcore and runtime versions
joperezr Oct 2, 2024
76ff984
Merging branch dev -> main (#5465)
joperezr Oct 3, 2024
5d94c63
Update dependencies from https://github.com/dotnet/arcade build 20241…
dotnet-maestro[bot] Oct 3, 2024
dbad3b6
Update dependencies from https://github.com/dotnet/aspnetcore build 2…
dotnet-maestro[bot] Oct 3, 2024
e72878c
Update dependencies from https://github.com/dotnet/arcade build 20241…
dotnet-maestro[bot] Oct 7, 2024
2628a0d
Disable .NET SDK update for dev branch
RussKie Oct 7, 2024
6155a6a
Update dependencies from https://github.com/dotnet/aspnetcore build 2…
dotnet-maestro[bot] Oct 8, 2024
01a52dd
Add initial Microsoft.Extensions.AI libraries
stephentoub Oct 8, 2024
434ff45
Merge internal changes into main
joperezr Oct 8, 2024
e5bbd33
Temporarily work around trimming-related warnings
stephentoub Oct 8, 2024
a7e4f3b
Merge internal changes from Preview 9 release (#5479)
joperezr Oct 8, 2024
331ddb5
Improve registration of IDistributedCache in READMEs (#5480)
stephentoub Oct 8, 2024
0c8bc3e
Flip default on FunctionInvokingChatClient.ConcurrentInvocation (#5485)
stephentoub Oct 9, 2024
b2d0dfe
Remove x64 hardcoding from global.json runtimes
eiriktsarpalis Oct 9, 2024
a2373c4
Remove x64 hardcoding from global.json runtimes (#5488)
eiriktsarpalis Oct 9, 2024
a51631e
Fix AIFunctionFactory support for AOT. (#5494)
eiriktsarpalis Oct 9, 2024
3970109
Mark the FunctionCall/ResultContent.Exception properties as [JsonIgno…
stephentoub Oct 9, 2024
7ada97e
First cut of code ownership (#5486)
RussKie Oct 9, 2024
1b64e76
Set WriteIndented=true for M.E.AI logging / telemetry / etc.
stephentoub Oct 10, 2024
defa6c1
Doc updates to HybridCacheOptions (#5493)
gewarren Oct 10, 2024
221449d
Set WriteIndented=true for M.E.AI logging / telemetry / etc. (#5497)
eiriktsarpalis Oct 10, 2024
c8472c7
Sanitize structured output schema type name to satisfy restrictions
kzu Oct 10, 2024
3d9b7f2
Move SanitizeMetadataName to existing FunctionCallHelpers
kzu Oct 10, 2024
8dd475f
Fix S2333 'partial' is gratuitous in this context issues
kzu Oct 10, 2024
ac55349
Assert specific value expected for the sanitized generic type name
kzu Oct 10, 2024
aafa6a2
Sanitize structured output schema type name to satisfy restrictions (…
eiriktsarpalis Oct 10, 2024
38d52ca
Remove unnecessary suppression in AIFunctionFactory
eerhardt Oct 10, 2024
b2382cd
Update dependencies from https://github.com/dotnet/arcade build 20241…
dotnet-maestro[bot] Oct 10, 2024
9ea3e76
Remove unnecessary suppression in AIFunctionFactory (#5505)
eerhardt Oct 10, 2024
b4734e2
Allowing tags to start with _ (#5478)
carolineRe13 Oct 10, 2024
058d827
Use the same JsonSerializerOptions default in all locations. (#5507)
eiriktsarpalis Oct 10, 2024
85e70b0
Use the logging generator in LoggingChatClient / LoggingEmbeddingGene…
stephentoub Oct 11, 2024
dbab257
Avoid use of FormattableString when logging (#5503)
stephentoub Oct 11, 2024
5ff9c74
Rework the AIFunctionFactory APIs and remove redundant overloads foll…
eiriktsarpalis Oct 11, 2024
b708fa9
Reinstate null check.
eiriktsarpalis Oct 11, 2024
65fb55f
Make parameter nullable again.
eiriktsarpalis Oct 11, 2024
02eba55
Rework the `MethodInfo` overload to match `Delegate` overload.
eiriktsarpalis Oct 11, 2024
22d55bf
Build fix - remove unnecessary 'using'
SteveSandersonMS Oct 11, 2024
99fdb98
Add comment about use of hashing in CachingHelpers (#5509)
stephentoub Oct 11, 2024
a8e910a
Build fix - remove unnecessary 'using' (#5512)
SteveSandersonMS Oct 11, 2024
6249779
Rework the AIFunctionFactory APIs and remove redundant overloads foll…
eiriktsarpalis Oct 11, 2024
e0c9a82
Improve CachingChatClient's coalescing of streaming updates (#5514)
stephentoub Oct 12, 2024
412305b
Add thread-safety comments about M.E.AI middleware components (#5515)
stephentoub Oct 12, 2024
87308c7
Update README with rate limiting example (#5519)
stephentoub Oct 14, 2024
ef606f2
Add AdditionalPropertiesDictionary.TryGetValue<T> (#5528)
stephentoub Oct 16, 2024
ea3b0db
Update dependencies from https://github.com/dotnet/arcade build 20241…
dotnet-maestro[bot] Oct 16, 2024
d894f98
Expose an `AIJsonUtilities` class in M.E.AI and lower M.E.AI.Abstract…
eiriktsarpalis Oct 17, 2024
8eddb54
Address PR feedback from https://github.com/dotnet/extensions/pull/55…
eiriktsarpalis Oct 17, 2024
8690e7a
Update UseOpenTelemetry for latest genai spec updates (#5532)
stephentoub Oct 17, 2024
eafdf6e
Use 8.0 era dependencies for non net9.0 TFMs (#5470)
joperezr Oct 19, 2024
bdbda81
Update the meter names of NetworkMetrics to match other meters in Res…
makazeu Oct 21, 2024
cd4dc68
Fix typo in ChatCompletions comment (#5545)
stephentoub Oct 21, 2024
1622413
Remove unnecessary ctors from FunctionResultContent (#5536)
stephentoub Oct 22, 2024
e1eb9bd
Make GenerateAsync extension just return the embedding (#5543)
stephentoub Oct 22, 2024
651546f
Remove AIContent.ModelId, add StreamingChatCompletionUpdate.ModelId (…
stephentoub Oct 22, 2024
aa63ac7
Fix embedding integration test after telemetry updates (#5555)
stephentoub Oct 22, 2024
ccd86d9
Lower M.E.AI.Ollama STJ dependency back to 8 (#5554)
stephentoub Oct 22, 2024
8fbeca0
Add missing [JsonIgnore] on ChatCompletion.Message (#5552)
stephentoub Oct 22, 2024
2dd959f
Add OllamaChatClient ctor with string endpoint (#5553)
stephentoub Oct 22, 2024
7cac12b
Fix a few issues in IChatClient implementations (#5549)
stephentoub Oct 22, 2024
424e974
Fix official build by resolving conflict when building the docs trans…
joperezr Oct 22, 2024
0968e75
Merged PR 44144: Enable producing stable versions and flow dependenci…
joperezr Oct 22, 2024
696389c
Script to generate weekly digest (#5550)
RussKie Oct 23, 2024
479b67e
Improve EmbeddingGeneratorExtensions (#5551)
stephentoub Oct 23, 2024
f9ce7f8
Update .gitattributes (#5565)
RussKie Oct 24, 2024
8352f82
Fix cloning of ChatOptions.TopK (#5564)
stephentoub Oct 24, 2024
2616bb8
Add string constructor to OllamaEmbeddingGenerator (#5562)
stephentoub Oct 24, 2024
a5e5e8c
Remove some defunct lazy init from chat clients (#5561)
stephentoub Oct 24, 2024
cb16d5d
Add EmbeddingGeneratorOptions.Dimensions (#5563)
stephentoub Oct 24, 2024
46d5e57
Structured output improvements (continuation of PR 5522) (#5560)
SteveSandersonMS Oct 24, 2024
4bff11a
Work around fixed bug in System.Memory.Data (#5569)
stephentoub Oct 24, 2024
7fe79a3
Update M.E.AI.AzureAIInference for its beta2 release (#5558)
stephentoub Oct 24, 2024
0a834da
Merge changes from release/8.10 branch
joperezr Oct 25, 2024
7574980
Merge branch main into release/9.0
joperezr Oct 25, 2024
443dc6e
Branding updates for 9.1
joperezr Oct 25, 2024
d26fc77
Merge branch release/9.0 into internal/release/9.0
joperezr Oct 25, 2024
5a850c7
Update feeds to use latest builds from .NET
joperezr Oct 25, 2024
c78c7b1
Merged PR 44426: Merging release/9.0 into internal/release/9.0
joperezr Oct 25, 2024
090d7a2
Add NativeAOT testapp project for M.E.AI (#5573)
stephentoub Oct 26, 2024
e0c951d
Add changelogs for M.E.AI projects (#5577)
stephentoub Oct 26, 2024
0db3caa
Explicitly reference System.Memory.Data in OpenAI/AzureAIInference pr…
stephentoub Oct 26, 2024
0ce85d2
Fix AzureAIInferenceEmbeddingGenerator to respect EmbeddingGeneration…
stephentoub Oct 26, 2024
8327c2f
Merge ResourceMonitoringOptions.Linux.cs to ResourceMonitoringOptions…
makazeu Oct 29, 2024
bf0e0a4
fix exception when generating boolean schemas (#5585)
eiriktsarpalis Oct 30, 2024
e18a055
Add ImageContent integration test (#5586)
stephentoub Oct 30, 2024
17e5ecd
Add ChatOptions.Seed (#5587)
stephentoub Oct 31, 2024
6811fd5
Lower `AIJsonUtilities` to STJv8 and move to Abstractions library. (#…
eiriktsarpalis Oct 31, 2024
6ada766
Plug JsonSchemaExporter test data to the AIJsonUtilities tests (#5590)
eiriktsarpalis Oct 31, 2024
0672220
Improve JsonSchemaExporter trimmer safety. (#5591)
eiriktsarpalis Nov 1, 2024
53783e7
Improve AdditionalPropertiesDictionary (#5593)
stephentoub Nov 1, 2024
a12664e
Add UseEmbeddingGenerationOptions (#5594)
stephentoub Nov 1, 2024
9eea77d
HybridCache stability and logging improvements (#5467)
mgravell Nov 4, 2024
7e59b8b
Add NativeAOT testapp project for M.E.AI (#5573)
stephentoub Oct 26, 2024
500abd7
Add changelogs for M.E.AI projects (#5577)
stephentoub Oct 26, 2024
2aa1535
Explicitly reference System.Memory.Data in OpenAI/AzureAIInference pr…
stephentoub Oct 26, 2024
e90c1fa
Fix AzureAIInferenceEmbeddingGenerator to respect EmbeddingGeneration…
stephentoub Oct 26, 2024
7f60bea
fix exception when generating boolean schemas (#5585)
eiriktsarpalis Oct 30, 2024
fe9e5bf
Add ImageContent integration test (#5586)
stephentoub Oct 30, 2024
cd9da61
Add ChatOptions.Seed (#5587)
stephentoub Oct 31, 2024
365f33c
Lower `AIJsonUtilities` to STJv8 and move to Abstractions library. (#…
eiriktsarpalis Oct 31, 2024
ce9a807
Plug JsonSchemaExporter test data to the AIJsonUtilities tests (#5590)
eiriktsarpalis Oct 31, 2024
23b0732
Improve JsonSchemaExporter trimmer safety. (#5591)
eiriktsarpalis Nov 1, 2024
3250567
Improve AdditionalPropertiesDictionary (#5593)
stephentoub Nov 1, 2024
228a96d
Add UseEmbeddingGenerationOptions (#5594)
stephentoub Nov 1, 2024
80c9263
HybridCache stability and logging improvements (#5467)
mgravell Nov 4, 2024
5bf9f9f
Assign ownership (#5600)
RussKie Nov 5, 2024
fdf4180
HybridCache: don't log cancellation as failure (#5601)
mgravell Nov 6, 2024
f05cf03
Set DisableNETStandardCompatErrors for M.E.AI projects (#5603)
stephentoub Nov 6, 2024
f902047
Set DisableNETStandardCompatErrors for M.E.AI projects (#5603)
stephentoub Nov 6, 2024
d468173
[release/9.0] Merging changes from main into release branch for Novem…
joperezr Nov 6, 2024
16acdbf
Merged PR 44778: Merging branch release/9.0 into internal/release/9.0
joperezr Nov 6, 2024
1af24f5
handle catch-all parameters (#5604)
dariusclay Nov 7, 2024
8b320e2
Rework UseChatOptions as ConfigureOptions (#5606)
stephentoub Nov 7, 2024
aba6fd6
Make IChatClient/IEmbeddingGenerator.GetService non-generic (#5608)
stephentoub Nov 7, 2024
b74ff9c
Add logging/activities to FunctionInvokingChatClient (#5596)
stephentoub Nov 7, 2024
f02cfa3
Update M.E.AI CHANGELOG.mds for latest preview (#5609)
stephentoub Nov 7, 2024
d8f84d7
[main] Update dependencies from dotnet/arcade (#5610)
dotnet-maestro[bot] Nov 8, 2024
c86b7ea
Add ToChatCompletion{Async} methods for combining StreamingChatComple…
stephentoub Nov 8, 2024
3f1f59c
Docs improvements (#5613)
gewarren Nov 10, 2024
c163960
Use ToChatCompletion in OpenTelemetryChatClient (#5614)
stephentoub Nov 11, 2024
148e221
Use ToChatCompletion / ToStreamingChatCompletionUpdates in CachingCha…
stephentoub Nov 11, 2024
81847a8
Add DebuggerDisplay for DataContent (#5618)
stephentoub Nov 11, 2024
002cdb7
Remove AI in Microsoft.Extensions.AI.AotCompatibility.TestApp
eerhardt Nov 11, 2024
86deeab
Clean up the AotCompatibility.TestApp
eerhardt Nov 11, 2024
d42d3e5
Tweak ChatMessage/StreamingChatCompletionUpdate.ToString (#5617)
stephentoub Nov 11, 2024
c847f9a
Make dotnet test publish the TestApp and fail if there are any warnin…
eerhardt Nov 11, 2024
10fcb7b
Hook the Test target as well so the test runs in CI
eerhardt Nov 11, 2024
33e95b8
Move clean logic to target.
eerhardt Nov 11, 2024
9fbc27c
- Add tracing issues.
eerhardt Nov 11, 2024
95a80cc
Expose options for making schema generation conformant with the subse…
eiriktsarpalis Nov 11, 2024
fbf2866
Add tracking issue links for OpenAI and Azure.AI.Inference trim/AOT c…
eerhardt Nov 11, 2024
5b2b7a2
Merge remote-tracking branch 'upstream/main' into AotCI
eerhardt Nov 12, 2024
ff0bf8c
Add an exclusion for Microsoft.Extensions.AI.Abstractions
eerhardt Nov 12, 2024
12b8949
Exclude Microsoft.Extensions.AI as well, since it hits the warnings i…
eerhardt Nov 12, 2024
4b8dad5
Cache current process object to avoid performance hit (#5597)
haipz Nov 12, 2024
c77e368
Fix namespace for IServiceCollection extensions (#5620)
stephentoub Nov 12, 2024
7d554db
Cache current process object to avoid performance hit (#5597)
haipz Nov 12, 2024
6487428
Fix linker warning. (#5627)
eiriktsarpalis Nov 12, 2024
9c675f1
Remove cleaning from publish
eerhardt Nov 12, 2024
f228df9
Merge remote-tracking branch 'upstream/main' into AotCI
eerhardt Nov 12, 2024
5b33969
Remove MS.Ext.AI now that the issue is resolved.
eerhardt Nov 12, 2024
47beb96
Temporarily disable the test to figure out what is causing the code c…
eerhardt Nov 12, 2024
c94cd35
Merge internal branch changes
joperezr Nov 12, 2024
0a4bbee
Revert "Temporarily disable the test to figure out what is causing th…
eerhardt Nov 12, 2024
e690bbf
try running during BuildAndTest.yml
eerhardt Nov 12, 2024
f9edff2
Merge internal changes (#5631)
joperezr Nov 12, 2024
30dae3d
Remove testing cruft from TestApp project
eerhardt Nov 12, 2024
d79192c
Merge branch release/9.0 into main
joperezr Nov 12, 2024
4cd0228
Change TrimmerRootAssembly to use FileName to be correct.
eerhardt Nov 13, 2024
1073446
Publish the AotCompatibility.TestApp project as part of PR validation…
eerhardt Nov 13, 2024
ad3b5d0
Merge branch release/9.0 into main (#5632)
joperezr Nov 13, 2024
73962c6
Replace STJ boilerplate in the leaf clients with AIJsonUtilities call…
eiriktsarpalis Nov 13, 2024
430065c
Rework cache key handling in caching client / generator (#5641)
stephentoub Nov 14, 2024
d39bf3d
docs updates (#5643)
gewarren Nov 14, 2024
56e720c
Change ChatClientBuilder to register singletons and support lambda-le…
SteveSandersonMS Nov 14, 2024
aa6e8f0
[main] Update dependencies from dotnet/aspnetcore (#5645)
dotnet-maestro[bot] Nov 15, 2024
09094ae
EmbeddingGeneratorBuilder API updates (#5647)
SteveSandersonMS Nov 15, 2024
7c39837
Update WaiterRemovedAfterDispose to check waitersCount first (#5646)
amadeuszl Nov 16, 2024
38e7a1a
Allow logging of body without modifying the actual response (#5628)
dariusclay Nov 18, 2024
2977765
Make ActivityBaggageLogScopeWrapper implements IEnumerable<KeyValuePa…
NatMarchand Nov 18, 2024
475f317
Add a [DebuggerDisplay] to GeneratedEmbeddings (#5657)
stephentoub Nov 18, 2024
e0f354a
Annotate private DebuggerDisplay props as DebuggerBrowsableState.Neve…
stephentoub Nov 18, 2024
f085689
Fix M.E.AI argument tests to validate argument names (#5653)
stephentoub Nov 18, 2024
06edb3c
Remove duplicate GetCacheKey methods (#5651)
stephentoub Nov 18, 2024
b29e149
Augment XML comments for AIFunctionFactory.Create (#5658)
stephentoub Nov 18, 2024
c468947
Update dependencies from https://github.com/dotnet/arcade build 20241…
dotnet-maestro[bot] Nov 18, 2024
930af05
Add AsBuilder extensions for IChatClient and IEmbeddingGenerator (#5652)
stephentoub Nov 18, 2024
5982f6a
Reduce a bit of LINQ in M.E.AI (#5663)
stephentoub Nov 18, 2024
d551bb1
Reverse order of services/inner in Use methods (#5664)
stephentoub Nov 18, 2024
8b9dc1d
Add anonymous delegating clients / generators (#5650)
stephentoub Nov 18, 2024
9b61daa
Update documentation SynchronizationContext in FakeTimeProvider (#5665)
amadeuszl Nov 19, 2024
9cfd5ff
Backport JsonSchemaExporter bugfix. (#5671)
eiriktsarpalis Nov 19, 2024
f802390
Add OpenAIRealtimeExtensions with ToConversationFunctionTool (#5666)
SteveSandersonMS Nov 19, 2024
476a196
Tweak CachingHelpers.GetCacheKey to clean up better on failure (#5654)
stephentoub Nov 19, 2024
7ebb34d
Ensure non-streaming usage data from function calling is in history (…
stephentoub Nov 20, 2024
1a4a54f
Fix a few FunctionInvocationChatClient streaming issues (#5680)
stephentoub Nov 20, 2024
042b4e6
Change UseLogging to accept an ILoggerFactory instead of ILogger (#5682)
stephentoub Nov 20, 2024
f846de6
Expose a schema transformer on AIJsonSchemaCreateOptions. (#5677)
eiriktsarpalis Nov 20, 2024
d65645c
Update M.E.AI CHANGELOG.md for latest bits (#5684)
stephentoub Nov 22, 2024
c08e5ac
Update dependencies from https://github.com/dotnet/aspnetcore build 2…
dotnet-maestro[bot] Nov 22, 2024
cfed375
Add API allowing to disable retries for a given list of HTTP methods …
iliar-turdushev Nov 25, 2024
a5774e4
Update dependencies from https://github.com/dotnet/arcade build 20241…
dotnet-maestro[bot] Nov 25, 2024
a7e1413
Update M.E.AI code coverage mins from 0 (#5698)
stephentoub Nov 26, 2024
eace8d6
Update dependencies from https://github.com/dotnet/aspnetcore build 2…
dotnet-maestro[bot] Nov 27, 2024
544d905
Improve FakeTimeProvider documentation, remove redundant tests (#5683)
amadeuszl Nov 28, 2024
d8e2cd2
Update dependencies from https://github.com/dotnet/aspnetcore build 2…
dotnet-maestro[bot] Nov 28, 2024
5161cb9
For AI integration tests, use config including user secrets (#5706)
SteveSandersonMS Nov 29, 2024
1120b29
Fix handling of text-only user messages in AzureAIInferenceChatClient…
stephentoub Dec 3, 2024
e8efa1f
Make UseLogging a nop when NullLoggerFactory is used (#5717)
stephentoub Dec 3, 2024
6734c8f
Fix streaming function calling (#5718)
SteveSandersonMS Dec 3, 2024
f7ec517
Removes Experimental attribute from ResilienceHandler class (#5670)
iliar-turdushev Dec 4, 2024
9341356
Usage aggregation via Dictionary<string, long> (#5709)
SteveSandersonMS Dec 4, 2024
a23a7a9
Update otel chat client / embedding generator for 1.29 draft of the s…
stephentoub Dec 4, 2024
af32f59
Additional tests to the logging generator (#5704)
rainsxng Dec 4, 2024
953f93f
Update OpenAI dependency to 2.1.0 (#5725)
stephentoub Dec 6, 2024
0bf057b
Fix build (#5728)
RussKie Dec 9, 2024
eb383d4
Add a few missing options to OpenAIChatclient.ToOpenAIOptions (#5727)
stephentoub Dec 9, 2024
40fa575
Ollama support for streaming function calling and native structured o…
SteveSandersonMS Dec 10, 2024
d5fca58
Improve reliability of CompleteAsync_StructuredOutputEnum test. Fixes…
SteveSandersonMS Dec 10, 2024
8bc5f92
Add OpenAI serialization helper methods. (#5697)
eiriktsarpalis Dec 10, 2024
c50b2f1
Remove obsolete files (#5733)
RussKie Dec 11, 2024
7d9d589
Update Azure.AI.OpenAI version to 2.1.0 (#5732)
stephentoub Dec 11, 2024
c08790c
Bump code coverage (#5700)
RussKie Dec 17, 2024
a0cc1bb
Update to public versions (#5749)
RussKie Dec 20, 2024
20c12ef
HybridCache (tests only): add explicit System.Runtime.Caching dep to …
mgravell Dec 20, 2024
82d4bac
L1 (only) tag-based invalidation (and cleanup new build warnings)
mgravell Dec 6, 2024
5c2b67d
L2 tag invalidation - incomplete
mgravell Dec 13, 2024
2d0a867
fix PEBKAC
mgravell Dec 16, 2024
e5f0ee2
infrastructure for payload read,write,validation
mgravell Dec 17, 2024
2faa3f7
plug the L2 payload bits into the pipe
mgravell Dec 17, 2024
7ffc616
deal with rebase conflicts
mgravell Jan 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 2 additions & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,5 @@
*.dbproj text=auto
*.sln text=auto

*.png filter=lfs diff=lfs merge=lfs -text
*.jpg filter=lfs diff=lfs merge=lfs -text
*.dll filter=lfs diff=lfs merge=lfs -text
# Interpret dictionary files as text
*.dic diff
101 changes: 101 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
# These owners will be the default owners for everything in the repo. Unless a later match takes precedence,
# @dotnet/dotnet-extensions-fundamentals will be requested for review when someone opens a pull request.

*.cmd @dotnet/dotnet-extensions-infra
*.sh @dotnet/dotnet-extensions-infra
*.ps1 @dotnet/dotnet-extensions-infra
*.yml @dotnet/dotnet-extensions-infra
*.props @dotnet/dotnet-extensions-infra
*.targets @dotnet/dotnet-extensions-infra
/global.json @dotnet/dotnet-extensions-infra
/.azure/ @dotnet/dotnet-extensions-infra
/.azuredevops/ @dotnet/dotnet-extensions-infra
/.config/ @dotnet/dotnet-extensions-infra
/.devcontainer/ @dotnet/dotnet-extensions-infra
/.vscode/ @dotnet/dotnet-extensions-infra
/.github/ @dotnet/dotnet-extensions-infra
/docs/ @dotnet/dotnet-extensions-infra
/eng/ @dotnet/dotnet-extensions-infra

/src/Libraries/Microsoft.Extensions.AI @dotnet/dotnet-extensions-ai
/src/Libraries/Microsoft.Extensions.AI.* @dotnet/dotnet-extensions-ai
/test/Libraries/Microsoft.Extensions.AI @dotnet/dotnet-extensions-ai
/test/Libraries/Microsoft.Extensions.AI.* @dotnet/dotnet-extensions-ai

/src/Libraries/Microsoft.Extensions.Caching.Hybrid @dotnet/dotnet-extensions-caching-hybrid
/src/Libraries/Microsoft.Extensions.Caching.Hybrid.* @dotnet/dotnet-extensions-caching-hybrid
/test/Libraries/Microsoft.Extensions.Caching.Hybrid @dotnet/dotnet-extensions-caching-hybrid
/test/Libraries/Microsoft.Extensions.Caching.Hybrid.* @dotnet/dotnet-extensions-caching-hybrid

/src/Analyzers/Microsoft.Analyzers.Extra @dotnet/dotnet-extensions-analyzers
/src/Analyzers/Microsoft.Analyzers.Local @dotnet/dotnet-extensions-analyzers
/src/Packages/Microsoft.Extensions.StaticAnalysis @dotnet/dotnet-extensions-analyzers
/test/Analyzers/Microsoft.Analyzers.Extra.* @dotnet/dotnet-extensions-analyzers
/test/Analyzers/Microsoft.Analyzers.Local.* @dotnet/dotnet-extensions-analyzers

/src/Generators/Microsoft.Gen.ComplianceReports @dotnet/dotnet-extensions-compliance
/src/Libraries/Microsoft.Extensions.Compliance.Abstractions @dotnet/dotnet-extensions-compliance
/src/Libraries/Microsoft.Extensions.Compliance.Redaction @dotnet/dotnet-extensions-compliance
/src/Libraries/Microsoft.Extensions.Compliance.Testing @dotnet/dotnet-extensions-compliance
/src/Packages/Microsoft.Extensions.AuditReports @dotnet/dotnet-extensions-compliance
/test/Generators/Microsoft.Gen.ComplianceReports @dotnet/dotnet-extensions-compliance
/test/Libraries/Microsoft.Extensions.Compliance.Abstractions.* @dotnet/dotnet-extensions-compliance
/test/Libraries/Microsoft.Extensions.Compliance.Redaction.* @dotnet/dotnet-extensions-compliance
/test/Libraries/Microsoft.Extensions.Compliance.Testing.* @dotnet/dotnet-extensions-compliance

/src/Generators/Microsoft.Gen.ContextualOptions @dotnet/dotnet-extensions-configuration
/src/Libraries/Microsoft.Extensions.Options.Contextual @dotnet/dotnet-extensions-configuration
/test/Generators/Microsoft.Gen.ContextualOptions @dotnet/dotnet-extensions-configuration
/test/Libraries/Microsoft.Extensions.Options.Contextual.* @dotnet/dotnet-extensions-configuration

/src/Libraries/Microsoft.AspNetCore.AsyncState @dotnet/dotnet-extensions-fundamentals
/src/Libraries/Microsoft.AspNetCore.HeaderParsing @dotnet/dotnet-extensions-fundamentals
/src/Libraries/Microsoft.Extensions.AsyncState @dotnet/dotnet-extensions-fundamentals
/src/Libraries/Microsoft.Extensions.DependencyInjection.AutoActivation @dotnet/dotnet-extensions-fundamentals
/src/Libraries/Microsoft.Extensions.ObjectPool.DependencyInjection @dotnet/dotnet-extensions-fundamentals
/src/Libraries/Microsoft.Extensions.TimeProvider.Testing @dotnet/dotnet-extensions-fundamentals
/src/Shared @dotnet/dotnet-extensions-fundamentals
/test/Libraries/Microsoft.AspNetCore.AsyncState.* @dotnet/dotnet-extensions-fundamentals
/test/Libraries/Microsoft.AspNetCore.HeaderParsing.* @dotnet/dotnet-extensions-fundamentals
/test/Libraries/Microsoft.Extensions.AsyncState.* @dotnet/dotnet-extensions-fundamentals
/test/Libraries/Microsoft.Extensions.DependencyInjection.AutoActivation.* @dotnet/dotnet-extensions-fundamentals
/test/Libraries/Microsoft.Extensions.ObjectPool.DependencyInjection.* @dotnet/dotnet-extensions-fundamentals
/test/Libraries/Microsoft.Extensions.TimeProvider.Testing.* @dotnet/dotnet-extensions-fundamentals
/test/Shared.* @dotnet/dotnet-extensions-fundamentals

/src/Libraries/Microsoft.AspNetCore.Testing @dotnet/dotnet-extensions-hosting
/src/Libraries/Microsoft.Extensions.Hosting.Testing @dotnet/dotnet-extensions-hosting
/test/Libraries/Microsoft.AspNetCore.Testing.* @dotnet/dotnet-extensions-hosting
/test/Libraries/Microsoft.Extensions.Hosting.Testing.* @dotnet/dotnet-extensions-hosting

/src/Libraries/Microsoft.Extensions.Diagnostics.Probes @dotnet/dotnet-extensions-resilience
/src/Libraries/Microsoft.Extensions.Http.Resilience @dotnet/dotnet-extensions-resilience
/src/Libraries/Microsoft.Extensions.Resilience @dotnet/dotnet-extensions-resilience
/test/Libraries/Microsoft.Extensions.Diagnostics.Probes.* @dotnet/dotnet-extensions-resilience
/test/Libraries/Microsoft.Extensions.Http.Resilience.* @dotnet/dotnet-extensions-resilience
/test/Libraries/Microsoft.Extensions.Resilience.* @dotnet/dotnet-extensions-resilience

/src/Libraries/Microsoft.Extensions.Diagnostics.HealthChecks.* @dotnet/dotnet-extensions-resourcemonitoring
/src/Libraries/Microsoft.Extensions.Diagnostics.ResourceMonitoring @dotnet/dotnet-extensions-resourcemonitoring
/test/Libraries/Microsoft.Extensions.Diagnostics.HealthChecks.* @dotnet/dotnet-extensions-resourcemonitoring
/test/Libraries/Microsoft.Extensions.Diagnostics.ResourceMonitoring.* @dotnet/dotnet-extensions-resourcemonitoring

/src/Generators/Microsoft.Gen.Logging @dotnet/dotnet-extensions-telemetry
/src/Generators/Microsoft.Gen.Metrics @dotnet/dotnet-extensions-telemetry
/src/Generators/Microsoft.Gen.MetricsReports @dotnet/dotnet-extensions-telemetry
/src/Libraries/Microsoft.AspNetCore.Diagnostics.Middleware @dotnet/dotnet-extensions-telemetry
/src/Libraries/Microsoft.Extensions.AmbientMetadata.Application @dotnet/dotnet-extensions-telemetry
/src/Libraries/Microsoft.Extensions.Diagnostics.ExceptionSummarization @dotnet/dotnet-extensions-telemetry
/src/Libraries/Microsoft.Extensions.Diagnostics.Testing @dotnet/dotnet-extensions-telemetry
/src/Libraries/Microsoft.Extensions.Http.Diagnostics @dotnet/dotnet-extensions-telemetry
/src/Libraries/Microsoft.Extensions.Telemetry.* @dotnet/dotnet-extensions-telemetry
/src/Libraries/Microsoft.Extensions.Telemetry @dotnet/dotnet-extensions-telemetry
/test/Generators/Microsoft.Gen.Logging @dotnet/dotnet-extensions-telemetry
/test/Generators/Microsoft.Gen.Metrics @dotnet/dotnet-extensions-telemetry
/test/Generators/Microsoft.Gen.MetricsReports @dotnet/dotnet-extensions-telemetry
/test/Libraries/Microsoft.AspNetCore.Diagnostics.Middleware.* @dotnet/dotnet-extensions-telemetry
/test/Libraries/Microsoft.Extensions.AmbientMetadata.Application.* @dotnet/dotnet-extensions-telemetry
/test/Libraries/Microsoft.Extensions.Diagnostics.ExceptionSummarization.* @dotnet/dotnet-extensions-telemetry
/test/Libraries/Microsoft.Extensions.Diagnostics.Testing.* @dotnet/dotnet-extensions-telemetry
/test/Libraries/Microsoft.Extensions.Http.Diagnostics.* @dotnet/dotnet-extensions-telemetry
/test/Libraries/Microsoft.Extensions.Telemetry.* @dotnet/dotnet-extensions-telemetry
3 changes: 0 additions & 3 deletions .github/workflows/azure-sync-checkdiff.ps1

This file was deleted.

70 changes: 0 additions & 70 deletions .github/workflows/azure-sync.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/update-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: update-dotnet-sdk
on:

# Scheduled trigger to check for .NET SDK updates at 12 UTC every Monday
schedule:
- cron: '00 12 * * MON'
#schedule:
# - cron: '00 12 * * MON'

# Manual trigger to update the .NET SDK on-demand.
workflow_dispatch:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -313,3 +313,4 @@ BenchmarkDotNet.artifacts/
/_TEST

*.binlog
/eng/scripts/repo-digest.html
26 changes: 1 addition & 25 deletions NuGet.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,11 @@
<configuration>
<packageSources>
<clear />
<!-- Arcade -->
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" />
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />
<add key="dotnet-tools" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" />
<add key="dotnet8" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json" />
<add key="dotnet8-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8-transport/nuget/v3/index.json" />
<add key="dotnet9" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9/nuget/v3/index.json" />
<add key="dotnet9-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9-transport/nuget/v3/index.json" />
<add key="dotnet10" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet10/nuget/v3/index.json" />
<add key="dotnet10-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet10-transport/nuget/v3/index.json" />
<!-- Used for the Rich Navigation indexing task -->
<add key="richnav" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/vs-buildservices/nuget/v3/index.json" />
</packageSources>
Expand All @@ -27,34 +22,15 @@
<packageSource key="dotnet-tools">
<package pattern="*" />
</packageSource>
<packageSource key="dotnet8">
<package pattern="*" />
</packageSource>
<packageSource key="dotnet8-transport">
<package pattern="*" />
</packageSource>
<packageSource key="dotnet9">
<package pattern="*" />
</packageSource>
<packageSource key="dotnet9-transport">
<package pattern="*" />
</packageSource>
<packageSource key="dotnet10">
<package pattern="*" />
</packageSource>
<packageSource key="dotnet10-transport">
<package pattern="*" />
</packageSource>
<packageSource key="richnav">
<package pattern="*" />
</packageSource>
</packageSourceMapping>
<disabledPackageSources>
<!--Begin: Package sources managed by Dependency Flow automation. Do not edit the sources below.-->
<!-- Begin: Package sources from dotnet-aspnetcore -->
<!-- End: Package sources from dotnet-aspnetcore -->
<!-- Begin: Package sources from dotnet-runtime -->
<!-- End: Package sources from dotnet-runtime -->
<!--End: Package sources managed by Dependency Flow automation. Do not edit the sources above.-->
</disabledPackageSources>
<disabledPackageSources />
</configuration>
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
This repository contains a suite of libraries that provide facilities commonly needed when creating production-ready applications. Initially developed to support high-scale and high-availability services within Microsoft, such as Microsoft Teams, these libraries deliver functionality that can help make applications more efficient, more robust, and more manageable.

The major functional areas this repo addresses are:
- AI: Abstractions and middlewares for working with generative AI models and services.
- Compliance: Mechanisms to help manage application data according to privacy regulations and policies, which includes a data annotation framework, audit report generation, and telemetry redaction.
- Diagnostics: Provides a set of APIs that can be used to gather and report diagnostic information about the health of a service.
- Contextual Options: Extends the .NET Options model to enable experimentations in production.
Expand Down
19 changes: 18 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
#!/usr/bin/env bash

function is_cygwin_or_mingw()
{
case $(uname -s) in
CYGWIN*) return 0;;
MINGW*) return 0;;
*) return 1;;
esac
}

# Stop script if unbound variable found (use ${var:-} if intentional)
set -u

Expand All @@ -16,4 +25,12 @@ then
fi

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
"$DIR/eng/build.sh" "$@"

if is_cygwin_or_mingw; then
# if bash shell running on Windows (not WSL),
# pass control to powershell build script.
DIR=$(cygpath -d "$DIR")
powershell -c "$DIR\\build.cmd" $@
else
"$DIR/eng/build.sh" $@
fi
Loading