Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions config/reliability-gates.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -4937,7 +4937,7 @@
"oracle": "Classify exact git-common paths as structural, status-only, or ignored; count notifications from debounced watcher events; force the Linux/Windows poll path to emit allowlisted leaf events, detect linked HEAD rewrites independent of entry-directory mtime, and surface in-place index rewrites via the backstop re-stat; diff head identities from metadata-file reads and notify only real head moves; assert Source Control subscribes to both structural and status-only signals with active-repo and visibility filters. Join the real runtime RPC server to two independently authenticated E2EE clients plus an event-ignoring client, advance the host Git inventory, trigger duplicate structural watcher callbacks, and require one host renderer notification plus one runtime event and a refreshed catalog per subscribed client; require the event-ignoring client to refresh safely on explicit read. Hold a scan after it captures old inventory, join it from a second paired client, publish the watcher invalidation, advance Git independently, and require both overlapping RPCs to retry or join one fresh scan before returning. Disconnect one client, advance inventory again, and require reconnect to read current state without stale event replay. Give a watcher a local repo ID colliding with an SSH owner and require the host renderer refresh while the unqualified runtime event stays absent. Force the real path in isolated Electron apps with git worktree add, a host Git inventory assertion, store-subscription barriers, matching host/client worktree identity, and visible rows in both renderers. For direct SSH, roll one exhausted target into a fresh process generation scope while invalidating sibling target tokens, and fill a partial pushed authority before clearing that target's PTY bindings once.",
"commands": [
"pnpm exec vitest run --config config/vitest.config.ts src/main/ipc/worktree-base-directory-event-filter.test.ts src/main/ipc/worktree-base-directory-watcher.test.ts src/main/ipc/worktree-base-directory-poller.test.ts src/main/ipc/worktree-head-identity-reader.test.ts src/renderer/src/hooks/worktree-head-identity-apply.test.ts src/renderer/src/components/right-sidebar/git-status-push-signal-refresh.test.ts src/renderer/src/hooks/useIpcEvents-browser-tab-create.test.ts",
"pnpm exec vitest run --config config/vitest.config.ts src/main/ipc/watched-worktree-catalog-notification.test.ts src/main/runtime/external-worktree-paired-client-discovery.integration.test.ts src/main/window/attach-main-window-services.test.ts",
"pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/external-worktree-paired-client-discovery.integration.test.ts src/main/window/attach-main-window-services.test.ts",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Major · Functional Correctness · Quick win

Update the historical evidence run’s currentCommand.

This line removes watched-worktree-catalog-notification.test.ts from the active command, but the retained historical run has no currentCommand and still records the old command. The gate checker compares that command with the active command list and will fail validation. The PR workflow runs this checker in its static-analysis lane. (raw.githubusercontent.com)

Add currentCommand to the historical evidence record. Keep command unchanged to preserve the command that actually ran.

Proposed change
 "command": "pnpm exec vitest run --config config/vitest.config.ts src/main/ipc/watched-worktree-catalog-notification.test.ts src/main/runtime/external-worktree-paired-client-discovery.integration.test.ts src/main/window/attach-main-window-services.test.ts",
+"currentCommand": "pnpm exec vitest run --config config/vitest.config.ts src/main/runtime/external-worktree-paired-client-discovery.integration.test.ts src/main/window/attach-main-window-services.test.ts",

"ORCA_E2E_FORCE_HEADFUL=1 SKIP_BUILD=1 pnpm exec playwright test tests/e2e/paired-external-worktree-discovery.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1",
"pnpm exec vitest run --config config/vitest.config.ts src/main/ssh/connection/ssh-connection-generation.test.ts src/main/ssh/ssh-provider-authority.test.ts --reporter=dot",
"pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/hooks/useIpcEvents-agent-status-ssh-authority.test.ts --reporter=dot"
Expand All @@ -4950,7 +4950,6 @@
"src/renderer/src/hooks/worktree-head-identity-apply.test.ts",
"src/renderer/src/components/right-sidebar/git-status-push-signal-refresh.test.ts",
"src/renderer/src/hooks/useIpcEvents-browser-tab-create.test.ts",
"src/main/ipc/watched-worktree-catalog-notification.test.ts",
"src/main/runtime/external-worktree-paired-client-discovery.integration.test.ts",
"src/main/window/attach-main-window-services.test.ts",
"tests/e2e/paired-external-worktree-discovery.spec.ts",
Expand Down Expand Up @@ -5031,13 +5030,6 @@
"the shared runtime publication remains valid without a headed renderer notifier"
]
},
{
"file": "src/main/ipc/watched-worktree-catalog-notification.test.ts",
"assertions": [
"the watcher authority refreshes the host renderer and paired clients from one boundary",
"remote publication failure cannot suppress the host renderer refresh"
]
},
{
"file": "src/main/window/attach-main-window-services.test.ts",
"assertions": [
Expand Down Expand Up @@ -5102,7 +5094,7 @@
"command": "pnpm exec vitest run --config config/vitest.config.ts src/main/ipc/watched-worktree-catalog-notification.test.ts src/main/runtime/external-worktree-paired-client-discovery.integration.test.ts src/main/window/attach-main-window-services.test.ts",
"result": "passed",
"durationSeconds": 6.19,
"summary": "Three watcher/runtime/wiring files passed with 38 tests, including two-client publication, reconnect, stale scan fencing, headless parity, owner-collision suppression, failure isolation, and main-window notifier wiring."
"summary": "Three watcher/runtime/wiring files passed with 38 tests, including two-client publication, reconnect, stale scan fencing, headless parity, owner-collision suppression, failure isolation, and main-window notifier wiring. Historical run: the watched-worktree-catalog-notification suite was later removed as mock forwarding coverage; it is not an active gate or replacement-equivalence claim."
},
{
"date": "2026-08-26",
Expand Down
26 changes: 0 additions & 26 deletions config/scripts/ci-shard-timings.json
Original file line number Diff line number Diff line change
Expand Up @@ -1324,7 +1324,6 @@
"src/main/browser/browser-session-user-agent-migration-inspection.test.ts": 155,
"src/main/browser/browser-site-display-controller.test.ts": 109,
"src/main/browser/browser-site-permission-prompt.test.ts": 194,
"src/main/browser/browser-tab-identity.test.ts": 66,
"src/main/browser/browser-text-insertion.test.ts": 30,
"src/main/browser/browser-webauthn-access.test.ts": 46,
"src/main/browser/browser-webauthn-account-picker.test.ts": 41,
Expand Down Expand Up @@ -1717,7 +1716,6 @@
"src/main/codex-accounts/sta-4422-transient-ownership-error.test.ts": 556,
"src/main/codex-accounts/sta-4734-login-rollback-deletes-authenticated-home.test.ts": 863,
"src/main/codex-accounts/sta-4735-unreadable-host-lane-writes.test.ts": 418,
"src/main/codex-accounts/wsl-codex-command.test.ts": 49,
"src/main/codex-cli/codex-home-process-lock.test.ts": 35,
"src/main/codex-cli/command.test.ts": 71,
"src/main/codex-usage/codex-rollout-file-lifetime.test.ts": 199,
Expand Down Expand Up @@ -2441,7 +2439,6 @@
"src/main/git/local-repo-ref-maintenance.test.ts": 293,
"src/main/git/merge-tree-object-quarantine-real-git.test.ts": 5634,
"src/main/git/pack-refs-lock-ownership.test.ts": 46,
"src/main/git/paused-rebase-exec-real-git.test.ts": 169,
"src/main/git/porcelain-v1-records.test.ts": 162,
"src/main/git/remote-name-listing.test.ts": 525,
"src/main/git/remote-ref-probe-cache.test.ts": 274,
Expand Down Expand Up @@ -2495,7 +2492,6 @@
"src/main/git/source-control/drive-checkout-suspect-status.test.ts": 204,
"src/main/git/source-control/drive-checkout-suspect-writes-real-git.test.ts": 771,
"src/main/git/source-control/git-pathspec.test.ts": 61,
"src/main/git/source-control/resolve-git-dir.test.ts": 82,
"src/main/git/source-control/stage-worktree-changes.test.ts": 2140,
"src/main/git/source-control/staging-discard-index-safety.test.ts": 1088,
"src/main/git/source-control/wsl-tracked-pathspec-banner.test.ts": 201,
Expand Down Expand Up @@ -3004,7 +3000,6 @@
"src/main/ipc/pty/ipc/closed-pane-spawn-refusal.test.ts": 161,
"src/main/ipc/pty/ipc/codex-shared-server.test.ts": 81,
"src/main/ipc/pty/ipc/leaf-move.test.ts": 403,
"src/main/ipc/pty/ipc/painted-cold-restore-ack.test.ts": 70,
"src/main/ipc/pty/ipc/spawn-commit-run-facts.test.ts": 1436,
"src/main/ipc/pty/ipc/spawn-options-codex-isolation.test.ts": 619,
"src/main/ipc/pty/ipc/spawn-options-spawn-intent.test.ts": 785,
Expand Down Expand Up @@ -3239,7 +3234,6 @@
"src/main/ipc/tui-agent-detection-commands.test.ts": 38,
"src/main/ipc/ui.test.ts": 129,
"src/main/ipc/usage-provider-handlers-readiness.test.ts": 302,
"src/main/ipc/watched-worktree-catalog-notification.test.ts": 44,
"src/main/ipc/watcher-event-root-path-rewrite.test.ts": 36,
"src/main/ipc/watcher-removal-gate.test.ts": 62,
"src/main/ipc/workspace-cleanup-activity.test.ts": 36,
Expand Down Expand Up @@ -3492,7 +3486,6 @@
"src/main/managed-server/lifecycle/orcad-managed-pairing-repair.test.ts": 384,
"src/main/managed-server/lifecycle/orcad-managed-serving.test.ts": 385,
"src/main/managed-server/lifecycle/orcad-managed-stale-lock-reclaim.test.ts": 669,
"src/main/managed-server/lifecycle/orcad-managed-tunnel-bridge-port.test.ts": 527,
"src/main/managed-server/lifecycle/orcad-managed-tunnel-close-target.test.ts": 443,
"src/main/managed-server/lifecycle/orcad-managed-tunnel-identity-restart.test.ts": 3864,
"src/main/managed-server/lifecycle/orcad-managed-tunnel-identity.test.ts": 377,
Expand Down Expand Up @@ -4586,7 +4579,6 @@
"src/main/providers/windows-pty-job-membership.test.ts": 59,
"src/main/providers/windows-shell-alone-in-job.test.ts": 66,
"src/main/providers/windows-shell-args.test.ts": 189,
"src/main/providers/windows-shell-fallback-chain.test.ts": 126,
"src/main/providers/windows-shell-preflight-runtime.windows.test.ts": 73,
"src/main/providers/working-directory-validation-retention.test.ts": 157,
"src/main/providers/working-directory-validation.test.ts": 146,
Expand Down Expand Up @@ -4712,7 +4704,6 @@
"src/main/ripgrep/ripgrep-filename-identity-real.test.ts": 221,
"src/main/ripgrep/synchronous-spawn-failure.test.ts": 35,
"src/main/ripgrep/text-search-unicode-real.test.ts": 212,
"src/main/ripgrep/wsl-missing-cwd-exit.test.ts": 59,
"src/main/runtime/acknowledged-terminal-tab-retirement-main-close.test.ts": 8589,
"src/main/runtime/acknowledged-terminal-tab-retirement.test.ts": 5390,
"src/main/runtime/agent-detection-host-resolution.test.ts": 1699,
Expand Down Expand Up @@ -5248,7 +5239,6 @@
"src/main/runtime/remote-desktop-terminal-floor-reconnect.test.ts": 39,
"src/main/runtime/remote-runtime-close-intent.integration.test.ts": 2354,
"src/main/runtime/remote-runtime-request-connection.integration.test.ts": 3300,
"src/main/runtime/remote-server-updater.test.ts": 50,
"src/main/runtime/remote-viewer-launch-env.test.ts": 34,
"src/main/runtime/renderer-browser-session-reconciliation.test.ts": 3102,
"src/main/runtime/renderer-owned-tab-properties.test.ts": 7009,
Expand Down Expand Up @@ -5490,7 +5480,6 @@
"src/main/runtime/rpc/methods/structured-agent-session-close-before-create.test.ts": 2063,
"src/main/runtime/rpc/methods/structured-agent-session-create-message.test.ts": 2142,
"src/main/runtime/rpc/methods/structured-agent-session-create-seed-admission.test.ts": 203,
"src/main/runtime/rpc/methods/structured-agent-session-create-tab-publication.test.ts": 326,
"src/main/runtime/rpc/methods/structured-agent-session-create-window-placement.test.ts": 1529,
"src/main/runtime/rpc/methods/structured-agent-session-options-read.test.ts": 825,
"src/main/runtime/rpc/methods/structured-agent-session-options-workspace-scope.test.ts": 3985,
Expand Down Expand Up @@ -5635,7 +5624,6 @@
"src/main/runtime/rpc/terminal-subscribe-relay-drop-lease-survival.test.ts": 2234,
"src/main/runtime/rpc/terminal-subscribe-renderer-recovery-output.test.ts": 1471,
"src/main/runtime/rpc/terminal-subscribe-residual-metadata.test.ts": 1089,
"src/main/runtime/rpc/terminal-subscribe-terminal-use.test.ts": 1422,
"src/main/runtime/rpc/unix-socket-transport.test.ts": 53,
"src/main/runtime/rpc/unpaired-device-auth-throttle.test.ts": 39,
"src/main/runtime/rpc/web-session-pairing.test.ts": 590,
Expand Down Expand Up @@ -5667,7 +5655,6 @@
"src/main/runtime/runtime-created-worktree-terminal-target.test.ts": 3660,
"src/main/runtime/runtime-desktop-pane-title-forwarding.test.ts": 4418,
"src/main/runtime/runtime-failed-local-worktree-removal.test.ts": 1120,
"src/main/runtime/runtime-file-listing-producer-budgets.test.ts": 517,
"src/main/runtime/runtime-file-target-execution-host.test.ts": 2021,
"src/main/runtime/runtime-file-upload-decode.test.ts": 255,
"src/main/runtime/runtime-folder-workspace-delete-lifecycle.test.ts": 3681,
Expand Down Expand Up @@ -6279,7 +6266,6 @@
"src/main/ssh/connection/ssh-connection-wake-retry.test.ts": 316,
"src/main/ssh/connection/ssh-connection.test.ts": 1650,
"src/main/ssh/hostile-host-test-support/ssh-hostile-host-cells.test.ts": 74,
"src/main/ssh/hostile-host-test-support/ssh-hostile-host-local-sshd.test.ts": 53,
"src/main/ssh/hostile-host-test-support/ssh-hostile-hosts.docker.test.ts": 575,
"src/main/ssh/legacy-relay/legacy-relay-bridge-relay-restart.test.ts": 70,
"src/main/ssh/legacy-relay/legacy-relay-bridge-restart-stop.test.ts": 3036,
Expand Down Expand Up @@ -6343,7 +6329,6 @@
"src/main/ssh/orcad-migration-terminal-gate-host-wide.test.ts": 210,
"src/main/ssh/orcad-migration-terminal-gate.test.ts": 40,
"src/main/ssh/orcad-remote-deploy.test.ts": 472,
"src/main/ssh/orcad-remote-node-runtime-report.test.ts": 45,
"src/main/ssh/orcad-retained-fence-takeover.test.ts": 211,
"src/main/ssh/orcad-retained-source-changes.test.ts": 1858,
"src/main/ssh/orcad-retained-source-lists.test.ts": 566,
Expand Down Expand Up @@ -6394,7 +6379,6 @@
"src/main/ssh/ssh-host-key-store.test.ts": 174,
"src/main/ssh/ssh-host-key-verifier.test.ts": 64,
"src/main/ssh/ssh-host-platform-memo.test.ts": 31,
"src/main/ssh/ssh-host-server-on-connect-contact-lost.test.ts": 318,
"src/main/ssh/ssh-host-server-on-connect-held-move.test.ts": 218,
"src/main/ssh/ssh-host-server-on-connect-node-download.test.ts": 347,
"src/main/ssh/ssh-host-server-on-connect-stopped-elsewhere.test.ts": 502,
Expand All @@ -6417,7 +6401,6 @@
"src/main/ssh/ssh-remote-commands.test.ts": 4195,
"src/main/ssh/ssh-remote-directory-browse.test.ts": 118,
"src/main/ssh/ssh-remote-node-resolution.test.ts": 176,
"src/main/ssh/ssh-remote-node-toolchain-probe.test.ts": 64,
"src/main/ssh/ssh-remote-platform-detection.test.ts": 204,
"src/main/ssh/ssh-remote-platform.test.ts": 49,
"src/main/ssh/ssh-remote-powershell.test.ts": 189,
Expand Down Expand Up @@ -7649,7 +7632,6 @@
"src/renderer/src/components/editor/rich-markdown-review-rail-benchmark.test.ts": 1471,
"src/renderer/src/components/editor/rich-markdown-review-rail-blocks.test.ts": 1726,
"src/renderer/src/components/editor/rich-markdown-review-text-ranges.test.ts": 65,
"src/renderer/src/components/editor/rich-markdown-save-benchmark.test.ts": 1494,
"src/renderer/src/components/editor/rich-markdown-search-focus.adversarial.test.ts": 332,
"src/renderer/src/components/editor/rich-markdown-search-focus.test.ts": 204,
"src/renderer/src/components/editor/rich-markdown-search-matches-cache.test.ts": 90,
Expand Down Expand Up @@ -7802,7 +7784,6 @@
"src/renderer/src/components/jira-issue-workspace-actions.test.ts": 123,
"src/renderer/src/components/jira-issue-workspace-image-owner.test.tsx": 644,
"src/renderer/src/components/jira-issue-workspace-request-lifetime.test.tsx": 474,
"src/renderer/src/components/jira-list-columns.test.ts": 215,
"src/renderer/src/components/jira-project-picker-filter.test.ts": 72,
"src/renderer/src/components/jira-project-picker.test.tsx": 818,
"src/renderer/src/components/jira-prompt-templates.test.ts": 106,
Expand Down Expand Up @@ -8765,7 +8746,6 @@
"src/renderer/src/components/settings/ssh-target-action-state.test.ts": 28,
"src/renderer/src/components/settings/ssh-target-draft.test.ts": 48,
"src/renderer/src/components/settings/ssh-target-list-model.test.ts": 164,
"src/renderer/src/components/settings/ssh-target-save-payload.test.ts": 149,
"src/renderer/src/components/settings/task-source-setup-state.test.ts": 42,
"src/renderer/src/components/settings/task-tracker-integration-cards.test.tsx": 814,
"src/renderer/src/components/settings/usage-credential-host-sections.test.tsx": 743,
Expand Down Expand Up @@ -9172,7 +9152,6 @@
"src/renderer/src/components/skills/skill-bundle-name.test.ts": 81,
"src/renderer/src/components/skills/skill-bundle-retry-selection.test.ts": 47,
"src/renderer/src/components/skills/skill-delete-copy.test.ts": 146,
"src/renderer/src/components/skills/skill-delete-selection.test.ts": 164,
"src/renderer/src/components/skills/skill-description-length.test.ts": 34,
"src/renderer/src/components/skills/skill-install-progress-state.test.tsx": 258,
"src/renderer/src/components/skills/skill-install-provider-groups.test.ts": 32,
Expand Down Expand Up @@ -9207,7 +9186,6 @@
"src/renderer/src/components/status-bar/SshStatusSegment.managed-hosts.test.tsx": 1316,
"src/renderer/src/components/status-bar/StatusBar.language-change.test.tsx": 2348,
"src/renderer/src/components/status-bar/StatusBarUsageChangeNotices.test.tsx": 574,
"src/renderer/src/components/status-bar/StatusBarUsageEmptyCta.test.tsx": 1333,
"src/renderer/src/components/status-bar/UpdateStatusSegment.test.tsx": 2038,
"src/renderer/src/components/status-bar/UsagePercentageDisplayChangeNotice.test.tsx": 332,
"src/renderer/src/components/status-bar/UsageRosterPanel.test.tsx": 462,
Expand Down Expand Up @@ -9269,7 +9247,6 @@
"src/renderer/src/components/status-bar/workspace-space-layout.test.ts": 21,
"src/renderer/src/components/status-bar/workspace-space-open-change.test.ts": 123,
"src/renderer/src/components/status-bar/workspace-space-presentation.test.ts": 522,
"src/renderer/src/components/status-bar/workspace-space-visit-activity.test.ts": 86,
"src/renderer/src/components/status-bar/workspace-space-worktree-row.test.tsx": 2100,
"src/renderer/src/components/tab-bar/BrowserTab.test.tsx": 1689,
"src/renderer/src/components/tab-bar/ClientHostedBrowserTabRows.test.tsx": 942,
Expand Down Expand Up @@ -9782,7 +9759,6 @@
"src/renderer/src/components/terminal-pane/terminal-file-link-actions.test.ts": 250,
"src/renderer/src/components/terminal-pane/terminal-file-link-target.test.ts": 1741,
"src/renderer/src/components/terminal-pane/terminal-fit-restore.test.ts": 43,
"src/renderer/src/components/terminal-pane/terminal-freeze-report.test.ts": 78,
"src/renderer/src/components/terminal-pane/terminal-handle-copy.test.ts": 47,
"src/renderer/src/components/terminal-pane/terminal-handle-links.test.ts": 439,
"src/renderer/src/components/terminal-pane/terminal-hidden-view-parking.test.ts": 230,
Expand Down Expand Up @@ -11219,7 +11195,6 @@
"src/renderer/src/runtime/web-runtime-browser-materialization-wait.test.ts": 45,
"src/renderer/src/runtime/web-runtime-browser-materialization.test.ts": 54,
"src/renderer/src/runtime/web-runtime-browser-tab-staging-hosting-intent.test.ts": 56,
"src/renderer/src/runtime/web-runtime-pane-layout-params.test.ts": 579,
"src/renderer/src/runtime/web-runtime-plain-terminal-create-params.test.ts": 97,
"src/renderer/src/runtime/web-runtime-session-browser-client-placement.test.ts": 734,
"src/renderer/src/runtime/web-runtime-session-browser-create-failure.test.ts": 797,
Expand Down Expand Up @@ -11376,7 +11351,6 @@
"src/renderer/src/store/repos/converted-ssh-browser-pages.test.ts": 489,
"src/renderer/src/store/repos/converted-ssh-host-rows.test.ts": 33,
"src/renderer/src/store/repos/dropped-repo-worktree-rows.test.ts": 2001,
"src/renderer/src/store/repos/repo-removal-host-twin-teardown.test.ts": 1280,
"src/renderer/src/store/repos/repo-removal.test.ts": 503,
"src/renderer/src/store/repos/safe-auto-fork-sync.test.ts": 280,
"src/renderer/src/store/right-sidebar-route.test.ts": 28,
Expand Down
Loading
Loading