Commit Graph

5 Commits

  • Purview: Parallelize PSPC cold-cache scope refresh (#5832)
    * Parallelize Purview PSPC cold cache path
    
    * Cache Purview payment-required state for scope refresh
    
    * Cache Purview payment-required state for scope refresh
    
    * Align Purview policy action dedupe and 402 caching
    
     Deduplicate combined policy actions by action and restriction action so restriction-only actions are preserved
    without duplicating identical entries. Cache tenant-level payment-required state from background scope refresh so
    subsequent calls short-circuit consistently.
    
    * .NET: Implement best-effort caching for background job scope retrieval and add unit tests for cache write failures
    
    * Purview - feat: Enhance ScopedContentProcessor to queue ContentActivityJob when no applicable scopes are found and update related tests
    
    * docs: Update purview package README and AGENTS documentation to reflect caching optimizations and policy enforcement scenarios
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    
    ---------
    
    Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
  • .NET: Upgrade to .NET 10 (#2128)
    * Upgrade to .NET 10
    
    - Require .NET 10 SDK
    - Include net10.0 assets in all assemblies
    - Move net9.0-only targets to net10.0
    - Update LangVersion to latest
    - Remove complicated distinctions between debug target TFMs and release target TFMs
    - Remove unnecessary package dependencies when built into netcoreapp
    - Clean up some ifdefs
    - Clean up some analyzer warnings
    
    * Fix CI
  • .NET: Implement Purview middleware in dotnet (#1949)
    * Move Purview integration logic into middleware
    
    * Improve error handling and user id management
    
    * Rename purview package
    
    * Handle 402s more explicitly; add Middleware generation methods; don't ignore exceptions
    
    * Use DI container; pass scope id to PC
    
    * Add protection scope caching
    
    * Wrap more exceptions in PurviewClient
    
    * Remove block check dedup; add tests
    
    * Refactor PurviewWrapper intialization; Add unit tests
    
    * Use different .Use method and add IDisposable stub
    
    * Add background job processing for Purview
    
    * Misc comment cleanup
    
    * Apply copilot comments
    
    * Fix formatting
    
    * Formatting other files to fix pipeline
    
    * Small updates to settings and exceptions
    
    * Add README
    
    * Move Purview sample
    
    * Address review comments and update XML comments
    
    * Newline after namespace
    
    * Move public Purview classes to single namespace; Clean up csproj and slnx
    
    * Commit the renames
    
    * Remove unused openAI dependency
    
    ---------
    
    Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com>