Release: keep recurrence_noted when the workflow has no Closed -> Open (#131) #132

Merged
jared merged 2 commits from development into main 2026-11-28 23:28:13 -05:00
2 Commits
Author SHA1 Message Date
jared 8168f70f3d Merge pull request 'Automated reopen: keep recurrence_noted when the workflow has no Closed -> Open (#126)' (#131) from auto-reopen-no-transition into development
Lint / PHP (phpcs PSR-12) (push) Successful in 49s
Lint / JS (eslint) (push) Successful in 11s
Lint / PHP requirements (version + extensions) (push) Successful in 31s
Lint / Notify on failure (push) Skipped
Lint / Deploy (push) Successful in 3s
Security / PHP Security (semgrep) (push) Successful in 3m1s
Lint / PHP (phpcs PSR-12) (pull_request) Successful in 59s
Lint / JS (eslint) (pull_request) Successful in 12s
Lint / PHP requirements (version + extensions) (pull_request) Successful in 1m7s
Lint / Deploy (pull_request) Skipped
Lint / Notify on failure (pull_request) Skipped
Security / PHP Security (semgrep) (pull_request) Successful in 4m2s
2026-11-28 23:23:30 -05:00
jaredandClaude Opus 5.5 6133cbacc9 Automated reopen: keep recurrence_noted when the workflow has no Closed -> Open (#126)
Lint / JS (eslint) (push) Successful in 23s
Lint / PHP (phpcs PSR-12) (push) Successful in 42s
Lint / PHP requirements (version + extensions) (push) Successful in 36s
Lint / Deploy (push) Skipped
Lint / Notify on failure (push) Skipped
Lint / PHP (phpcs PSR-12) (pull_request) Successful in 34s
Lint / JS (eslint) (pull_request) Successful in 15s
Lint / PHP requirements (version + extensions) (pull_request) Successful in 1m2s
Lint / Deploy (pull_request) Skipped
Lint / Notify on failure (pull_request) Skipped
Security / PHP Security (semgrep) (push) Successful in 2m15s
Security / PHP Security (semgrep) (pull_request) Successful in 1m55s
#128 made automated reports reopen a ticket closed inside the reopen
window regardless of the Workflow Designer's admin/comment requirements,
and dropped recurrence_noted entirely. The #126 decision keeps one case:
a workflow with no Closed -> Open transition at all is a deliberate
"never reopen" setup, so the ticket stays Closed and the response is
recurrence_noted.

That path is what posted 2,110 "could not be reopened" comments before
#123, so it now leaves one note per closed period; later reports while
the ticket stays Closed only write the audit row (which still feeds the
recurrence counts). No notification is sent when nothing reopened.

Prod has an active Closed -> Open (admin + comment), so prod behaviour
is unchanged: reports inside the window reopen.

Closes #126

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-28 23:20:28 -05:00