GeezerVison is showing github.com — Scope git action mutation state by repository cwd by juliusmarminge · Pull Request #102 · pingdotgg/t3code
Conversation
juliusmarminge
commented
Feb 27, 2026
•
edited by macroscopeapp
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary
- Scope React Query git mutation keys by
cwd and switch GitActionsControl pending-state checks to useIsMutating with cwd-scoped keys, preventing cross-repo action loading bleed.
- Add web tests covering cwd-scoped mutation keys and mutation option wiring in
gitReactQuery.
- Simplify diff patch caching usage by removing theme-based cache scope from
DiffPanel and dropping the related cache-scope test.
- Revert dev/desktop state-dir override behavior: desktop now always uses
~/.t3/userdata, and dev-runner removes forwarded CLI flag/env-override plumbing and related tests.
- Simplify orchestration harness dispose flow and remove the integration test that asserted temp-dir cleanup on shutdown failure.
- Minor sidebar active-row style adjustments and README cleanup to match updated dev-runner behavior.
Testing
apps/web/src/lib/gitReactQuery.test.ts: verifies mutation keys differ by cwd and that runStackedAction/pull mutation options attach cwd-scoped keys.
apps/web/src/lib/diffRendering.test.ts: updated by removing the cache-scope-specific assertion.
scripts/dev-runner.test.ts: removed (no replacement in this change set).
- Project lint scripts: Not run.
Note Medium Risk
Changes how git mutation in-flight state is tracked and used to disable UI actions; if keys are incorrect it could leave actions enabled/disabled incorrectly, though coverage was added.
Overview
Prevents cross-repo “git action running” state bleed by introducing cwd-scoped gitMutationKeys, wiring them into git mutation option builders (init, checkout, createBranchAndCheckout, runStackedAction, pull), and updating GitActionsControl to derive busy state via useIsMutating with those keys.
Adds Vitest coverage to ensure mutation keys differ by cwd and that runStackedAction/pull options attach the expected cwd-scoped mutationKey.
Written by Cursor Bugbot for commit 3a479e8. This will update automatically on new commits. Configure here.
Note
Scope mutation state by repository cwd and update GitActionsControl to read @tanstack/react-query mutation keys from GitActionsControl.tsx
Introduce cwd-scoped gitMutationKeys and set mutationKey on git mutation options; GitActionsControl uses useIsMutating with these keys to compute running state.
📍Where to Start
Start with gitMutationKeys and mutation option changes in gitReactQuery.ts, then review GitActionsControl usage in GitActionsControl.tsx.
Macroscope summarized 3a479e8.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Feb 27, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Warning
Rate limit exceeded
@juliusmarminge has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 1 minutes and 55 seconds before requesting another review.
⌛ How to resolve this issue?
After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.
We recommend that you space out your commits to avoid hitting the rate limit.
🚦 How do rate limits work?
CodeRabbit enforces hourly rate limits for each developer per organization.
Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.
Please see our FAQ for further information.
📥 Commits
Reviewing files that changed from the base of the PR and between 10c1cae and 3a479e8.
📒 Files selected for processing (3)
apps/web/src/components/GitActionsControl.tsx
apps/web/src/lib/gitReactQuery.test.ts
apps/web/src/lib/gitReactQuery.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
- Create PR with unit tests
- Post copyable unit tests in a comment
- Commit unit tests in branch
codething/c09808bd
Comment @coderabbitai help to get the list of available commands and usage tips.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
- add `gitMutationKeys` and attach mutation keys across git mutation options
- switch GitActionsControl loading state to `useIsMutating` with cwd-scoped keys
- add tests for cwd-scoped mutation keys and mutation option wiring
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Sep 27, 2026
This was referenced Oct 5, 2026
TomCohenDev
pushed a commit
to TomCohenDev/t3code
that referenced
this pull request
Oct 18, 2026
…heme-sync
feat(machine-map): sync custom themes and the environment theme through settings
gmackie
pushed a commit
to gmackie/t3code
that referenced
this pull request
Nov 2, 2026
… in the iOS fallback header' (pingdotgg#102) from T3CODE-85-fallback-header-items into custom-local
yasinuslu
added a commit
to yasinuslu/t3code
that referenced
this pull request
Nov 3, 2026
…s own code profile' (pingdotgg#102) from fix/profile-instance-guard into dev
dioskuroi
pushed a commit
to dioskuroi/t3code
that referenced
this pull request
Nov 17, 2026
…tion pingdotgg#102)
真实根因(隔离复现 + DOM dump + 基线对照实验证实,推翻 pingdotgg#102 的 fakeEnvironment 404 归因):
- app-open-settings / app-switch-settings-section:断言英文字符串(Time format /
Interface),运行时 UI 经 tr() 汉化(时间格式/界面),expect.element poll 永不匹配
→ 60s 超时。断言改走 tr(),随字典自动同步(ADR-0005「测试断言中文化」口径)。
- warm up / app-toggle-diff-panel:Ctrl+D 不匹配 macOS 的 mod+d(isMacPlatform →
Cmd),面板永不打开;chord 按 isMacPlatform(navigator.platform) 平台感知。
- 404 归因证伪:shellSnapshotHttp / boundedThreadSnapshotHttp 均 catchCause 回退
socket(fake 注释声明的设计意图),连接正常建立;修复方向 a)/b) 前提不成立。
- 「合并前全绿」证据不成立:基线 25bf84a 实测 app-toggle-diff-panel 同样
60s 超时,两根因与上游合并无关。
验证:4 场景转绿(1-4s,原 60s 超时);renders 项目 14/14 全绿(含 pingdotgg#100 验收
app-stream-assistant-turn);vp lint 0 警告 0 错误。
bigx333
added a commit
to bigx333/t3code
that referenced
this pull request
Nov 24, 2026
…ckaging
Port built-in pstack from scriptedalchemy/main (PRs pingdotgg#8, pingdotgg#12, pingdotgg#20, pingdotgg#25, pingdotgg#26,
pingdotgg#27, pingdotgg#38, pingdotgg#46, pingdotgg#51, pingdotgg#102, pingdotgg#117, pingdotgg#153) onto current main.
- packages/pstack (snapshot 0.15.43-t3code.1), shared/pstack, server pstack
module and client-runtime providerSkills taken verbatim from the fork.
- Server: PstackPack layer, composer expansion on turn start and steer,
pstack catalog in server config and live pstackUpdated snapshots,
orchestrationTargets helpers shared with the MCP service, driverKind
targets prefer instances advertising the requested model and options,
orchestrator_capabilities allModels for setup-pstack, and native
pstack@<marketplace> plugins switched off in Claude and Codex sessions.
- pstackEnabled is on by default; toggle lives in Settings > Labs on web
and mobile, with i18n for all locales.
- Packaging: CLI build, CLI archive, desktop artifact, WSL tree and desktop
backend carry the pack and point the server at it.
Adapted to main: no provider cooldowns or inference routes upstream, so
role resolution uses providerConstraints and the retired-route migration
and its tests are dropped; turn start expands only messages that
reference pstack; fork-only linked-delegation driverKind refusal is not
ported because main resolves driverKind remotely.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
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.
|