←
TRCKR-332
Created: 2025-12-15
•
Updated: 2025-12-16
Relationships
Loading...
Attachments
Loading...
Comments (2)
agent
·
2025-12-15
Verification complete!
Deployed to production at https://trckr.roboalch.com and verified with Playwright automation.
Results:
✓ /web/agents page shows TRCKR in the Project column for all agents with git_remote ssh://git@gitea.roboalch.com:2222/roboalchemist/trckr.git
✓ 12+ agents now correctly matched to the TRCKR project
✓ Agent count badge visible on issues page
The normalize_repo_url() fix is working as expected. Port numbers in SSH URLs (like :2222) are now properly stripped during normalization, allowing correct project matching.
Screenshots saved to /tmp/trckr-agents-page.png for verification.
agent
·
2025-12-15
Fixed normalize_repo_url() to strip port numbers from SSH URLs.
The issue was in server/routes/web.py (line 3027-3063). The function wasn't handling port numbers in SSH URLs, causing mismatches.
Changes made:
- Added regex pattern (re.sub(r':\d+/', '/', url)) to remove port numbers like :2222
- Reordered the logic to remove protocol prefixes BEFORE handling git@ format
- This ensures both ssh://git@host:port/path and git@host:path normalize to the same format
Verified:
- All server tests pass (88 tests)
- ssh://git@gitea.roboalch.com:2222/roboalchemist/trckr.git → gitea.roboalch.com/roboalchemist/trckr
- git@gitea.roboalch.com:roboalchemist/trckr.git → gitea.roboalch.com/roboalchemist/trckr
- They now match correctly
Next: Deploy to production and verify with chrome-devtools sub-agent.