Skip to content

parity: fix(client-runtime): branch picker shows branches changed outside T3 Code (pingdotgg/t3code#27438) #144

Closed

Description

@rynfar

Upstream pingdotgg/t3code#27438 (1d80d0e215) changed code the native client depends on.

Watched files:

  • packages/client-runtime/src/state/vcs.test.ts
  • packages/client-runtime/src/state/vcs.ts

Activity

  1. added
    parity
    parity:regression-risk
    on Nov 3, 2026
  2. added this to the M2 Parity core milestone on Nov 3, 2026
  3. rynfar commented on Nov 3, 2026

    @rynfar
    OwnerAuthor

    Triaged in intake #134: native never sends refresh: true to vcs.listRefs (crates/core/src/vcs.rs:306). Port the cache-revision bypass from state/vcs.ts and, from pingdotgg/t3code#29161 (folded in from #147), invalidating cached refs after a PR checkout (state/git.ts).

  4. added
    status:in-progress
    on Nov 3, 2026
  5. rynfar commented on Nov 3, 2026

    @rynfar
    OwnerAuthor

    PR #179 updated at 6037f5710ce4882c474c2513032c5d9e50d229ac, rebased onto native 6e9ce35455.

    Hover now pins the same ref identity used by Enter and protects it from arriving search results. Pointer leave clears pointer selection; keyboard input ends pointer modality. MenuRow paints that shared identity using its existing appearance. A core regression failed before the fix (/private/tmp/native-144-r3-red.log).

    Rebased validation passed: Clippy; workspace tests (88 client, 1,107 core, 7 conformance, 48 app); theme generation; all 42 parity-sync tests; TypeScript conformance generation; snapshot build. Logs: /private/tmp/native-144-r3-rebased-clippy.log, /private/tmp/native-144-r3-rebased-tests.log. Before/after and pointer-leave/keyboard captures: /private/tmp/native-144-evidence/r3-*.png. Enter and real branch-changing actions were not exercised.

    GT-BRANCH stays partial and points to #180 for previous-worktree entries/cleanup, draft/worktree-base controls, persisted/offline refs/recovery, native PR checkout UI, and native repository publishing UI. The RPC settlement invalidation hooks are implemented; publishing remains disabled. #144 is status:review.

  6. added
    status:review
    and removed
    status:in-progress
    on Nov 3, 2026
  7. rynfar commented on Nov 3, 2026

    @rynfar
    OwnerAuthor

    Merged in #179 (squash a6a55ba, exact head 6037f57, gate GREEN 1,250 onto 6e9ce35). Native now sends vcs.listRefs with refresh: true after cache invalidation (unary, stacked-action and publish settlements), keeps the listing through refresh, protects selection by identity, and drives hover and Enter from one highlight. GT-BRANCH stays partial; remaining gaps are tracked in #180.

  8. removed
    status:review
    on Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    parityparity:regression-risk

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions