Go-live prep: link API, adopt shadow incidents, comments stay on Thor's ticket #12

Merged
jared merged 2 commits from go-live-prep into main 2026-11-27 10:36:16 -05:00
2 Commits
Author SHA1 Message Date
jaredandClaude Opus 5.5 e0491cba31 Tests: flake8 continuation indent
CI / Lint (flake8, house style) (pull_request) Successful in 46s
CI / Test (pytest) (pull_request) Successful in 47s
CI / Security (bandit, pip-audit) (pull_request) Successful in 1m6s
CI / Integration (MariaDB) (pull_request) Successful in 1m58s
CI / Scan (secrets, workflows, shell, patterns) (pull_request) Successful in 1m39s
CI / UI (screenshots) (pull_request) Successful in 2m54s
CI / Deploy (pull_request) Skipped
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-27 10:35:09 -05:00
jaredandClaude Opus 5.5 1f8c702ef3 Go-live prep: link API, adopt shadow incidents, comments stay on Thor's ticket
CI / Lint (flake8, house style) (pull_request) Failing after 1m29s
CI / Test (pytest) (pull_request) Successful in 1m31s
CI / Security (bandit, pip-audit) (pull_request) Successful in 1m5s
CI / Integration (MariaDB) (pull_request) Successful in 1m48s
CI / Scan (secrets, workflows, shell, patterns) (pull_request) Successful in 1m46s
CI / UI (screenshots) (pull_request) Successful in 2m37s
CI / Deploy (pull_request) Skipped
tinker_tickets#123 is on prod. Before any check goes live:

- incident_ticket() only reads Thor's own creates. attach and link rows record
  another app's ticket number, and after an attach every later comment would
  have gone to that ticket.
- TinkerClient.link() calls api/ticket_link_api.php (409 and 404 count as done).
  attach_ticket and a live root-cause absorption now queue a relates_to link
  beside their comment, as the thor#1 contract says.
- An incident open in shadow when its check goes live gets its open then,
  instead of comments waiting forever for a ticket that was never created.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-27 10:24:22 -05:00