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
Owner

Releases #131 (closes #126) to prod.

  • An automated report inside the reopen window reopens the ticket whenever the Workflow Designer has a Closed -> Open transition, whatever it requires of people. This is unchanged from #128/#129.
  • Only a workflow with no Closed -> Open transition leaves the ticket Closed (recurrence_noted). It posts one note per closed period, and later reports go to the audit log only.

No behaviour change on prod: its workflow has Closed -> Open (admin + comment). There are no migrations.

🤖 Generated with Claude Code

Releases #131 (closes #126) to prod. - An automated report inside the reopen window reopens the ticket whenever the Workflow Designer has a Closed -> Open transition, whatever it requires of people. This is unchanged from #128/#129. - Only a workflow with **no** Closed -> Open transition leaves the ticket Closed (`recurrence_noted`). It posts one note per closed period, and later reports go to the audit log only. **No behaviour change on prod:** its workflow has Closed -> Open (admin + comment). There are no migrations. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
jared added 2 commits 2026-11-28 23:27:16 -05:00
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
6133cbacc9
#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]>
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
8168f70f3d
jared scheduled this pull request to auto merge when all checks succeed 2026-11-28 23:27:44 -05:00
jared merged commit adc9cb0700 into main 2026-11-28 23:28:13 -05:00
Sign in to join this conversation.