Skip to content

Ab#74559#87

Merged
spbsoluble merged 17 commits into
release-2.11from
ab#74559
Aug 14, 2025
Merged

Ab#74559#87
spbsoluble merged 17 commits into
release-2.11from
ab#74559

Conversation

@leefine02

Copy link
Copy Markdown
Contributor

No description provided.

@spbsoluble
spbsoluble requested a review from Copilot August 14, 2025 18:46

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses a race condition bug in the RemoteFile orchestrator extension configuration loading and improves documentation clarity. The changes remove redundant initialization calls that could cause race conditions when multiple jobs run simultaneously, replacing them with a static constructor approach for safer initialization.

  • Refactored ApplicationSettings initialization to use static constructor instead of explicit Initialize() calls
  • Enhanced documentation with detailed command usage tables and clearer configuration file location references
  • Fixed minor grammatical issues in support documentation

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
RemoteFile/ApplicationSettings.cs Converted Initialize method to static constructor and added System.Reflection using
RemoteFile/ReenrollmentBase.cs Removed ApplicationSettings.Initialize() call to prevent race conditions
RemoteFile/ManagementBase.cs Removed ApplicationSettings.Initialize() call to prevent race conditions
RemoteFile/InventoryBase.cs Removed ApplicationSettings.Initialize() call to prevent race conditions
RemoteFile/Discovery.cs Removed ApplicationSettings.Initialize() call to prevent race conditions
RemoteFile.UnitTests/ApplicationSettingsTests.cs Removed test-specific initialization calls that are no longer needed
docsource/content.md Updated command documentation with detailed usage table and config file path
README.md Updated command documentation and improved support section clarity
CHANGELOG.md Added version entry documenting bug fix and documentation updates

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread docsource/content.md
(a) - Only used if [config.json](#post-installation) setting SeparateUploadFilePath is used (non empty value)
(b) - Only used if [config.json](#post-installation) setting SeparateUploadFilePath is used (non empty value) AND the [config.json](#post-installation) or certificate store setting SudoImpersonatedUser is not used (empty value)
(c) - Only used if store type is RFKDB or RFORA AND [config.json](#post-installation) setting SeparateUploadFilePath is used (non empty value)
(d) - Only used if using store type is either RFKDB or RFORA OR any store type and the [config.json](#post-installation) setting SeparateUploadFilePath is used (non empty value)

Copilot AI Aug 14, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The phrase "if using store type" should be "if the store type" for better grammar.

Suggested change
(d) - Only used if using store type is either RFKDB or RFORA OR any store type and the [config.json](#post-installation) setting SeparateUploadFilePath is used (non empty value)
(d) - Only used if the store type is either RFKDB or RFORA OR any store type and the [config.json](#post-installation) setting SeparateUploadFilePath is used (non empty value)

Copilot uses AI. Check for mistakes.
Comment thread README.md
(a) - Only used if [config.json](#post-installation) setting SeparateUploadFilePath is used (non empty value)
(b) - Only used if [config.json](#post-installation) setting SeparateUploadFilePath is used (non empty value) AND the [config.json](#post-installation) or certificate store setting SudoImpersonatedUser is not used (empty value)
(c) - Only used if store type is RFKDB or RFORA AND [config.json](#post-installation) setting SeparateUploadFilePath is used (non empty value)
(d) - Only used if using store type is either RFKDB or RFORA OR any store type and the [config.json](#post-installation) setting SeparateUploadFilePath is used (non empty value)

Copilot AI Aug 14, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The phrase "if using store type" should be "if the store type" for better grammar.

Suggested change
(d) - Only used if using store type is either RFKDB or RFORA OR any store type and the [config.json](#post-installation) setting SeparateUploadFilePath is used (non empty value)
(d) - Only used if the store type is either RFKDB or RFORA OR any store type and the [config.json](#post-installation) setting SeparateUploadFilePath is used (non empty value)

Copilot uses AI. Check for mistakes.
@spbsoluble
spbsoluble merged commit 2745dd5 into release-2.11 Aug 14, 2025
31 of 32 checks passed
@spbsoluble
spbsoluble deleted the ab#74559 branch August 14, 2025 18:48
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.

3 participants