myxce/src/scheduler
Rongsong Shen 2d533e652e
test(scheduler-core): recording lifecycle integration tests (task 9.5)
Extends test_admin_request.c with 3 tests closing the gap between what
task 9.4's own suite already proved through scheduler_req_handler() and
what this task's text specifically asks for: a ".."-traversal rejection
and a real symlink(2)-escape rejection, both submitted as genuine
SchedAdminRequests (not internal calls), and a disk-full simulation
(fflush + setvbuf(_IONBF) + close(fd), matching task 9.3's technique)
proving sched_record_abort_on_error()'s cleanup is visible through a
subsequent real recordStatus request and that recording recovers cleanly
afterward.

Hard-link-aliasing coverage deliberately not re-added through the admin
path -- task 9.1/9.2 already exhaustively prove that rejection branch,
and the routing plumbing this task exists to prove is already retired by
the dotdot/symlink cases.

17/17 in sched_admin_request_test, 26/26 scheduler suite, clang-format
clean. Closes out Group 9 (Core: Recording Control).
2026-08-05 14:35:52 +00:00
..
include feat(scheduler-core): implement scheduler-side admin request handler (task 9.4) 2026-08-05 14:11:43 +00:00
src feat(scheduler-core): implement scheduler-side admin request handler (task 9.4) 2026-08-05 14:11:43 +00:00
testsuite test(scheduler-core): recording lifecycle integration tests (task 9.5) 2026-08-05 14:35:52 +00:00
CLAUDE.md enhance xce-build skill 2026-05-30 08:13:59 +08:00
meson.build feat(scheduler-core): implement record start/stop lifecycle (task 9.2) 2026-08-05 09:07:51 +00:00