40261b7e96
feat: implement sched_meet_host_selection using eval_select_simple (6-5)
...
Replace the always-return-1 stub with a real implementation that:
- Returns 1 immediately when s == NULL or s->root == NULL (no constraint)
- Builds a host_eval_ctx_t from w->resvals and calls eval_select_simple
- Uses a zero-resource stack context when resvals.caps == 0 so constant
sub-expressions (SEL_TRUE, SEL_FALSE, SEL_ANY) still evaluate correctly
- On OOM (build_host_eval_ctx returns NULL), conservatively passes the host
- Maps eval_select_simple result: >0 → 1 (match), <=0 → 0 (no-match)
Add #define UNIT_TEST 1 to test.c, remove redundant #ifdef guard, and
add three new TDD tests covering NULL select, SEL_TRUE, and SEL_FALSE.
All 6 tests pass.
2026-04-30 05:04:47 +00:00
2e3469c3c5
fix: correct zarray single-pointer convention in build_host_eval_ctx; add num_res guard
2026-04-30 04:58:28 +00:00
907d8d80a3
feat: implement build_host_eval_ctx — project resvals zarray to host_eval_ctx_t (6-7)
2026-04-30 04:49:27 +00:00
acda9bb228
feat: add sched GC predicate statics; wire sel_optimize_set(1) in sched_init (6-4, 6-9)
2026-04-30 04:13:14 +00:00
72546d3a22
fix: restore libxce_deps in scheduler test deps (removed by mistake in task 3)
2026-04-30 04:08:14 +00:00
823a66e91e
feat: add _Atomic gc-predicate fields to xce_scheduler_t (phase 6 task 6-3)
2026-04-30 04:03:51 +00:00
c1c9f9e736
minor improve
2026-04-14 12:52:40 +08:00
c9dc8c4676
Merge Go frontend (apiserver + xcecli) into meson build
2026-04-14 11:23:18 +08:00
43dc12a36c
save works
2026-03-06 18:20:30 +08:00
47fc32b02c
save works
2026-03-05 16:03:37 +08:00
3f74f14687
save works
2026-03-04 18:18:53 +08:00
acfbec875b
save works
2026-03-03 16:49:26 +08:00
b748e30d20
save works
2026-02-28 17:55:50 +08:00
b1faeb94b6
improve scheduler
2026-02-27 15:15:16 +08:00
638173dec9
improve plugin
2026-02-26 17:06:07 +08:00
598d381379
improve xkvmgr and testsuite for scheduler
2026-02-26 14:39:12 +08:00
2cf636e607
format code
2026-02-12 11:22:27 +08:00
6cf9aa0979
- make new scheduler work for sequence jobs
2026-02-12 11:20:17 +08:00
e7ab1c16db
save
2026-02-09 18:11:27 +08:00
12a6010f29
save work status
2026-02-09 11:42:30 +08:00
12dcc2a60d
- save tmp works
...
- save works
2026-02-06 17:31:02 +08:00
cd4f3953b2
- use librtti
...
- Fix issue to xce_get() api cause client side crash
- add parse resreq section
- add rusage parser
- parse resreq with basic support alternative & compound, still miss select
2026-02-05 17:21:27 +08:00
280c22671f
support shared libxce(for api server)
2026-01-19 11:02:49 +08:00
924bc1517b
using xvec related api in scheduler
2026-01-16 18:21:37 +08:00
06209930f9
improve
2026-01-15 17:56:53 +08:00
ecf1916d78
support limit
2026-01-12 15:27:54 +08:00
bef32ace38
1st workable scheduler with resource from controller
2025-12-31 15:50:52 +08:00
780e9fb313
scheduling using real slots number
2025-12-30 18:13:15 +08:00
8db4458375
improve res
2025-12-28 14:51:54 +08:00
4769e6845f
improve configuration handling
2025-12-26 17:52:43 +08:00
ae658c4a23
working of scheduler to handle configuration
2025-12-26 15:22:21 +08:00
a46ea822c1
working on scheduler and fix issue #17
2025-12-25 16:24:56 +08:00
4034fd7556
fix pkt size problem and fmt_jobid
2025-12-24 17:56:45 +08:00
088afe4ea0
scheduling job with fake resource
2025-12-23 18:12:13 +08:00
5560ae91da
pass pend reason back to controller
2025-12-23 15:29:26 +08:00
cd0bca3138
save works
2025-12-22 18:24:43 +08:00
c1e42b1ee2
save works
2025-12-22 17:32:52 +08:00
ef95cea41f
format code
2025-12-22 12:17:45 +08:00
c12fcf6905
improve ordq
2025-12-22 11:58:04 +08:00
abea3375ca
save
2025-12-22 10:53:29 +08:00
2b190bdb1d
format code
2025-12-18 17:39:09 +08:00
4db6b039c5
save works
2025-12-18 14:55:58 +08:00
d0174f2f30
save works
2025-12-18 10:23:43 +08:00
e85ce0e5ad
improve zarray_iter
2025-12-17 11:06:58 +08:00
05abed1964
enhance ordq
2025-12-16 17:04:04 +08:00
c478ea8516
scheduler framework
2025-12-16 16:08:20 +08:00
cb0c7fe9e7
merge job rusage and pending reason support
2025-12-16 14:36:28 +08:00
30824ae5ea
create framework of scheduler
2025-12-12 17:57:12 +08:00
486b38d679
support passing args to request handle for elimination of global var
2025-12-11 17:07:51 +08:00
123b656dcf
save work status
2025-12-10 17:24:43 +08:00