[相談] 添付ファイルのタイミング問題 — gitea-agent-orchestrator #1
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
問題
gitea-agent-orchestrator で、Issue 作成時の添付ファイルが webhook 発火時点では存在しないケースがある。
現象
issues.openedwebhook が発火getIssueAttachments()を呼ぶが、添付がまだ存在しない現在のコード(worker.ts)
考えている対策案
他に良いアプローチがあれば教えてほしい。シンプルで確実な方法が良い。
関連コード: https://gitea.swallow.wjg.jp/agent-bot/gitea-agent-orchestrator/src/branch/main/src/worker.ts