Repository navigation
fix(tooling): point orca.yaml setup and mobile typecheck at moved scripts - #38941
Merged
Merged
Conversation
Contributor
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
10 of 11 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
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.
What Changed
orca.yamlsetup now runsconfig/scripts/development/setup/run-internal-dev-setup.mjs. Before, worktree setup failed withMODULE_NOT_FOUNDandpnpm installnever ran. After, setup runs the script and thenpnpm install.mobile/package.jsontypecheckandtypecheck:testsnow callconfig/scripts/typecheck/project-execution/run-typecheck-projects-in-parallel.mjs. Before,pnpm --dir mobile typecheckfailed withMODULE_NOT_FOUND. CI was unaffected becausemobile.ymlalready 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, andpnpm installsucceeded.The old typecheck path failed with
MODULE_NOT_FOUND.pnpm --dir mobile typecheckandpnpm --dir mobile typecheck:testsboth exit 0 on the branch.pnpm check:changedpassed.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
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:21andskill-guides/orca-plugin-authoring/references/workflow.md:101still nameconfig/scripts/orca-dev.mjs. It now lives atconfig/scripts/development/launch/orca-dev.mjs.tests/e2e/AGENTS.md:26and:40still use the old flat paths forrun-terminal-layout-parity.mjsandcheck-workspace-layout-rules.mjs.docs/,config/*.mdandtests/tools/freeze-repro/still use flatconfig/scripts/*.mjspaths..github/workflows/*.ymlfiles and.github/actions/prepare-native-runtime/action.ymlstill use flatconfig/scripts/paths. Some, likee2e.yml:111, are deliberate fallbacks for older refs. Each still needs a check.Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)