Repository navigation
matrix: denpa の webhook をルームの state に移し、静的な接続を消す - #846
Merged
Merged
Conversation
denpa の webhook は部屋 denpa の state(`!hookshot webhook denpa`)で作り直し、denpa の設定も新しい URL だけにした。 gitops の外のアプリを消しても gitops を直さなくてよいように、静的な接続(connections の denpa・HOOK_DENPA・ secrets.sops.yaml の hook-denpa)を消す。README に state の webhook の作り方と、管理用の部屋の落とし穴を書いた。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01T8TqVdo6LUrWKdVQgbScVU
|
Claude finished @5ym's task in 14s —— View job レビュー結果問題なしです。
要確認(任意)
テストの追加は不要と判断しました。これは宣言的な設定の変更で、テストの対象がありません。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
denpa の webhook を、hookshot の静的な接続からルームの state に移した後始末です。
denpaで!hookshot webhook remove denpa→!hookshot webhook denpa。URL は管理用の DM に届き、denpa の設定は新しい URL だけにした(テスト送信で部屋denpaに投稿されるのを確認済み)deploy/matrix/hookshot.yaml: connections のdenpaと render のHOOK_DENPAを消した。connections の説明に、gitops の外のアプリは state に置くことを書いたdeploy/matrix/secrets.sops.yaml:hook-denpaをsops unsetで消したdeploy/matrix/README.md: webhook の置き場が 2 通りあること、state の webhook の作り方・消し方、作り直すときは先に remove すること、招待で作った DM は再起動まで管理用の部屋にならないこと、古い管理用の部屋の片付け方を書いたConfigMap が変わるので、Reloader が hookshot を入れ替える。state の webhook は ID が Tuwunel 側(bot の room account data)にあるので、再起動しても URL は変わらない。ほかのアプリの webhook は触っていない。
🤖 Generated with Claude Code
https://claude.ai/code/session_01T8TqVdo6LUrWKdVQgbScVU