GeezerVison is showing github.com — fix(clients): preserve shared project names matching repository names by SpyrosPsarras · Pull Request #11596 · pingdotgg/t3code
Conversation
SpyrosPsarras
commented
Sep 13, 2026
•
edited by juliusmarminge
Loading
Uh oh!
There was an error while loading. Please reload this page.
Renaming a project shared by multiple checkouts to its repository’s short name was saved but displayed as owner/repo. Explicit renames now retain the chosen name after reload, while automatic project names keep their owner-qualified labels.
The server records explicit rename intent, including a rename that matches the stored title. Shared grouping consumes that flag, and web Settings, mobile Settings, the legacy sidebar, and the CLI let same-title renames reach the service. Web and mobile share the save decision and retain the draft after a failed save, so a partial rename remains retryable. The migration keeps existing data’s automatic-name behavior. Save an older repository-name rename again to opt into explicit naming; this change does not backfill rename intent from historical events.
Scope and approval: maintainer takeover of this focused bug fix. Based on @SpyrosPsarras’s original contribution in #11596; original commits are retained. The unconditional shared-title shortcut was replaced to preserve automatic labels.
Validation: 47 focused behavior tests pass across shared grouping/rename decisions (31) and ProjectService (16). The original patch had 30 tests across grouping and the web rename helper; these were rewritten and consolidated into 31 shared tests, including same-name intent and partial-save retry. The retry regressions failed against the previous implementation. Another 77 existing settings tests pass. All eight tests in the three affected migration suites pass, including upgrade defaults and migration idempotency; five stale latest-migration expectations were corrected without increasing the count. The broader focused run passed 182 tests, including project commands and CLI rename coverage. The final whole-PR review reran 84 tests across seven focused suites successfully. Three independent review rounds resolved the partial-save retry, migration expectation, and stale web draft findings. Contracts, client-runtime, server, web, and mobile typechecks passed; targeted lint and formatting passed.
Live Linux web verification used real local fixture repositories registered through Add Project. On the main baseline, renaming example/shared-repo to shared-repo reverted after reload. On the rebuilt head, the checkout records retained explicit rename intent and Settings displayed shared-repo after reload. A third automatic checkout was added to the already-renamed group; editing and saving the same short name marked that remaining checkout explicit too. A two-tab check confirmed that a no-op edit clears its draft, later renames from another client appear in the field, and an untouched blur does not restore the old name. No native macOS, Windows, iOS, Android, or Electron desktop run was available. Remote environments were covered by shared grouping tests, not a second live machine.
Before — saved short name still displays the automatic label:

After — explicit short name survives reload:

Rename and reload recording
Implementation: Codex gpt-6.1-sol in T3 Code. Tests: Codex gpt-6-astra. Independent reviews: Claude claude-opus-5-5 and Codex gpt-6-sol.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
nimobeeren reacted with heart emoji
Bugbot is paused — on-demand spend limit reached
Bugbot uses usage-based billing for this team and has hit its on-demand spend limit.
A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Approvability
Verdict: Approved at bceb74e
Macroscope's review found this PR approvable — This is a focused client-runtime bug fix that preserves agreed stored project titles while leaving grouping, persistence, and API behavior unchanged. Tests cover matching and differing titles across environments, grouping modes, and project order.
You can add or adjust custom eligibility rules. Learn more.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Sep 13, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

Note
Reviews paused
It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.
Use the following commands to manage reviews:
@coderabbitai resume to resume automatic reviews.
@coderabbitai review to trigger a single review.
Use the checkboxes below for quick actions:
- ▶️ Resume reviews
- 🔍 Trigger review
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
-
⚙️ Run configuration
-
- Configuration used: Path: .coderabbit.config.ts
- Review profile: CHILL
- Plan: Advanced
- Run ID:
41c87dac-4f43-4df6-8570-b01011154986
📥 Commits
-
Reviewing files that changed from the base of the PR and between 2d9c1965faabebe7a0dc4aacd65096da33ed3f76 and c851bd8.
📒 Files selected for processing (2)
-
packages/client-runtime/src/state/projectGrouping.test.ts
packages/client-runtime/src/state/projectGrouping.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
📝 Walkthrough
-
deriveProjectGroupLabel now returns a shared project title when grouped projects have matching titles. Tests cover repository labels for matching and differing titles, both repository grouping modes, and input order.
Changes: Project group labels
| Layer / File(s) |
Summary |
Label derivation and title agreement packages/client-runtime/src/state/projectGrouping.ts, packages/client-runtime/src/state/projectGrouping.test.ts |
deriveProjectGroupLabel returns the shared title. Tests cover titles that match the repository name, differing-title fallback behavior, both repository grouping modes, and reversed input order. |
Priority: ➖ Normal
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix
Suggested reviewers: t3dotgg
Merge Risk: ⚪ Minimal · up to c851b
-
Grouped projects now retain a unanimous stored title while differing titles continue to use repository metadata. No identified issue blocks merging.
### Architecture Summary
Architecture risk: 🔵 Low · up to c851b
The change affects 1 system.
Changed systems: packages/client-runtime
Architecture concerns
No architecture-level concerns identified.
Review details
-
Systems and components
- observed — packages/client-runtime (library) was modified; 2 changed files map to changed impact.
Before / after behavior
- observed — Modified behavior in packages/client-runtime/src/state/projectGrouping.test.ts: Added a test confirming that projects on different machines with titles matching the repository name use that name as the repository group label.
- observed — Modified behavior in packages/client-runtime/src/state/projectGrouping.test.ts: The mixed-title case still expects the repository display label; added checks that once titles agree on the repository name, both repository grouping modes use that name regardless of project order.
- observed — Modified behavior in packages/client-runtime/src/state/projectGrouping.ts:
deriveProjectGroupLabel no longer excludes a shared title when it matches a shared repository display name or repository name; a single shared title is returned directly.
Pre-merge checks: 4
-
| Check name |
Status |
Explanation |
| Linked Issues check |
 |
Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check |
 |
Check skipped because no linked issues were found for this pull request. |
| Title check |
 |
The title clearly and concisely describes the primary fix: preserving shared project names that match repository names. |
| Description check |
 |
The description covers the problem, implementation, scope approval, focused verification, test results, limitations, and before/after evidence. It uses narrative labels instead of the template's exact… |
Full details: Description check
-
Explanation
The description covers the problem, implementation, scope approval, focused verification, test results, limitations, and before/after evidence. It uses narrative labels instead of the template's exact Problem, Change, and Verification headings, but the required information is present and sufficiently detailed.
✨ Finishing Touches
-
🧪 Generate unit tests (beta)
-
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Can confirm this is the fix. main still has the guard at deriveProjectGroupLabel, and it rejects a shared title that matches either the repository displayName or name.
The collision also hits non-fork setups: a repo cloned as owner/owner with two grouped checkouts (clone + worktree) saves owner fine but renders owner/owner in the sidebar. Details in #4880.
Your change keeps the stored title and drops the repo-metadata branch, which is what I'd expect. +1 for merge.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Hitting this too on the latest nightly (0.0.46-nightly.20261008). Projects that exist on two environments (my Mac and a remote box) show as owner/repo in the project picker, e.g. nex-systems/nexaml, lminetwork/justice-sites, while projects on one environment show their plain title. The stored titles are already nexaml, justice-sites, etc.
I made the same change independently before finding this PR (return the shared title whenever all members agree) and the client-runtime grouping tests plus the web and mobile tests that use group labels pass with it. Would be great to get this merged.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Taking over this one as maintainer for batch misc-01. I will preserve the original commits, distinguish explicit renames from automatic repository labels, and run focused verification and independent reviews. This work will remain unmerged.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Thanks @SpyrosPsarras for the earlier work on preserving explicit grouped-project names. This PR is stale: its head is over a week old and main has since changed the affected files. #25244 by @maria-rcks addresses the same rename defect, including persisted rename intent and upgrade coverage, so we are keeping that newer PR.
|
SpyrosPsarras reacted with thumbs up emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Labels
size:L
100-499 changed lines (additions + deletions).
vouch:unvouched
Author is not yet trusted in the VOUCHED list.
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.
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.
|