Repository navigation
ci: notify Slack on closed issue comments - #962
Conversation
| @@ -0,0 +1,13 @@ | |||
| name: Closed Issue Comment | |||
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
| issue_comment: | ||
| types: [created] |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
This comment has been minimized.
This comment has been minimized.
|
|
||
| jobs: | ||
| closed-issue-comment: | ||
| uses: aws/aws-durable-execution-ci/.github/workflows/closed-issue-comment.yml@e04e810d6d7e452377bbefc04f007ad7373d19e2 |
There was a problem hiding this comment.
Should we release a new version of CI repo and pin the released version?
| closed-issue-comment: | ||
| uses: aws/aws-durable-execution-ci/.github/workflows/closed-issue-comment.yml@e04e810d6d7e452377bbefc04f007ad7373d19e2 |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
| issue_comment: | ||
| types: [created] |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
This comment has been minimized.
This comment has been minimized.
| issue_comment: | ||
| types: [created] |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
| permissions: {} | ||
|
|
||
| jobs: | ||
| closed-issue-comment: |
This comment was marked as outdated.
This comment was marked as outdated.
Sorry, something went wrong.
This comment has been minimized.
This comment has been minimized.
| - '.github/scripts/js_examples/**' | ||
| - '.github/scripts/tests/**' | ||
| - '.github/workflows/ai-pr-review.yml' | ||
| - '.github/workflows/closed-issue-comment.yml' |
There was a problem hiding this comment.
Codex AI review · Finding arf_v1_vbxiwfrqy5apoiq7z2uckvluh7
[P2] Include the new test module in the CI invocation
This path filter starts test-scripts, but its Run script tests step explicitly enumerates test modules and omits test_closed_issue_comment_workflow.py. Root pytest discovery also excludes .github/scripts/tests, so the main CI job does not collect it either. Consequently, none of the five new checks runs in CI, allowing workflow regressions to pass unnoticed. Add the new module to the script-test invocation.
To suppress repeats, reply /ai verdict deferred, /ai verdict false-positive, or /ai verdict out-of-scope on the first nonblank line. Add rationale on later lines. A new /ai verdict accepted allows future repeats again.
|
|
||
| jobs: | ||
| closed-issue-comment: | ||
| uses: aws/aws-durable-execution-ci/.github/workflows/closed-issue-comment.yml@e04e810d6d7e452377bbefc04f007ad7373d19e2 # v0.6.0 |
There was a problem hiding this comment.
Codex AI review · Finding arf_v1_2xohdvw7bsaig56rojp7jzl2a2
[P2] Return the undocumented decisions to design review
The description lists the runner, commenter exclusions, and immediate notification policy as decisions but supplies no reasons. This breaks rule 7, List the decisions that the task did not cover, which requires a reason for each decision. For example, the stated ubuntu-latest choice differs from the existing shared-workflow callers’ explicit CodeBuild selection without explaining why. Please return to the design phase under rule 8, step 6, document the rationales, and obtain maintainer agreement.
To suppress repeats, reply /ai verdict deferred, /ai verdict false-positive, or /ai verdict out-of-scope on the first nonblank line. Add rationale on later lines. A new /ai verdict accepted allows future repeats again.
Codex AI reviewTwo findings: omitted CI tests ( Reviewed commit |
Adds the shared closed-issue-comment workflow from aws-durable-execution-ci#86 (v0.6.0, pinned to commit
e04e810). It pings the issue Slack channel when an outside user comments on a closed issue.Design note
Problem. Nobody sees comments on closed issues. In the last 6 months one real bug report on a closed issue got no reply (sdk-js#674, day 18 after close).
Cause. GitHub only notifies people who subscribed. No workflow in the shared CI repo runs on
issue_comment. The stale-issue closer also asks authors to comment on closed issues.Options.
closed-issue-message). The team still never sees the comment.issues: write, and clashes with the stale closer's "comment and we will reopen" text.SLACK_WEBHOOK_URL_ISSUE.Chosen. Slack ping only. It needs no script, no token permissions and no checkout, and it posts nothing on GitHub.
Removes. Nothing.
Decisions not covered by the task
ubuntu-latest.🤖 AI-assisted comment