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 — feat(composer): attach repositories from an ordered list of owners by adampeterhiggins · Pull Request #249 · adampeterhiggins/t3code

Conversation

@adampeterhiggins

@adampeterhiggins adampeterhiggins commented Oct 9, 2026

Copy link
Copy Markdown
Owner

The repository picker and the # menu could only list one GitHub owner (the Repository owner setting), and every open of the list ran gh repo list again once the client's 5-minute in-memory cache went stale. The server had no cache at all.

What changed

  • Ordered owners. contextRepositoryOwners replaces the single owner in Settings > General > Repository owners. You can add as many as you like (comma- or space-separated paste works), reorder them with up/down, and remove them. Owners higher in the list come first in results, after recently attached repositories.
  • Disambiguated labels. A repository name that more than one listed owner has is shown as name (owner), like fd-manager (focaldata), the same way ~/.raycast/generate_repos.sh does it. A name only one owner has is shown bare. This applies to the # menu, the web Attach repository picker, and mobile's picker.
  • Server-side caching, modelled on ctxclone. ctxclone caches each org's gh repo list on disk for 24h. The server now keeps each owner's list in memory. It serves the cached list straight away and refetches it in the background once it's more than 5 minutes old; if that refetch fails, it keeps the old list. One misspelled owner doesn't hide the others; the request only fails when every owner fails.
  • Compatibility. contextRepositories.list keeps owner and adds an optional owners, so an older server still lists the first owner. The legacy contextRepositoryOwner setting is folded into the list when an old settings file loads. The server keeps it mirrored to the first owner for older clients, and an older client's edit to it becomes the new first owner.

Surfaces

  • Web/desktop: settings row, # menu Repositories tab, Attach repository picker.
  • Mobile: repository picker sheet reads the list (falls back to the legacy owner on older servers). Owners stay editable on web/desktop only, as before.
  • Docs: docs/user/composer.md and docs/fork-differences.md are updated.

Verification

  • vp test run for ContextRepositories.test.ts (owner order, cache hit, partial failure), serverSettings.test.ts (legacy fold both ways, clearing), and client-runtime/contextRepositories.test.ts (labels, owner query split): 81 passed.
  • tsc --noEmit in contracts, client-runtime, server, web and mobile.
  • Not yet checked in a running client. Before/after screenshots of the settings row and the # menu are still to come.

Done by Claude Opus 5.5 in Claude Code.

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

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

All reactions
@adampeterhiggins @claude
feat(composer): attach repositories from an ordered list of owners
47b8ead
The repository picker and the # menu now list several GitHub owners in a
user-ordered priority, label names shared across owners as `name (owner)`,
and keep each owner's `gh repo list` result in server memory, refreshing it
in the background once it is five minutes old.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@adampeterhiggins
adampeterhiggins merged commit 5fc2677 into main Oct 9, 2026
@adampeterhiggins adampeterhiggins mentioned this pull request Oct 27, 2026
merge upstream/main into fork #502
Merged
@adampeterhiggins adampeterhiggins mentioned this pull request Nov 7, 2026
chore: sync upstream through 202d5b5616 #560
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

None yet

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.

1 participant

@adampeterhiggins
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 01402792 — 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.