@@ -1890,7 +1890,7 @@ jobs:
18901890 fi
18911891 pnpm check:max-lines-ratchet --base "$base_ref"
18921892 if [[ "${RATCHET_RELEASE_MERGE_TREE:-}" == "true" ]]; then
1893- node --import tsx scripts/run-oxlint-shards.mts --only=core --only=extensions --split-core -- threads=1
1893+ node --import tsx scripts/run-oxlint-shards.mts --only=core --only=extensions --threads=1
18941894 fi
18951895 ;;
18961896 bun-launcher)
@@ -2501,15 +2501,16 @@ jobs:
25012501 # i18n-tooling diff must run it. oxlint always runs.
25022502 lint_args=(--threads=8)
25032503 if [ "$RUNNER_BACKEND" = "github" ]; then
2504- # Three dedicated hosted jobs own the split core stripes . Keep
2504+ # Five dedicated hosted jobs own the aggregated core Programs . Keep
25052505 # extension preparation, optional UI checks, and formatting in
2506- # this fourth lane so each 4-core runner stays below ~6m.
2506+ # this sixth lane so each 4-core runner stays below ~6m.
25072507 lint_args=(--only=extensions --only=scripts --threads=1)
2508+ export GOMAXPROCS=2
25082509 elif [ "$(nproc)" -lt 8 ]; then
2509- # Fork PRs run on 4-core hosted runners with 16GB . Bound both
2510- # the core process size and its threads so type-aware oxlint
2511- # does not intermittently lose the runner under memory pressure.
2512- lint_args=(--split-core --threads=1)
2510+ # Fork PRs build each semantic Program once . Bound both oxlint
2511+ # and its Go helper within the 4-core/16GB hosted runner.
2512+ lint_args=(--threads=1)
2513+ export GOMAXPROCS=2
25132514 fi
25142515 if [ "$RUN_CONTROL_UI_I18N" = "true" ] || [ "$RUN_UI_TESTS" = "true" ]; then
25152516 pnpm lint "${lint_args[@]}"
@@ -2613,8 +2614,8 @@ jobs:
26132614 ;;
26142615 esac
26152616
2616- # The github/hybrid planner profile splits the serial core oxlint path across
2617- # five deterministic hosted jobs. All-Blacksmith mode keeps one lint job.
2617+ # The github/hybrid planner profile aggregates core targets into five Programs
2618+ # across five hosted jobs. All-Blacksmith mode keeps one lint job.
26182619 check-lint-hosted-core-shard :
26192620 permissions :
26202621 contents : read
@@ -2639,6 +2640,7 @@ jobs:
26392640
26402641 - name : Run hosted core lint stripe
26412642 env :
2643+ GOMAXPROCS : " 2"
26422644 OPENCLAW_LOCAL_CHECK : " 0"
26432645 run : >-
26442646 node --import tsx scripts/run-oxlint-shards.mts
0 commit comments