Skip to content

test: remove redundant configuration, shortcut and recovery coverage - #33770

Merged
OrcaWin merged 1 commit into
mainfrom
audit/test-value-461
Oct 26, 2026
Merged

OrcaWin merged 1 commit into
mainfrom
audit/test-value-461

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator
Files Added Deleted Net
Test 17 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​4 $\color{#cf222e}{\Huge{\mathbf{−}}}$​339 $\color{#cf222e}{\Huge{\mathbf{−}}}$​335
Prod 0 0 0 0

Remove 30 low-value authored tests, including five complete suites that copy agent configuration, advisory skill-deletion flags, shortcut/label inventories, or thin recovery adapters. Remove the deleted recovery spec from its owning test wrapper.

Retain actual command parsing, path trust, durable worktree ownership, metadata merging, optional-field salvage, layout transitions, shortcut focus policy, and terminal wire behavior. Production code is unchanged.

Validation: 43 unique retained registered cases across eleven changed safe Node suites pass isolated candidate-only checks; scoped formatting/lint and callback-identity checks pass. The changed import wrapper is reserved for fresh full CI before merge.

@OrcaWin
OrcaWin merged commit ac00333 into main Oct 26, 2026
41 checks passed
nplez1 added a commit to nplez1/orca that referenced this pull request Oct 28, 2026
Merge base 0571e45, fork tip before this sync 7b86cb0 (rollback tag
archive/pre-sync-7b86cb0846), upstream tip f173998.

Upstream's delta is 22,767 files (+510,839 / -404,589): a feature wave (WSL
host chat, Jira board rework, team agents) plus two large test-retirement
sweeps ("remove low-value cases", stablyai#33770/stablyai#34156/stablyai#34161/stablyai#34234) and a
consolidated `config/scripts/run-lint.mjs` replacing package.json's inline
lint chain.

431 conflicted paths / 621 hunks. Tiers: 255 hunks proved mechanically by
`conflicts.mjs --apply-proven` (167 paths written), 69 `docs/agents-md-refs`
files removed as upstream churn absent from both tips, 27 deletions taken
from `expected-deletions.json` plus the retired-test policy in the ledger, and
the remaining 163 paths resolved in 13 disjoint batches against
`local/sync/convergence-ledger.md`.

Breaks the merge left with no conflict marker, all repaired here:

- Three fork ratchets (check:process-host-imports,
  check:workspace-path-sync-fs-ratchet, check:compat-boundary-imports) were
  dropped by upstream's consolidated lint runner; the gate now expands
  `LINT_STEPS` back into one step each and fails closed if it cannot.
- Fork-only importers pointed at modules upstream moved: filesystem-auth,
  filesystem-search-file-paths, remote-runtime-*, source-control-base-ref-
  resolution, task-page-jira-create-fields, agent-status, and
  use-task-page-composer-actions (16 imports in `tc:node`, 14 in `tc:web`).
- `RuntimeRepositorySettingsController` gained a required
  `notifyWorktreesChanged`; the fork's extracted owned-controllers wiring would
  have thrown at runtime.
- Two union resolutions were syntactically broken
  (service-full-cycle-preparation, wsl-orca-env duplicate identifier).
- Two settings keys upstream added were unclassified in the fork's host-sync
  disposition map; four upstream settings added since the last sync needed a
  disposition each.
- `sync:localization-catalog` rejected a reused key: the fork's "Gemini CLI
  (legacy)" heading and upstream's "Gemini" label shared one key, so the
  heading has its own key now.
- Nine non-English locales carried upstream translations for two toasts the
  fork rewords (different placeholders); the stale entries are retired and
  fall back to the fork's English overlay.
- Thirteen upstream-owned files sat 1-18 code lines over the max-lines budget
  once the fork's delta was merged in: exempted with a directive and a baseline
  row per LOCAL-PATCHES § local(lint), whose rule is ownership not size. The
  orcad-entry row went stale and was pruned.

Decisions and evidence: LOCAL-PATCHES.md § Sync log and
local/sync/convergence-ledger.md.
nplez1 added a commit to nplez1/orca that referenced this pull request Oct 28, 2026
…n scan

The merge left `locales/en.json` and the fork overlay carrying entries the merged
source no longer references — mostly test-harness fixtures for the suites
upstream retired in stablyai#33770/stablyai#34156/stablyai#34161/stablyai#34234 — and nine English entries whose
source copy moved on, so the catalog still rendered the old sentence.

198 orphan keys removed from every locale catalog, the fork overlay and
`locale-ko-key-overrides.json`; the nine drifted entries now carry the source's
copy, each differing placeholder string moved to its own key
(`AccountsPane.aa4de4475b` for the fork's "Gemini CLI (legacy)" heading), and
the translations of the reworded sentences retired so they fall back to English
rather than render a stale sentence with the wrong placeholders.
`sync:localization-runtime-catalog` then regenerated the runtime subset.

Also fixes the post-sync deletion scan: it disabled rename detection on our
side only, so an upstream *rename* of a fork-untouched file read as a fork-only
deletion with a lost export (`terminal-file-link-detection-ranges.ts`, renamed
by stablyai#33964). Both sides now run with `--no-renames`.

Verified: post-sync PASS (11 checks), pnpm tc clean on node/web/cli, oxlint
clean, identity sweep 0 fixable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant