myxce/src
lei.chen 700f3d4e1a scheduler tests: UT cover for E2 Phase 3 increments (adoption shared allocs + per-queue instances)
Two gaps in the Phase 3 regression net:

1. test_core_events.c: test_job_update_run_adoption_carries_shared_allocs
   -- scheduler-side counterpart of bug-1976. A JOB_UPDATE marking a job
   RUN whose jalloc carries shared-pool records (the per-project limit
   charge + the external resource itself) must rebuild job->accounts
   with accounts_shared mirroring them, or the next sched_account_jobs
   pass never charges the limit vres and every global limit admits
   forever. Also pins the payload ownership move (updated.allocs == NULL).

2. test_limit_project_scope.c: test_queue_scope_per_queue_instance_names
   -- the per_queue shape of limits.yaml's extlic_qdist: queues:-scoped
   limit slices its usage instance per queue ("limit=<name>/q=<queue>")
   exactly as per_project slices by project ("/p="); cap lands at the
   instance's own vres idx; out-of-scope queues match nothing. Uses the
   same heap group-config lifetime contract as the project shape, so
   free_limit_config() gained queues handling (and NULL-guarded the
   projects group -- per_queue configs carry projects == NULL, which the
   unconditional dereference crashed on; deterministic under
   MALLOC_PERTURB_, every run).

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-10-28 05:57:15 +00:00
..
autoscaler merge: sync Rongsong's scheduler-framework (c5b172c7..3442a57d, 781 commits) 2026-10-14 05:17:03 +00:00
configs E2 Phase 3: per-project/per-queue license quotas via limit vres + controller shared-alloc migration fix 2026-10-28 05:36:43 +00:00
controller E2 Phase 3: per-project/per-queue license quotas via limit vres + controller shared-alloc migration fix 2026-10-28 05:36:43 +00:00
docs A-batch admin-plane fixes: rusage unit name, XCE_JOBID identity, select WARN, CLI env, docs 2026-10-26 14:02:53 +00:00
esd E2 Phase 2: external-license-resources 运维面 — stale 标记、last-updated 展示、xceadmin extres status 2026-10-27 14:00:33 +00:00
frontend E2 Phase 2: external-license-resources 运维面 — stale 标记、last-updated 展示、xceadmin extres status 2026-10-27 14:00:33 +00:00
harness build: eliminate all unused-variable/function warnings in our code 2026-10-21 09:28:34 +00:00
include E2 Phase 1: external-license-resources — xceesd daemon, extres role, EXTERNAL admission 2026-10-27 03:45:28 +00:00
lib E2 Phase 1: external-license-resources — xceesd daemon, extres role, EXTERNAL admission 2026-10-27 03:45:28 +00:00
nixSupport remove extralib 2026-09-04 11:24:43 +08:00
scheduler scheduler tests: UT cover for E2 Phase 3 increments (adoption shared allocs + per-queue instances) 2026-10-28 05:57:15 +00:00
schema E2 Phase 1: external-license-resources — xceesd daemon, extres role, EXTERNAL admission 2026-10-27 03:45:28 +00:00
subprojects build: eliminate all remaining compile warnings 2026-10-21 15:38:42 +00:00
testsuite_support merge: sync Rongsong's scheduler-framework (c5b172c7..3442a57d, 781 commits) 2026-10-14 05:17:03 +00:00
tools bug-1971: preserve flaky test-failure evidence across xce-build.sh runs 2026-10-22 08:08:01 +00:00
worker A-batch admin-plane fixes: rusage unit name, XCE_JOBID identity, select WARN, CLI env, docs 2026-10-26 14:02:53 +00:00
xceadmin resources: XCE_RESF_BUILTIN 从未被置位 — resources.yaml 加 builtin: true 声明式键 2026-10-28 01:46:21 +00:00
flake.lock remove extralib 2026-09-04 11:24:43 +08:00
flake.nix merge: sync Rongsong's scheduler-framework (c5b172c7..3442a57d, 781 commits) 2026-10-14 05:17:03 +00:00
meson.build E2 Phase 1: external-license-resources — xceesd daemon, extres role, EXTERNAL admission 2026-10-27 03:45:28 +00:00
meson.options build: remove nix dependency layer -- apt system libs + meson wrap subprojects 2026-10-20 18:04:22 +00:00