Repository navigation
refactor(tooling): organize remaining scripts by domain owners - #38407
Merged
Merged
Conversation
nwparker
force-pushed
the
module-layout-v2/d05-script-owners-46fa
branch
2 times, most recently
from
November 5, 2026 06:53
331c329 to
5e9aa46
Compare
nwparker
force-pushed
the
module-layout-v2/d05-script-owners-46fa
branch
from
November 5, 2026 07:15
5e9aa46 to
31d1566
Compare
6 tasks done
audichuang
added a commit
to audichuang/orca
that referenced
this pull request
Nov 5, 2026
…ead matching workflows Upstream's release commit 151d5dd copied main's .github/workflows onto release/v1.4.250, where stablyai#38130 moved the scripts they call, but kept the release's config/scripts at the old layout. 18 tests in five config/scripts suites read those workflows and fail on a clean v1.4.250 too. Main's fix is the 1500-file script move (stablyai#38130, stablyai#38407), which cannot come along, and the fork keeps upstream workflows disabled, so restore the pre-sync workflows (keeping fc4defc's golden fixture checkout line). Drop this commit on the first rebase onto a release that contains 9bd6272 (stablyai#38130). This reverts the workflow part of commit 151d5dd.
This was referenced Nov 5, 2026
11 tasks done
10 of 11 tasks
This was referenced Nov 15, 2026
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
Group the remaining flat tooling scripts by the feature they serve, so builds, releases, CI checks, and benchmarks have clear owners.
What Changed
Move 544 modules into concrete domain directories. The CI timing catalog relocation merged separately in #38409; this PR updates its existing keys for the remaining moves.
config/scriptsnow contains 49 domain directories and no loose root files.Update package commands, workflow/action entrypoints, imports, subprocess paths, fixture consumers, routing selectors, registry records, and timing keys together. Historical benchmarks still select the real implementation from their checked-out revision. No barrels, forwarding modules, or compatibility copies are introduced. The worktree-deletion benchmark's timing-sample functions move to their defining module with unchanged bodies.
Why
The remaining flat scripts mix unrelated release, build, analysis, runtime-verification, and performance responsibilities. This finishes their ownership layout in one coherent batch.
Linked Issue
Maintainer-directed module-layout cleanup.
Visual Proof
N/A — module and resource relocation; no visual or interaction changes.
Testing
The initial local changed-check run failed eight tests because macOS resolved the runner's
/tmpfixtures through/private/tmp. All 15 tests in the three affected files pass with canonicalTMPDIR=/private/tmp, without source or assertion changes. FinalTMPDIR=/private/tmp ORCA_BACKGROUND_LAUNCH=1 pnpm check:changed --base=f0e7eaa07067e1d4ea640e8b47d102a0a2176aa7 --maxWorkers=2 --timeout=15passed all 41 checks, including related unit tests (249.8 seconds), after the final source edits and rebase. On corrected head31d1566e, the changed E2E cases now pass. Full hosted workflow 41985955251 passed on corrected head31d1566eafter a failed-only retry of the SSH fixture package-download failure. All 98 check results are terminal: 84 succeeded and 14 were skipped; skipped lanes are not counted as passes.The earlier hosted run exposed a real location-derived root error in the moved dev launcher: it looked under
config/scripts/out/cliinstead ofout/cli. The corrected launcher ascends four levels from its real path. A new isolated regression case runs it outside the repository without a CLI-entry override, alongside the existing override case (2 tests pass). A red control reproduces the old missing-build failure. The headless pairing script also selects the existing concrete native-runtime script owner. A bounded source-location audit checked 537 moved code modules and 230 statically evaluable bindings; dynamic expressions remain outside that check.Existing tests move with their owners. One regression test is added for the observed default-launcher failure. Local validation uses macOS arm64; hosted CI covers platform/build lanes.
Risk
Level: Medium. Missed filesystem, subprocess, or workflow references could prevent a tooling command from starting. Resource routes, selector membership, historical source selection, and imports are explicitly checked. No data/schema or wire-protocol migration; rollback is a plain revert.
Review
Two independent native Codex audits cover the original moves and prior rebase. Fresh SOURCE and BOUNDARY supplements both pass on corrected head
31d1566e/ tree2678ff2720ec, including all 14 incoming upstream paths and the three correction files. The source supplement inspected 537 moved code outputs and 724 paired declarations/expressions; the boundary supplement checked 717 literal relative requests. Both record explicit limits for computed paths and dynamic dataflow; neither claims hosted CI or merge credit. Two subsequent independent supplements also verify the prospective merge on maindabdb606: all 544 moved modules remain byte/mode exact, all 661 destinations survive, and upstream deletions and metadata changes are preserved. Later renderer-only test trims receive a bounded whole-tree and exact metadata-deletion replay before merge.Agent skill upstream boundary
Checklist