Dev #29

Merged
Latte merged 3 commits from dev into main 2026-06-25 14:59:44 +00:00

3 Commits

Author SHA1 Message Date
Latte 227122263b Merge pull request 'Fix/get issue 27 error handling and ci' (#28) from fix/get-issue-27-error-handling-and-ci into dev
docker / test (pull_request) Successful in 32s
test / test (pull_request) Successful in 40s
docker / lint (pull_request) Successful in 40s
lint / lint (pull_request) Successful in 42s
docker / test (push) Successful in 29s
docker / lint (push) Successful in 35s
lint / lint (push) Successful in 36s
test / test (push) Successful in 35s
docker / docker (push) Successful in 45s
docker / docker (pull_request) Successful in 49s
Reviewed-on: #28
2026-06-25 14:56:04 +00:00
Latte 4fb315b177 commit
docker / test (push) Successful in 29s
docker / lint (push) Successful in 37s
lint / lint (push) Successful in 41s
test / test (push) Successful in 42s
docker / test (pull_request) Successful in 32s
docker / lint (pull_request) Successful in 41s
lint / lint (pull_request) Successful in 39s
test / test (pull_request) Successful in 37s
docker / docker (push) Successful in 48s
docker / docker (pull_request) Successful in 45s
2026-06-25 16:53:41 +02:00
Latte 41749fd7b4 fix: harden get_issue parsing and surface real errors (#27); align CI image publish
get_issue raised 'NoneType' object is not iterable on issues whose
labels/assignees Gitea returns as null or with non-dict elements (the #13
class), which reached clients as an opaque JSON-RPC -32603 with no detail.

- read_tools: skip non-dict label/assignee entries in get_issue_tool
- server: detect a wrapped GiteaNotFoundError via the __cause__ chain and
  return 404 / JSON-RPC -32000 with a clear message; include the exception
  type name in masked internal errors so future masked failures are
  diagnosable without exposing messages or stack traces
- tests: cover non-dict collection elements and the not-found / typed-error
  responses
- ci: rewrite docker.yml to build, smoke-test and push the image to the
  Gitea container registry on merge to main/dev, matching the hiddenden.cafe
  pattern (only REGISTRY_TOKEN required)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-25 16:51:58 +02:00