GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix stale remote server picker responses overwriting newer ones by coderandhiker · Pull Request #367 · satisfactorymodding/SatisfactoryModManager

Conversation

@coderandhiker

@coderandhiker coderandhiker commented Sep 18, 2026

Copy link
Copy Markdown

restartPicker is debounced, but a StartPicker call already in flight is not cancelled when the base path changes again. Typing the host before the port starts a picker for the default port; if that attempt is still failing when the real port is entered, its error lands after the newer picker succeeded and replaces the working state with a stale "failed to connect" error.

Capture the base path before awaiting, and discard the response (releasing the picker it created) if the base path changed or the picker was disabled in the meantime, the same way checkValid already discards stale TryPick responses.

image

In the error message shown, my IP followed by port 22 was shown, I had typed a different port number.

I encountered this issue while working on satisfactorymodding/ficsit-cli#86, which refs #304

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@coderandhiker
Fix stale remote server picker responses overwriting newer ones
814104a
restartPicker is debounced, but a StartPicker call already in flight is not
cancelled when the base path changes again. Typing the host before the port
starts a picker for the default port; if that attempt is still failing when
the real port is entered, its error lands after the newer picker succeeded
and replaces the working state with a stale "failed to connect" error. Had
the stale attempt succeeded instead, it would have replaced pickerId with a
picker for the wrong url and leaked the newer one.

Capture the base path before awaiting, and discard the response (releasing
the picker it created) if the base path changed or the picker was disabled
in the meantime, the same way checkValid already discards stale TryPick
responses.
@github-project-automation github-project-automation Bot added this to Mod Manager (SMM) and CLI Sep 18, 2026
@github-project-automation github-project-automation Bot moved this to 🆕 New in Mod Manager (SMM) and CLI Sep 18, 2026
@coderandhiker coderandhiker mentioned this pull request Sep 18, 2026
feat: authenticate sftp installations with ssh keys satisfactorymodding/ficsit-cli#86
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

Mod Manager (SMM) and CLI
Status: 🆕 New

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@coderandhiker
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.