Skip to content

join, infoイベントを実装 - #13

Merged
tutinoko2048 merged 2 commits into
mainfrom
feat/gateway-events
Sep 27, 2026
Merged

tutinoko2048 merged 2 commits into
mainfrom
feat/gateway-events

Conversation

@tutinoko2048

@tutinoko2048 tutinoko2048 commented Sep 26, 2026 •

Copy link
Copy Markdown
Member

Closes #11

概要

  • ミドルウェアと join の検証を通過し、upstream に転送する直前に join / info イベントを発火します。
  • イベントには転送リクエストに影響しない Headers のコピーを含めます。join では untrustedIdentity と、検証済みの場合の identity を取得できます。
  • イベントリスナーの例外で HTTP 応答が変わらないようにし、requestError で通知します。
  • テストと利用例を追加しました。利用例にはヘッダーを載せていません。

確認

  • pnpm test(92 件成功)
  • pnpm check
  • pnpm build

Copilot AI lite review requested due to automatic review settings September 26, 2026 17:03

Copilot AI left a comment

Copy link
Copy Markdown

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.

@tutinoko2048
tutinoko2048 marked this pull request as draft September 26, 2026 18:11
@tutinoko2048 tutinoko2048 changed the title feat: add join and info observation events join, infoイベントを実装 Sep 26, 2026
@tutinoko2048
tutinoko2048 marked this pull request as ready for review September 26, 2026 18:37

@kaito02020424 kaito02020424 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

いいと思います!

@tutinoko2048
tutinoko2048 merged commit 5f166ba into main Sep 27, 2026
1 check passed
@tutinoko2048
tutinoko2048 deleted the feat/gateway-events branch September 27, 2026 05:13
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.

join, infoイベントの追加

3 participants