Version or commit
0.0.43-nightly.20260923.2173 (desktop, Linux)
Steps to reproduce
- Create a repo whose
origin is a plain local path: git remote add origin /tmp/r/remote.git.
- Add it as a project in T3 Code.
- Link any GitHub PR to a thread in that project.
- Restart the backend.
Logs or stack traces
ERROR (#4): TypeError: Cannot read properties of undefined (reading 'toLowerCase')
at .../apps/server/dist/bin.mjs:63528:43
at Array.filter (<anonymous>)
at legacyLinkedPullRequestOf (.../bin.mjs:63515:57)
at mapThreadPullRequests (.../bin.mjs:82090:28)
at .../bin.mjs:83762:8
Cause
A local-path remote gives the repository identity no provider, so pullRequestHostOf returns undefined as the host.
legacyLinkedPullRequestOf then calls host.toLowerCase() and throws while the backend loads threads at startup, so it exits and restarts about every 30 s.
Workaround
Rewrite the remote as a URL (git remote set-url origin file:///path/to/remote.git), or remove the thread's row from projection_thread_pull_requests.
Version or commit
0.0.43-nightly.20260923.2173 (desktop, Linux)
Steps to reproduce
originis a plain local path:git remote add origin /tmp/r/remote.git.Logs or stack traces
Cause
A local-path remote gives the repository identity no
provider, sopullRequestHostOfreturnsundefinedas the host.legacyLinkedPullRequestOfthen callshost.toLowerCase()and throws while the backend loads threads at startup, so it exits and restarts about every 30 s.Workaround
Rewrite the remote as a URL (
git remote set-url origin file:///path/to/remote.git), or remove the thread's row fromprojection_thread_pull_requests.