Skip to content

fix: repair stale Codex hook path#91

Merged
Pigbibi merged 1 commit into
mainfrom
fix/repair-stale-codex-hook
Jun 6, 2026
Merged

fix: repair stale Codex hook path#91
Pigbibi merged 1 commit into
mainfrom
fix/repair-stale-codex-hook

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Jun 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • repair existing telegram-codex-bot hook entries when their absolute executable path no longer exists
  • keep hook installation idempotent without adding duplicate SessionStart hooks
  • add regression coverage for stale hook path repair

Tests

  • uv run pytest tests/telegram_codex_bot/test_hook.py tests/telegram_codex_bot/test_existing_window_binding.py::test_refresh_session_map_retries_enter_when_first_prompt_is_pending tests/telegram_codex_bot/test_existing_window_binding.py::test_refresh_session_map_retries_enter_when_resume_prompt_is_pending
  • uv run ruff check src/ tests/
  • uv run pyright src/telegram_codex_bot/
  • uv run pytest

@Pigbibi Pigbibi merged commit ef5a83d into main Jun 6, 2026
5 checks passed
@Pigbibi Pigbibi deleted the fix/repair-stale-codex-hook branch June 6, 2026 03:49
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