Skip to content

Commit

Permalink
Merge pull request #922 from facebookresearch/small-fixes
Browse files Browse the repository at this point in the history
Extending some 1.1 changes
  • Loading branch information
JackUrb authored Oct 28, 2022
2 parents a4aa704 + 3ad6a49 commit 66be164
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ jobs:
node-version: 16.16.0
cache: yarn
- uses: actions/setup-python@v2
- name: Install Poetry
run: |
- name: Install dependencies
run: poetry install --no-interaction
- name: 🤖 Install Mephisto
run: |
cd ../../
Expand Down
3 changes: 3 additions & 0 deletions mephisto/abstractions/_subcomponents/task_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,9 @@ def _launch_and_run_onboarding(
AgentDisconnectedError,
AgentShutdownError,
):
if onboarding_agent.get_status() not in AgentState.complete():
# Absent agents at this stage should be disconnected
onboarding_agent.update_status(AgentState.STATUS_DISCONNECT)
self.cleanup_onboarding(onboarding_agent)
except Exception as e:
logger.exception(
Expand Down

0 comments on commit 66be164

Please sign in to comment.