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(client-runtime): recognise offline scratch projects by DanielJBurbridge · Pull Request #26825 · pingdotgg/t3code

Conversation

@DanielJBurbridge

@DanielJBurbridge DanielJBurbridge commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Problem

A disconnected environment’s scratch workspace appears as a numbered “No project” entry in the “New thread in…” selector, alongside the normal “No project” action.

Reproduction: connect a remote environment with a scratch project, let its projects load, then disconnect it and open the project selector. The selector passes no available scratch root while disconnected, so isScratchProject returns false even though the loaded project has isScratch: true.

Change

Recognise the existing scratch marker before falling back to the configured path. Connection availability still controls where new scratch chats can start. No saved projects, chats or folders are changed.

The shared helper also serves web/desktop draft selection and mobile project selection. No wire contracts or provider code change.

Scope and approval

This is a small fix for an obvious classification bug: disconnection should not turn a known scratch workspace into an ordinary project. It uses existing identity data and adds no settings or workflow.

Verification

  • The two unavailable-root assertions fail on the unchanged source and pass with the fix.
  • Focused project identity, entity and grouping tests: 26 passed. Ordinary projects titled “No project” remain ordinary; raw records still match by normalised configured path.
  • Changed-file formatting and lint passed. vp run check:changed was attempted twice, including with reduced CPU threads, but stopped after sustained memory pressure. Its dependent-package type checks and unused-code checks remain incomplete; CI must establish those results.
  • No live client pass or before/after UI captures. Verification covers the shared classification logic; it does not establish cold-start behaviour before any scratch identity has loaded.

Model: GPT-6.1 Sol through the Codex harness in T3 Code.

Sorry, something went wrong.

Uh oh!

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

All reactions
@DanielJBurbridge
fix(client-runtime): recognise offline scratch projects
9fed7ac
@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 Oct 29, 2026
@macroscopeapp

macroscopeapp Bot commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Needs Human Approval

Macroscope's review found this PR requires human approval — Scratch projects remain recognizable through their existing marker when the environment’s scratch root is unavailable. This also changes their effective mobile new-task workspace default to local, requiring confirmation of that default behavior.

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 Oct 29, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Review in Change Stack →

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: 36dac68
  • Layers: Repository TS config
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: bf09499e-fa67-48b8-8a0d-6ffe1e167f8b
Commits

Reviewing files that changed from the base of the PR and between 9fed7ac and c68ecdb.

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.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: pingdotgg/t3code
  • Branch: main
  • File: .coderabbit.config.ts
  • Commit: dac8b11
  • Layers: Repository TS config
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ca1e330b-189b-4469-9d9c-8ffee3525230
Commits

Reviewing files that changed from the base of the PR and between dac8b11 and 9fed7ac.

Files selected for processing: 2
  • packages/client-runtime/src/state/projects.test.ts
  • packages/client-runtime/src/state/projects.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

isScratchProject now recognizes projects marked with isScratch: true, including when the scratch workspace root is unavailable. Tests cover exact configured-path matching and reject nested paths.

Changes: Scratch project recognition

Layer / File(s) Summary
Scratch recognition predicate and validation
packages/client-runtime/src/state/projects.ts, packages/client-runtime/src/state/projects.test.ts
isScratchProject accepts an optional isScratch: true flag and returns true when the flag is set or the non-null scratch root exactly matches the project path. Tests cover unavailable roots, exact matches, and nested paths.

Priority: Normal

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Bug fix

Possibly related issues

  • Issue 26445 concerns special handling for scratch settings. This change updates scratch recognition but does not implement the settings behavior.
  • Issue 23757 concerns scratch identity in the project picker, grouping, and thread views. This change updates the shared recognition predicate, but does not add custom-name or icon rendering.

Suggested reviewers: macroscopeapp, maria-rcks, t3dotgg

Merge Risk: Minimal · previous review 9fed7

Offline scratch recognition improves without an identified merge-blocking issue.

Pre-merge checks: Passed 4
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: recognizing offline scratch projects in client-runtime.
Description check Passed The description covers the problem, reproduction, change, scope rationale, verification results, limitations, and incomplete checks. It is sufficiently complete for this focused bug fix.
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.
Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@maria-rcks
Merge remote-tracking branch 'github/main' into maria/takeover-pr-26825
c68ecdb
@maria-rcks

maria-rcks commented Oct 31, 2026

Copy link
Copy Markdown
Collaborator

Note

Written by gpt-6.1-sol on behalf of Maria

the verification rule applies to #26825 at c68ecdb3ce. the PR targets duplicate No project entries in a disconnected-environment selector, but explicitly supplies no live-client check or before/after UI captures; its shared classification tests do not show the affected selector.

capture the same project selector before and after disconnecting an environment with an already-loaded scratch project, on main and this head, and attach the before/after evidence with the focused test results before reconsideration.

All reactions

Sorry, something went wrong.

Uh oh!

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

@maria-rcks maria-rcks closed this Oct 31, 2026
@tiliakoos tiliakoos mentioned this pull request Nov 4, 2026
fix(client-runtime): a disconnected machine's scratch folder no longer lists as a second "No project" #30597
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: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.

2 participants

@DanielJBurbridge @maria-rcks
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.