feat(scheduler-sim-diagnostics): display configured limit setting via fmt_limit()
repl_info_limit() now prints a matched limit's configured setting on both the all and named-lookup success paths: fmt_limit() (existing libxce formatter, unmodified) into a stack buffer, re-split and printed through a new repl_print_limit_dump() helper matching this file's existing [sim]-prefix- per-line convention. Inclusion and exclusion group membership both render since fmt_group() already handles both, adopted as-is per design.md's explicit reuse decision. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RLSNJhNoULvVcUhXEFafQC
This commit is contained in:
parent
d3df8fb29f
commit
117d01c77e
3 changed files with 199 additions and 15 deletions
|
|
@ -17,7 +17,7 @@
|
|||
- _Requirements: 1.3, 1.7, 4.1, 4.2_
|
||||
- _Depends: 1_
|
||||
|
||||
- [ ] 2.2 Display configured setting including scope membership
|
||||
- [x] 2.2 Display configured setting including scope membership
|
||||
- Matched limit's name, constrained resource, value/percent, and per-dimension scope print via the existing `fmt_limit()` library formatter into a stack buffer, line-prefixed with the existing `[sim] ` convention; all output via `fprintf(stdout, ...)`, never bare `printf()` (`test_no_bare_printf.c` regression-gates this)
|
||||
- Inclusion and exclusion group membership both render (`fmt_group()` already handles this, adopted as-is)
|
||||
- Observable: a limit configured with an exclusion group ("all except X") shows both the inclusion and the exclusion in its output; `info limit all` against a fixture with multiple configured limits displays every one's setting
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue