Skip to content

feat(BA-8657): add REST v2, SDK, and CLI for listing session lifecycle handlers - #15947

Merged
jopemachine merged 2 commits into
mainfrom
feat/BA-8657-session-lifecycle-handler-rest-sdk-cli
Oct 22, 2026
Merged

jopemachine merged 2 commits into
mainfrom
feat/BA-8657-session-lifecycle-handler-rest-sdk-cli

Conversation

@jopemachine

@jopemachine jopemachine commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Adds the REST v2, SDK, and CLI entry points for the session lifecycle handler list that feat(BA-8372): add an API listing the session lifecycle handlers #15408 exposes as the adminSessionLifecycleHandlers GraphQL query. All of them read SessionLifecycleHandlerAdapter.list_session_lifecycle_handlers().
  • GET /v2/session-lifecycle-handlers (superadmin only, superadmin_required), SDK V2SessionLifecycleHandlerClient.admin_list(), and ./bai admin session-lifecycle-handler list.

Test plan

  • ./bai admin session-lifecycle-handler list as a superadmin returns the same name / description items as adminSessionLifecycleHandlers
  • GET /v2/session-lifecycle-handlers as a non-superadmin returns 403

Resolves BA-8657.

🤖 Generated with Claude Code


📚 Documentation preview 📚: https://sorna--15947.org.readthedocs.build/en/15947/


📚 Documentation preview 📚: https://sorna-ko--15947.org.readthedocs.build/ko/15947/


📚 Documentation preview 📚: https://sorna--15947.org.readthedocs.build/en/15947/


📚 Documentation preview 📚: https://sorna-ko--15947.org.readthedocs.build/ko/15947/


📚 Documentation preview 📚: https://sorna-ko--15947.org.readthedocs.build/ko/15947/


📚 Documentation preview 📚: https://sorna--15947.org.readthedocs.build/en/15947/


📚 Documentation preview 📚: https://sorna--15947.org.readthedocs.build/en/15947/


📚 Documentation preview 📚: https://sorna-ko--15947.org.readthedocs.build/ko/15947/

@jopemachine
jopemachine requested a review from a team as a code owner October 21, 2026 05:35
@github-actions github-actions Bot added the size:L 100~500 LoC label Oct 21, 2026
jopemachine added a commit that referenced this pull request Oct 21, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added area:docs Documentations comp:manager Related to Manager component comp:client Related to Client component comp:cli Related to CLI component labels Oct 21, 2026
@jopemachine
jopemachine marked this pull request as draft October 21, 2026 05:47
jopemachine added a commit that referenced this pull request Oct 21, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jopemachine
jopemachine force-pushed the feat/BA-8657-session-lifecycle-handler-rest-sdk-cli branch from 5ec9763 to a7d9ac3 Compare October 21, 2026 05:53
jopemachine added a commit that referenced this pull request Oct 21, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jopemachine
jopemachine force-pushed the feat/BA-8657-session-lifecycle-handler-rest-sdk-cli branch from a7d9ac3 to 77853ed Compare October 21, 2026 05:54
jopemachine added a commit that referenced this pull request Oct 21, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jopemachine
jopemachine force-pushed the feat/BA-8657-session-lifecycle-handler-rest-sdk-cli branch from 77853ed to 8bd2b2c Compare October 21, 2026 06:16
jopemachine added a commit that referenced this pull request Oct 21, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jopemachine
jopemachine force-pushed the feat/BA-8657-session-lifecycle-handler-rest-sdk-cli branch from 8bd2b2c to 12f25c2 Compare October 21, 2026 07:01
jopemachine added a commit that referenced this pull request Oct 21, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jopemachine
jopemachine force-pushed the feat/BA-8657-session-lifecycle-handler-rest-sdk-cli branch from 12f25c2 to 4276992 Compare October 21, 2026 07:23
jopemachine added a commit that referenced this pull request Oct 21, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jopemachine
jopemachine force-pushed the feat/BA-8657-session-lifecycle-handler-rest-sdk-cli branch from 4276992 to dd3dcd2 Compare October 21, 2026 07:32
@jopemachine
jopemachine force-pushed the feat/BA-8372-session-lifecycle-handlers branch from 2756124 to 9f24191 Compare October 21, 2026 07:46
jopemachine added a commit that referenced this pull request Oct 21, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jopemachine
jopemachine force-pushed the feat/BA-8657-session-lifecycle-handler-rest-sdk-cli branch from dd3dcd2 to 5fff0f7 Compare October 21, 2026 07:47
jopemachine added a commit that referenced this pull request Oct 22, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jopemachine
jopemachine force-pushed the feat/BA-8657-session-lifecycle-handler-rest-sdk-cli branch from 5fff0f7 to f64bef1 Compare October 22, 2026 02:47
jopemachine added a commit that referenced this pull request Oct 22, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jopemachine
jopemachine force-pushed the feat/BA-8657-session-lifecycle-handler-rest-sdk-cli branch from f64bef1 to 06a4433 Compare October 22, 2026 02:54
jopemachine added a commit that referenced this pull request Oct 22, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jopemachine
jopemachine force-pushed the feat/BA-8657-session-lifecycle-handler-rest-sdk-cli branch from 06a4433 to 57ece87 Compare October 22, 2026 07:13
@jopemachine
jopemachine force-pushed the feat/BA-8372-session-lifecycle-handlers branch from 4b13037 to d763403 Compare October 22, 2026 07:23
jopemachine added a commit that referenced this pull request Oct 22, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jopemachine
jopemachine force-pushed the feat/BA-8657-session-lifecycle-handler-rest-sdk-cli branch from 57ece87 to 02460d4 Compare October 22, 2026 07:23
Base automatically changed from feat/BA-8372-session-lifecycle-handlers to main October 22, 2026 07:28
jopemachine and others added 2 commits October 22, 2026 16:29
…e handlers

Expose the list behind adminSessionLifecycleHandlers as
GET /v2/session-lifecycle-handlers, V2SessionLifecycleHandlerClient.admin_list(),
and `./bai admin session-lifecycle-handler list`, superadmin only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jopemachine
jopemachine force-pushed the feat/BA-8657-session-lifecycle-handler-rest-sdk-cli branch from 02460d4 to 29e9772 Compare October 22, 2026 07:30
@jopemachine
jopemachine marked this pull request as ready for review October 22, 2026 07:39
Copilot AI balanced review requested due to automatic review settings October 22, 2026 07:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@jopemachine
jopemachine merged commit 0fd238e into main Oct 22, 2026
46 of 47 checks passed
@jopemachine
jopemachine deleted the feat/BA-8657-session-lifecycle-handler-rest-sdk-cli branch October 22, 2026 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docs Documentations comp:cli Related to CLI component comp:client Related to Client component comp:manager Related to Manager component size:L 100~500 LoC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants