myxce/src/frontend
lei.chen c630809116 fix(apiserver): job_status notnull filter matches every job (bug-1504)
`xcecli jobs list -a` returned "no job found" even when jobs existed.
FilterRows routes every condition on a bitmask field (job_status /
host_status) to MatchesBitmaskCondition, which only implemented OpEQ/OpNE
bitmask semantics — the `-a` filter compiles to `job_status notnull`
(OpNOTNULL), which fell through to `return false` and filtered out every
job. (The default list's `notin(EXIT,DONE)` is compiled to OpEQ(mask), so
it was unaffected.)

Add OpISNULL/OpNOTNULL branches to MatchesBitmaskCondition that test the
raw field value. New query_test.go: 3 regression tests (notnull matches
all, null matches none, bitmask notin path unaffected), RED->GREEN.
Verified live: `xcecli jobs list -a` now lists all jobs including DONE.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-05 01:43:07 +00:00
..
apiserver fix(apiserver): job_status notnull filter matches every job (bug-1504) 2026-08-05 01:43:07 +00:00
docs Merge Go frontend (apiserver + xcecli) into meson build 2026-04-14 11:23:18 +08:00
mcp-server feat(scheduler-agent): Phase 1 write operations — submit/cancel/hold/release + templates 2026-08-01 09:54:38 +00:00
schedulerclient fix(schedulerclient): parse apiserver OrderMap columnar rows (bug-1491) 2026-08-02 05:01:16 +00:00
tests/regression Merge Go frontend (apiserver + xcecli) into meson build 2026-04-14 11:23:18 +08:00
xcecli fix(xcecli): restore dangling CA-cert cleanup misses, enable https support 2026-07-23 07:28:01 +00:00
CLAUDE.md docs(scheduler-agent): update design doc with cluster verification results 2026-08-01 09:54:49 +00:00
Makefile Merge Go frontend (apiserver + xcecli) into meson build 2026-04-14 11:23:18 +08:00
meson.build Merge Go frontend (apiserver + xcecli) into meson build 2026-04-14 11:23:18 +08:00