Skip to content

[codex] Add assistant thread context regression tests#1515

Closed
Cr1stal wants to merge 1 commit into
slackapi:mainfrom
Cr1stal:feature/assistant-thread-context-authorize
Closed

[codex] Add assistant thread context regression tests#1515
Cr1stal wants to merge 1 commit into
slackapi:mainfrom
Cr1stal:feature/assistant-thread-context-authorize

Conversation

@Cr1stal

@Cr1stal Cr1stal commented May 30, 2026

Copy link
Copy Markdown

Summary

  • Add sync and async regression coverage for assistant user_message thread context helpers with custom authorization.
  • Verify the default assistant thread context store is initialized after authorize populates context.bot_user_id.

Why

Issue #1368 reported get_thread_context() returning None when the helper captured a context before custom authorization completed. Current main already initializes assistant utilities after authorization; these tests guard that behavior for both App and AsyncApp.

Testing

  • ./scripts/format.sh --no-install
  • ./scripts/lint.sh --no-install
  • ./scripts/run_tests.sh tests/slack_bolt/app/test_app_assistant.py
  • ./scripts/run_tests.sh tests/slack_bolt_async/app/test_async_app_assistant.py
  • ./scripts/run_mypy.sh --no-install

@Cr1stal Cr1stal closed this May 30, 2026
@Cr1stal Cr1stal deleted the feature/assistant-thread-context-authorize branch May 30, 2026 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant