GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||
GeezerVison is showing github.com — fix(server): thread titles recognize issue links with uppercase HTTPS schemes by saphid · Pull Request #44493 · pingdotgg/t3code Conversation
Contributor
ProblemAutomatic thread titles silently lose linked issue context when a message uses Deterministic repro on cd apps/server node --input-type=module <<'JS' import * as Effect from 'effect/Effect'; import * as Layer from 'effect/Layer'; import { resolveThreadTitleLinks } from './src/textGeneration/ThreadTitleLinks.ts'; import { SourceControlProviderRegistry } from './src/sourceControl/SourceControlProviderRegistry.ts'; for (const scheme of ['https', 'HTTPS', 'hTtPs']) { const calls = []; const message = `${scheme}://github.com/pingdotgg/t3code/issues/123`; const result = await Effect.runPromise(resolveThreadTitleLinks({ cwd: '/tmp/project', message }).pipe( Effect.provide(Layer.mock(SourceControlProviderRegistry)({ resolveLink: ({ url }) => { calls.push(url.href); return url.host === 'github.com' ? Effect.succeed({ title: 'Fix pairing', body: 'Issue details' }) : undefined; }, })), )); console.log(JSON.stringify({ message, calls, result: result ?? null })); } JS Observed: lowercase HTTPS returns the canonical URL plus ChangeMake the existing HTTPS scanner case-insensitive. Keep URL parsing, canonical deduplication, provider selection, and lookup bounds intact. This shared server path supplies automatic title context for web, desktop, and mobile; No client, contract, translation, or provider-adapter changes are needed. ScopeSmall fix for an obvious bug; no issue needed under CONTRIBUTING.md. Verification
Not shown: live GitHub/GitLab API calls; final model-generated titles; web, desktop, or mobile UI; remote/relay/tunnel sessions; full CI suites and builds. Authored by GPT-6.1 Sol (Codex); reviewed by Gemini 4 Neon (Antigravity).
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes.
|
| Layer / File(s) | Summary |
|---|---|
Case-insensitive HTTPS matching apps/server/src/textGeneration/ThreadTitleLinks.ts, apps/server/src/textGeneration/ThreadTitleLinks.test.ts |
The regular expression matches HTTPS schemes without regard to case. The test input varies URL scheme and host capitalization. Expected results remain unchanged. |
Estimated code review effort: 1 (Trivial) | ~5 minutes
Change: Bug fix
Suggested reviewers: only21mil
e82c8Thread titles will now pick up issue links written with uppercase or mixed-case HTTPS schemes. The change is small and easy to revert, and no merge-blocking risk was found.
Explanation
The title names the main change: the thread title link scanner now recognizes issue links whose HTTPS scheme is uppercase or mixed-case. The raw summary confirms the scanner in ThreadTitleLinks.ts now matches HTTPS links case-insensitively, and the test was extended to cover those cases. The title follows the conventional commit format and is specific.
Explanation
The description follows the template. It has Problem, Change, Scope, and Verification sections with substantive content. The Problem section states the bug and includes a deterministic reproduction. The Change section explains the case-insensitive scanner fix and what stays unchanged. The Scope section explains why no issue is linked, as the template asks for small obvious fixes. Verification lists focused test runs, the check:changed result, and what was not checked. The description is complete and specific. The template's model-attribution line is present at the end, as the template requests.
5e23a767-a57f-4bbc-adc7-1fde8ed8d9ddapps/server/src/textGeneration/ThreadTitleLinks.test.tsapps/server/src/textGeneration/ThreadTitleLinks.tsIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 4 remain after this review.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
EvidenceSent
Scenario source. The comparison runner exited 0: failed on base, passed on head. Not shown:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.