Skip to content

Move code#4

Merged
rahuldevikar761 merged 5 commits intomainfrom
users/radevika/movefolders
Oct 19, 2025
Merged

Move code#4
rahuldevikar761 merged 5 commits intomainfrom
users/radevika/movefolders

Conversation

@rahuldevikar761
Copy link
Copy Markdown
Collaborator

No description provided.

@rahuldevikar761 rahuldevikar761 merged commit ca06d9c into main Oct 19, 2025
5 of 6 checks passed
@pontemonti pontemonti deleted the users/radevika/movefolders branch December 5, 2025 17:03
Copilot AI added a commit that referenced this pull request Mar 18, 2026
- Change LogInformation to LogDebug for agentId/tenantId logging (#5)
- Configure HttpClient with explicit timeout from ExporterTimeoutMilliseconds (#8)
- Add automatic periodic cleanup timer to ServiceTokenCache and AgenticTokenCache (#4)
- Add IDisposable pattern to token caches with secure token clearing
- Add new tests for ServiceTokenCache functionality

Co-authored-by: nikhilNava <211831449+nikhilNava@users.noreply.github.com>
nikhilNava added a commit that referenced this pull request Mar 18, 2026
* Initial plan

* Implement security improvements for observability packages

- Change LogInformation to LogDebug for agentId/tenantId logging (#5)
- Configure HttpClient with explicit timeout from ExporterTimeoutMilliseconds (#8)
- Add automatic periodic cleanup timer to ServiceTokenCache and AgenticTokenCache (#4)
- Add IDisposable pattern to token caches with secure token clearing
- Add new tests for ServiceTokenCache functionality

Co-authored-by: nikhilNava <211831449+nikhilNava@users.noreply.github.com>

* Address code review feedback for token cache cleanup timers

- Use nullable Timer field instead of creating disabled timer
- Fix documentation to clarify TimeSpan.Zero disables cleanup
- Remove unnecessary timer overhead when cleanup is disabled

Co-authored-by: nikhilNava <211831449+nikhilNava@users.noreply.github.com>

* Address code review feedback: Token memory protection, HttpClient validation, and thread-safe disposal

- Make Entry.Token mutable/nullable and explicitly null before removal in ServiceTokenCache
- Refactor RemoveExpiredTokens() to not use LINQ in both cache classes
- Create shared HttpClientFactory with proper timeout validation (-1 for infinite)
- Use Interlocked for thread-safe disposal in both cache classes
- Add documentation about HttpClient reuse considerations

Co-authored-by: nikhilNava <211831449+nikhilNava@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: nikhilNava <211831449+nikhilNava@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants