This repository was archived by the owner on Jun 12, 2026. It is now read-only.
feat(8p): WP0 ResourceOptions + WP2 parallel run_all --build-dir - #205
Merged
Conversation
Add compiler/common ResourceOptions with --jobs, --max-memory, --job-memory-mb, --build-dir, --threads; deprecate LI_* env when flags are set. run_all.sh and lic-workspace-build.sh use li_effective_jobs and pass --build-dir per parallel worker instead of exporting LI_BUILD_DIR. Co-authored-by: Cursor <cursoragent@cursor.com>
…WP0/WP2) Shared parser for --jobs, --max-memory, --job-memory-mb, --build-dir, and --threads with LI_* deprecation warnings; parallel li-tests pass isolated --build-dir to lic build instead of LI_BUILD_DIR. Co-authored-by: Cursor <cursoragent@cursor.com>
cap-jmk-real
force-pushed
the
feat/lic-resource-options
branch
from
May 25, 2026 10:31
4fcb629 to
ff33023
Compare
This was referenced May 25, 2026
ci.sh passes run_all.sh -j8 --max-memory=8192 instead of LI_TEST_JOBS; run_all forwards --max-memory to lic build; baseline wall_s/peak_rss rows. Stacks on feat/lic-resource-options (#205). Co-authored-by: Cursor <cursoragent@cursor.com>
2 tasks
Contributor
Author
cap-jmk-real
added a commit
that referenced
this pull request
May 25, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
Author
|
Duplicate agent relaunch; closing in favor of canonical PR #214. Dedupe pass 2026-05-25 (li-cursor-agents). |
Co-authored-by: Cursor <cursoragent@cursor.com>
5 tasks
cap-jmk-real
added a commit
that referenced
this pull request
May 25, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
Bash 3.2 + set -e aborted run_one_worker before writing per-job .rc files when run_one returned 2 (skip) or 1 (fail). Keep errexit off in the worker, use li_lic_build for empty flag arrays, and wait each parallel pid explicitly. Co-authored-by: Cursor <cursoragent@cursor.com>
cap-jmk-real
added a commit
that referenced
this pull request
May 25, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
FILTER was bound to argv[1] before flag parsing, so CI invocations like run_all.sh -j8 --max-memory=8192 matched no suite. Also fix bash 3.2 pids array. Co-authored-by: Cursor <cursoragent@cursor.com>
cap-jmk-real
added a commit
that referenced
this pull request
May 25, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
cap-jmk-real
added a commit
that referenced
this pull request
May 25, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
cap-jmk-real
added a commit
that referenced
this pull request
May 25, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
cap-jmk-real
force-pushed
the
feat/lic-resource-options
branch
from
May 25, 2026 11:59
abce126 to
33ff755
Compare
cap-jmk-real
added a commit
that referenced
this pull request
May 25, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
cap-jmk-real
added a commit
that referenced
this pull request
May 25, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
cap-jmk-real
added a commit
that referenced
this pull request
May 25, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
cap-jmk-real
force-pushed
the
feat/lic-resource-options
branch
2 times, most recently
from
May 25, 2026 12:09
b61474c to
ff33023
Compare
Co-authored-by: Cursor <cursoragent@cursor.com>
cap-jmk-real
force-pushed
the
feat/lic-resource-options
branch
from
May 25, 2026 12:12
515a7ef to
06b11e4
Compare
cap-jmk-real
added a commit
that referenced
this pull request
May 25, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
cap-jmk-real
added a commit
that referenced
this pull request
May 25, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
cap-jmk-real
added a commit
that referenced
this pull request
May 25, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
cap-jmk-real
added a commit
that referenced
this pull request
May 25, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
cap-jmk-real
added a commit
that referenced
this pull request
May 25, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
5 tasks
cap-jmk-real
added a commit
that referenced
this pull request
May 25, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
cap-jmk-real
added a commit
that referenced
this pull request
May 25, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
cap-jmk-real
added a commit
that referenced
this pull request
May 25, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
cap-jmk-real
added a commit
that referenced
this pull request
May 25, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
cap-jmk-real
added a commit
that referenced
this pull request
May 25, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
2 tasks
cap-jmk-real
added a commit
that referenced
this pull request
May 25, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
cap-jmk-real
added a commit
that referenced
this pull request
May 25, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
cap-jmk-real
added a commit
that referenced
this pull request
May 25, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
cap-jmk-real
added a commit
that referenced
this pull request
May 25, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
cap-jmk-real
added a commit
that referenced
this pull request
May 25, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
This was referenced May 25, 2026
cap-jmk-real
added a commit
that referenced
this pull request
May 25, 2026
Co-authored-by: Cursor <cursoragent@cursor.com>
cap-jmk-real
added a commit
that referenced
this pull request
May 25, 2026
* chore(ci): retrigger checks after stack base retarget to #205 Co-authored-by: Cursor <cursoragent@cursor.com> * chore(ci): retrigger checks after stack base retarget to #205 Co-authored-by: Cursor <cursoragent@cursor.com> * chore(ci): retrigger checks after stack base retarget to #205 Co-authored-by: Cursor <cursoragent@cursor.com> * feat(check): WP3 workspace driver and diagnostic JSON cache Add lic check --workspace with parallel per-member subprocess checks, LRU diagnostic cache flags, and smoke coverage for cache + workspace paths. Co-authored-by: Cursor <cursoragent@cursor.com> * fix(check): separate diagnose vs check cache keys Include JSON command name in cache key so lic diagnose does not replay lic check diagnostic envelopes. Co-authored-by: Cursor <cursoragent@cursor.com> * fix(check): shorten cache keys for safe path hashing Collapse cache key material into one hex digest so keys stay within the 96-character limit enforced by cache path validation. Co-authored-by: Cursor <cursoragent@cursor.com> * fix(check): bind cache entries to content hash on load Reject v=1 cache files without a matching content= line so poisoned exit=0 entries cannot short-circuit check; tighten exploit harness. Co-authored-by: Cursor <cursoragent@cursor.com> * fix(check): implement hash_direct_import_graph for WP3 cache keys Co-authored-by: Cursor <cursoragent@cursor.com> * feat(check): complete WP1 advisory check pipeline Wire check/diagnose through run_frontend_check with configurable typosquat policy, advisory severities, and deny-warnings behavior so WP3 can reuse a stable per-file check API. Add advisory fixtures and JSON smoke coverage to prove warning/note/error handling and check-only outcomes. Co-authored-by: Cursor <cursoragent@cursor.com> * chore(ci): retrigger checks after stack base retarget to #205 Co-authored-by: Cursor <cursoragent@cursor.com> * feat(compiler): execution resource controls (--cores, team_size in codegen) Extend ResourceOptions with --cores and --threads-per-core, bake runtime team into li_parallel_for_i64 at build time, document jobs vs threads vs SIMD lanes, and add li-tests/execution_resources smoke (LLVM IR checks). Co-authored-by: Cursor <cursoragent@cursor.com> * fix(codegen): preserve LI_EMIT_LL after link for execution_resources smoke Union rebase kept maybe_keep_emit_ll from main but restore the guard so explicit LI_EMIT_LL paths are not deleted after null-out or link builds. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Cursor <cursoragent@cursor.com>
This was referenced Jun 7, 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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Summary
compiler/commonResourceOptions— CLI--jobs,--max-memory,--job-memory-mb,--build-dir,--threads; deprecatedLI_*env (flag wins, one warning).li-tests/run_all.shuses-j/ memory flags /--build-root; workers invokelic build --build-dir=…(noexport LI_*).scripts/lib/li-jobs.shaddsli_effective_jobs.--jobs>1: documented no-op note incompile.cpp(partition follow-up).Test plan
./scripts/build.sh./li-tests/tooling/resource_flags_smoke.shLI_TEST_JOBS=1 ./li-tests/run_all.shvs./li-tests/run_all.sh -j8(same pass/fail)Agent continuation
See
docs/release-notes/2026-05-25-lic-resource-options-wp0-wp2.md.Not changed
compiler/analyze/, workspace check driver, OpenMP removal,bench_toolchain.py.Made with Cursor