Skip to content

fix(ops): refresh stale 2FA bot bind mounts - #107

Merged
Pigbibi merged 1 commit into
mainfrom
agent/refresh-stale-2fa-bind-mount
Jul 16, 2026
Merged

fix(ops): refresh stale 2FA bot bind mounts#107
Pigbibi merged 1 commit into
mainfrom
agent/refresh-stale-2fa-bind-mount

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • detect stale 2fa_bot.py bind mounts during keepalive and recreate only the affected Gateway target
  • run API recovery before reinstalling watchers
  • force-recreate the selected target during remote restart maintenance

Root cause

Repository sync replaces the deploy directory while the running container still holds the old bind-mounted inode. The container can therefore see an empty/stale 2FA bot, preventing authentication and leaving the API TCP socket unable to complete an IB handshake.

Impact

The fix applies to every independently configured target in IB_GATEWAY_TARGETS_JSON; it does not merge targets or change their VM/container topology.

Validation

  • for test_file in tests/*.sh; do bash "$test_file"; done
  • actionlint
  • git diff --check

Co-Authored-By: Codex <noreply@openai.com>
@github-actions

Copy link
Copy Markdown

🤖 Codex PR Review

Merge allowed: No issues found


Review by Codex PR Review bot • PR

@Pigbibi
Pigbibi merged commit f1e5f69 into main Jul 16, 2026
3 checks passed
@Pigbibi
Pigbibi deleted the agent/refresh-stale-2fa-bind-mount branch July 16, 2026 19:02
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.

1 participant