• Will Chen's avatar
    Split closed-issue-comment workflow by commenter identity (#3270) · 55f45d5c
    Will Chen 提交于
    ## Summary
    - Move the author-vs-commenter check from the Claude prompt into
    workflow-level `if:` conditions so Case 1 (original author follow-up)
    and Case 2 (third-party comment) route deterministically.
    - Case 2 no longer invokes Claude — it just posts the fixed redirect
    comment with `gh issue comment`.
    - Skip bot-authored comments to prevent loops.
    
    Previously the single-prompt design conflated the two cases when a
    maintainer's closing comment mentioned the original author and described
    the symptom, causing the bot to re-open the issue under Case 1 even
    though COMMENT_AUTHOR did not match ISSUE_AUTHOR (see
    dyad-sh/dyad#3228).
    
    ## Test plan
    - [ ] Trigger a closed-issue comment from a non-author account → expect
    only the redirect comment, no re-open, no LLM usage.
    - [ ] Trigger a closed-issue comment from the original author expressing
    the issue still occurs → expect re-open + "we've re-opened the issue"
    comment.
    - [ ] Trigger a closed-issue comment from the original author that's
    just a thank-you → expect no action.
    - [ ] Bot comment on a closed issue → no workflow run.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    <!-- devin-review-badge-begin -->
    
    ---
    
    <a href="https://app.devin.ai/review/dyad-sh/dyad/pull/3270"
    target="_blank">
      <picture>
    <source media="(prefers-color-scheme: dark)"
    srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1">
    <img
    src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1"
    alt="Open in Devin Review">
      </picture>
    </a>
    <!-- devin-review-badge-end -->
    55f45d5c
名称
最后提交
最后更新
..
adding-settings.md 正在载入提交数据...
base-ui-components.md 正在载入提交数据...
chat-message-indicators.md 正在载入提交数据...
claude-github-workflows.md 正在载入提交数据...
database-drizzle.md 正在载入提交数据...
dyad-errors.md 正在载入提交数据...
e2e-testing.md 正在载入提交数据...
electron-ipc.md 正在载入提交数据...
git-workflow.md 正在载入提交数据...
jotai-testing.md 正在载入提交数据...
local-agent-tools.md 正在载入提交数据...
native-modules.md 正在载入提交数据...
openai-reasoning-models.md 正在载入提交数据...
product-principles.md 正在载入提交数据...
supabase-functions.md 正在载入提交数据...
typescript-strict-mode.md 正在载入提交数据...