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(clients): preserve shared project names matching repository names by SpyrosPsarras · Pull Request #11596 · pingdotgg/t3code

Conversation

@SpyrosPsarras

@SpyrosPsarras SpyrosPsarras commented Sep 13, 2026 •
edited by juliusmarminge
Loading

Uh oh!

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

Copy link
Copy Markdown

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:

Before: project name reverts to example/shared-repo after reload

After — explicit short name survives reload:

After: project name remains shared-repo after 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
All reactions
  • ❤️ 1 reaction
@cursor

cursor Bot commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

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.

All reactions

Sorry, something went wrong.

Uh oh!

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

@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Sep 13, 2026
macroscopeapp[bot]
macroscopeapp Bot approved these changes Sep 13, 2026
View reviewed changes
@macroscopeapp

macroscopeapp Bot commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

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.

All reactions

Sorry, something went wrong.

Uh oh!

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

@coderabbitai

coderabbitai Bot commented Sep 13, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Review in Change Stack →

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.

  • Last reviewed commit: c851bd8
  • Latest commit, not reviewed: fa53827

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: Passed 4
Check name Status Explanation
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.
Title check Passed The title clearly and concisely describes the primary fix: preserving shared project names that match repository names.
Description check Passed 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)
  • Create a new PR

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

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

@SpyrosPsarras
SpyrosPsarras force-pushed the fix/grouped-project-short-name branch from bceb74e to 954d759 Compare September 21, 2026 14:38
@shunkakinoki

shunkakinoki commented Sep 22, 2026

Copy link
Copy Markdown

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.

All reactions

Sorry, something went wrong.

Uh oh!

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

@SpyrosPsarras
SpyrosPsarras force-pushed the fix/grouped-project-short-name branch 2 times, most recently from 157663d to 2d9c196 Compare September 28, 2026 14:30
@tamimbinhakim

tamimbinhakim commented Oct 9, 2026

Copy link
Copy Markdown

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.

All reactions

Sorry, something went wrong.

Uh oh!

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

@SpyrosPsarras
fix(clients): preserve shared project names matching repository names
c851bd8
@SpyrosPsarras
SpyrosPsarras force-pushed the fix/grouped-project-short-name branch from 2d9c196 to c851bd8 Compare October 9, 2026 15:45
coderabbitai[bot]
coderabbitai Bot approved these changes Oct 9, 2026
View reviewed changes
@juliusmarminge

juliusmarminge commented Oct 19, 2026

Copy link
Copy Markdown
Member

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.

All reactions

Sorry, something went wrong.

Uh oh!

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

@juliusmarminge
Merge remote-tracking branch 'origin/main' into fix/grouped-project-s…
3748cc6
…hort-name
@juliusmarminge juliusmarminge self-assigned this Oct 19, 2026
juliusmarminge added 3 commits October 19, 2026 15:19
@juliusmarminge
fix(clients): persist explicit repository-name project renames
6199e70
@juliusmarminge
fix(clients): keep partial project renames retryable
3b321d3
@juliusmarminge
fix(web): discard completed project rename drafts
fa53827
@github-actions github-actions Bot added size:L 100-499 changed lines (additions + deletions). and removed size:XS 0-9 changed lines (additions + deletions). labels Oct 19, 2026
@only21mil only21mil mentioned this pull request Oct 23, 2026
fix(server): t3 project commands wait for a busy server's reply #24090
Merged
@AugusDogus AugusDogus mentioned this pull request Nov 9, 2026
Azure DevOps projects show the raw URL path (org/project%20name/_git/repo) as their sidebar label #33607
Open
@juliusmarminge GitCafe Production

juliusmarminge commented Nov 10, 2026

Copy link
Copy Markdown
Member

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
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

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

@juliusmarminge juliusmarminge closed this Nov 10, 2026
@SpyrosPsarras
SpyrosPsarras deleted the fix/grouped-project-short-name branch November 10, 2026 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@coderabbitai coderabbitai[bot] coderabbitai[bot] approved these changes
@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] approved these changes

Uh oh!

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

Assignees

@juliusmarminge juliusmarminge

Labels

size:L 100-499 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in 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.

4 participants

@SpyrosPsarras @shunkakinoki @tamimbinhakim @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.