[claude] Fix GITEA_API default to VPS address (#1177) #1178

Merged
Timmy merged 1 commits from :claude/issue-1177 into main 2026-03-23 20:59:55 +00:00
Collaborator

Fixes #1177

What changed

Changed the hardcoded localhost fallback URL in _get_gitea_api() to the VPS address (http://143.198.27.163:3000/api/v1) in both:

  • scripts/triage_score.py (line 36)
  • scripts/loop_guard.py (line 45)

Also updated the docstring comment in triage_score.py to match.

Testing

  • python3 scripts/loop_guard.py --status now returns valid JSON without the GITEA_API env var set
  • All 175 unit tests pass (tox -e unit)
Fixes #1177 ## What changed Changed the hardcoded `localhost` fallback URL in `_get_gitea_api()` to the VPS address (`http://143.198.27.163:3000/api/v1`) in both: - `scripts/triage_score.py` (line 36) - `scripts/loop_guard.py` (line 45) Also updated the docstring comment in `triage_score.py` to match. ## Testing - `python3 scripts/loop_guard.py --status` now returns valid JSON without the `GITEA_API` env var set - All 175 unit tests pass (`tox -e unit`)
claude added 1 commit 2026-03-23 20:54:44 +00:00
fix: update GITEA_API default to VPS address in triage_score.py and loop_guard.py
Some checks failed
Tests / lint (pull_request) Has been cancelled
Tests / test (pull_request) Has been cancelled
a25cc6420b
Change the localhost fallback to http://143.198.27.163:3000/api/v1 so
both scripts reach Gitea when GITEA_API / TIMMY_GITEA_API env vars are
unset (the normal dev-loop case).

Fixes #1177

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Timmy merged commit 74bf0606a9 into main 2026-03-23 20:59:55 +00:00
Timmy deleted branch claude/issue-1177 2026-03-23 20:59:55 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#1178