Skip to content

fix(tooling): point orca.yaml setup and mobile typecheck at moved scripts - #38941

Merged
AmoabaKelvin merged 2 commits into
mainfrom
fix-orca-yaml-setup-path
Nov 6, 2026
Merged

AmoabaKelvin merged 2 commits into
mainfrom
fix-orca-yaml-setup-path

Conversation

@AmoabaKelvin

@AmoabaKelvin AmoabaKelvin commented Nov 6, 2026 •

Copy link
Copy Markdown
Collaborator

ELI5

Two scripts moved to new folders in #38407, but two places that run them still pointed at the old spots. Creating a new Orca workspace for this repo crashed during setup, and the mobile typecheck command crashed before checking anything.

Files Added Deleted Net
Test 0 0 0 0
Prod 2 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​3 $\color{#cf222e}{\Huge{\mathbf{−}}}$​3 0

What Changed

  • orca.yaml setup now runs config/scripts/development/setup/run-internal-dev-setup.mjs. Before, worktree setup failed with MODULE_NOT_FOUND and pnpm install never ran. After, setup runs the script and then pnpm install.
  • mobile/package.json typecheck and typecheck:tests now call config/scripts/typecheck/project-execution/run-typecheck-projects-in-parallel.mjs. Before, pnpm --dir mobile typecheck failed with MODULE_NOT_FOUND. CI was unaffected because mobile.yml already calls the new path directly.

Why

#38407 moved both scripts but missed these callers. Neither script uses paths relative to its own location, so pointing the callers at the new paths is the whole fix.

Linked Issue

N/A, maintainer fix with no existing issue.

Visual Proof

N/A, this changes only dev tooling scripts and has no UI.

Testing

Setup exits 1 on main and 0 on this branch. The same holds for pnpm --dir mobile typecheck. On macOS in a fresh worktree:

  • The old setup path failed with MODULE_NOT_FOUND. The new path ran the local setup hook, and pnpm install succeeded.

  • The old typecheck path failed with MODULE_NOT_FOUND. pnpm --dir mobile typecheck and pnpm --dir mobile typecheck:tests both exit 0 on the branch.

  • pnpm check:changed passed.

  • I manually tested these changes locally

  • Automated tests added/updated, or explained why not below

  • Every added test fails without this change and avoids the test anti-patterns

No test added: these are config path fixes.

Risk

Only the repo's own worktree setup recipe and the local mobile typecheck scripts change. The app, users, phones and SSH hosts are not affected. Revert with a plain revert.

Level: Low

AI Disclosure

Review

Agent skill upstream boundary

  • Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance

Follow-ups: #38407 left other stale config/scripts/ paths that this PR does not touch:

  • .github/CONTRIBUTING.md:89, skill-guides/orca-cli.md:21 and skill-guides/orca-plugin-authoring/references/workflow.md:101 still name config/scripts/orca-dev.mjs. It now lives at config/scripts/development/launch/orca-dev.mjs.
  • tests/e2e/AGENTS.md:26 and :40 still use the old flat paths for run-terminal-layout-parity.mjs and check-workspace-layout-rules.mjs.
  • Many READMEs and bug-repro docs under docs/, config/*.md and tests/tools/freeze-repro/ still use flat config/scripts/*.mjs paths.
  • Several .github/workflows/*.yml files and .github/actions/prepare-native-runtime/action.yml still use flat config/scripts/ paths. Some, like e2e.yml:111, are deliberate fallbacks for older refs. Each still needs a check.

Checklist

  • This PR is small and focused
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • I stated the risk: what could break, for whom, and how to back it out
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)

@coderabbitai

coderabbitai Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The setup command in orca.yaml now invokes run-internal-dev-setup.mjs from config/scripts/development/setup/ instead of scripts/. The mobile typecheck and typecheck:tests scripts now invoke the parallel typecheck runner from config/scripts/typecheck/project-execution/. Their project arguments are unchanged.

Merge Risk: Minimal · up to 23c09

No merge-blocking issue was found in the script path updates.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title clearly identifies both script path fixes.
Description check Passed The description is mostly complete and follows the template. The risk section could state the failure impact more explicitly.
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.
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: db61f535-3ba1-4196-a8aa-88a4f6e5dca5
Commits

Reviewing files that changed from the base of the PR and between ec514d2 and 23c09bb.

Files selected for processing: 1

  • mobile/package.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.

@AmoabaKelvin AmoabaKelvin changed the title fix(tooling): point orca.yaml setup at the moved internal dev setup script fix(tooling): point orca.yaml setup and mobile typecheck at moved scripts Nov 6, 2026
@AmoabaKelvin
AmoabaKelvin merged commit 77a0fe1 into main Nov 6, 2026
40 checks passed
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