Skip to content

fix: Wrong required reservoir_config error#6361

Merged
HyeockJinKim merged 1 commit into
mainfrom
hotfix/wrong_reservoir_required_cfg
Oct 23, 2025
Merged

fix: Wrong required reservoir_config error#6361
HyeockJinKim merged 1 commit into
mainfrom
hotfix/wrong_reservoir_required_cfg

Conversation

@jopemachine
Copy link
Copy Markdown
Member

@jopemachine jopemachine commented Oct 23, 2025

Hotfix of #6330.

Checklist: (if applicable)

  • Milestone metadata specifying the target backport version

Copilot AI review requested due to automatic review settings October 23, 2025 12:21
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 fixes an issue where the manager incorrectly raises a ServerMisconfiguredError when reservoir_config is not configured, even though it should be optional. The fix removes the unnecessary error check and instead safely handles the optional configuration by only starting the reservoir registry scan task when the configuration is present and delegation is enabled.

  • Removed incorrect mandatory check for reservoir_config
  • Added safe optional handling for the reservoir registry scan task
  • Removed unused ServerMisconfiguredError import

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

@github-actions github-actions Bot added size:XS ~10 LoC comp:manager Related to Manager component labels Oct 23, 2025
@jopemachine jopemachine added this to the 25.15 milestone Oct 23, 2025
@jopemachine jopemachine added the skip:changelog Make the action workflow to skip towncrier check label Oct 23, 2025
@HyeockJinKim HyeockJinKim added this pull request to the merge queue Oct 23, 2025
Merged via the queue into main with commit cec8593 Oct 23, 2025
36 of 37 checks passed
@HyeockJinKim HyeockJinKim deleted the hotfix/wrong_reservoir_required_cfg branch October 23, 2025 12:43
lablup-octodog pushed a commit that referenced this pull request Oct 23, 2025
Backported-from: main (25.16)
Backported-to: 25.15
Backport-of: 6361
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp:manager Related to Manager component size:XS ~10 LoC skip:changelog Make the action workflow to skip towncrier check

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants