GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(server): thread titles recognize issue links with uppercase HTTPS schemes by saphid · Pull Request #44493 · pingdotgg/t3code

Conversation

@saphid

@saphid saphid commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Problem

Automatic thread titles silently lose linked issue context when a message uses HTTPS:// or mixed-case hTtPs://. The message scanner drops these URLs before the URL parser and source-control provider can recognize them.

Deterministic repro on origin/main (9f83ba58ced00e04bd951d5774cd16e2066d558d): from that checkout, run the following synthetic registry fixture. It calls the real resolver without network, credentials, database state, or a model.

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 {"title":"Fix pairing","body":"Issue details"}; uppercase and mixed-case HTTPS return null (the transcript representation of undefined) with zero lookups. Expected: all three inputs return identical context and make one canonical lookup each.

Change

Make 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.

Scope

Small fix for an obvious bug; no issue needed under CONTRIBUTING.md.

Verification

  • Extended the existing provider-selected-link test in ThreadTitleLinks.test.ts with uppercase and mixed-case schemes, retaining canonical deduplication and lookup/summary bounds assertions. Against the pinned base source, vp test run apps/server/src/textGeneration/ThreadTitleLinks.test.ts -t "uses provider-selected links" fails because those URLs are skipped and the lowercase third link is selected instead.
  • After the fix, vp test run apps/server/src/textGeneration/ThreadTitleLinks.test.ts passed 3/3 consecutive runs, with both tests passing each time. The registry is mocked: this checks scanner behavior and canonical linked context, not GitHub or GitLab provider implementations.
  • vp run check:changed exited 0: format, lint, both Knip passes, GraphQL, typecheck, and affected tests passed.
  • Before/after runtime transcript, complete fixture, and exact failing assertion.

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
@saphid
fix(server): thread titles recognize issue links with uppercase HTTPS…
e82c858
… schemes
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Nov 27, 2026
@coderabbitai

coderabbitai Bot commented Nov 27, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Explain Change →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

Run configuration

  • Source mode: Auto
  • Repository: pingdotgg/t3code
  • Branch: main
  • File: .coderabbit.config.ts
  • Commit: 8a897c4
  • Layers: Repository TS config
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1a486fde-8386-470a-b4e5-b58179df9bd7
Commits

Reviewing files that changed from the base of the PR and between e82c858 and 77ba0ab.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review

No actionable comments were generated in the recent review.

Walkthrough

The URL matcher now accepts HTTPS links with uppercase or mixed-case schemes. The test input varies scheme and host capitalization while keeping expected results unchanged.

Changes: Thread title link resolution

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

Merge Risk: Minimal · previous review e82c8

Thread 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.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed 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…
Description check Passed 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. T…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

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.

Full details: Description check

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.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: pingdotgg/t3code
  • Branch: main
  • File: .coderabbit.config.ts
  • Commit: 61808c6
  • Layers: Repository TS config
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5e23a767-a57f-4bbc-adc7-1fde8ed8d9dd
Commits

Reviewing files that changed from the base of the PR and between 61808c6 and e82c858.

Files selected for processing: 2

  • apps/server/src/textGeneration/ThreadTitleLinks.test.ts
  • apps/server/src/textGeneration/ThreadTitleLinks.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 4 remain after this review.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge added the takeover:in-progress A takeover lead is working on this PR label Nov 27, 2026
@juliusmarminge
Merge remote-tracking branch 'origin/main' into hunter/c-95a11d6c6a
77ba0ab
@juliusmarminge

juliusmarminge commented Nov 27, 2026

Copy link
Copy Markdown
Member

Evidence

Sent Investigate this issue HTTPS://github.com/pingdotgg/t3code/issues/44470 in a new Replay thread on each commit, with fresh databases and the real gpt-5.6-luna text generator. Chromium, 1280×800, light theme. Captures and recordings use identical crops excluding local tool paths.

Before After
8a897c428f 77ba0ab2c8
Investigate Issue 44470 Pi 1.7.0 Integration Failure
Before: generic issue-number title After: Pi integration context informs title
Before recording After recording

Scenario source. The comparison runner exited 0: failed on base, passed on head.

Not shown:

  • Lowercase and mixed-case scheme variants were not separately exercised in this scenario; the captured comparison covers uppercase HTTPS.
  • Canonical context contents, deduplication and the two-link lookup limit were not directly captured; this scenario observes the resulting automatic title for one issue link.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge added takeover:ready Takeover done; auto-lands when gates pass and removed takeover:in-progress A takeover lead is working on this PR labels Nov 27, 2026
@juliusmarminge
juliusmarminge merged commit b8233e5 into pingdotgg:main Nov 27, 2026
60 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge removed the takeover:ready Takeover done; auto-lands when gates pass label Nov 27, 2026
@omegent-app omegent-app Bot mentioned this pull request Nov 28, 2026
Merge upstream main through 0f78747290a1 patroza/t3code#688
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:XS 0-9 changed lines (additions + deletions). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@saphid @juliusmarminge
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.