Skip to content

Conversation

@vdbergh
Copy link
Contributor

@vdbergh vdbergh commented Dec 19, 2025

It seems that this happens more than expected.

It seems that this happens more than expected.
Copy link

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 allows workers to change their IP address during task execution. The changes remove the IP address validation check when workers submit task updates, while preserving the original IP address for connection tracking purposes.

Key Changes

  • Remove remote_addr from task validation, allowing workers to submit updates from different IP addresses
  • Preserve the original IP address in task data to maintain accurate connection tracking
  • Enhance error logging in connection management to include action database logging

Reviewed changes

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

File Description
server/fishtest/api.py Removes IP address validation for task updates and implements logic to preserve the original IP address when a task exists
server/fishtest/rundb.py Adds action database logging for connection deletion errors to improve debugging capabilities

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Collaborator

@ppigazzini ppigazzini left a comment

Choose a reason for hiding this comment

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

Looks good on DEV, PROD update after merging, thank you @vdbergh

@ppigazzini ppigazzini merged commit 5201f0c into official-stockfish:master Dec 19, 2025
27 checks passed
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