docs(buglog): follow-ups fixed (bug-1958..bug-1966); log bug-1967 (limit config re-push)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Rongsong Shen 2026-10-10 10:47:23 +00:00
parent f389845701
commit f51adebe8e
Signed by untrusted user: rshen
GPG key ID: 80533536B0EB651C
11 changed files with 251 additions and 117 deletions

View file

@ -1,8 +1,8 @@
---
id: "bug-1963"
status: "investigating"
status: "fixed"
status_updated: "2026-10-10"
status_note: "suspected; confirm with a scheduler fixture test"
status_note: ""
component: "scheduler"
severity: "wrong-result"
timestamp: "2026-10-10T10:16:09Z"
@ -11,6 +11,7 @@ occurrences: 1
files: ["src/scheduler/src/host_iter.c"]
tags: ["scheduler", "host"]
related: []
fix_commits: ["2cd02cdc"]
gitea_issue: 394
gitea_synced_status: "investigating"
gitea_synced_hash: "6f389c3e4c8b"
@ -38,15 +39,16 @@ Suspected (reported by the bug-1939 fix, not verified): `sched_host_iter_next()`
- Frequency: deterministic (by code reading; confirmed by the RED test of the fix)
- Evidence: the code sites quoted in Description; no logs kept.
## Root cause
TODO: required for fixed/partial
`sched_host_iter_next()` (`src/scheduler/src/host_iter.c`) skipped only admin-closed hosts; the UNAVAIL/RECONCILING checks elsewhere (`resource.c`, `core_session.c`) only affect accounting, and such a host keeps its last usage, so the resource check does not reject it. Pre-existing.
## Fix
TODO: required for fixed/partial
`host_iter.c` skips `IS_WORKER_UNAVAIL` and `IS_WORKER_RECONCILING` hosts right after the closed-host check, for both drivers.
## Verification
- Test: TODO: name + file; RED before the fix, GREEN after
- Suites: TODO: suite results and build profile
- Live: TODO: soak/deploy run, or n/a and why
- Test: `test_unavail_and_reconciling_hosts_get_no_new_jobs` (`src/scheduler/testsuite/test_host_unavail_reconciling.c`): RED `test_host_unavail_reconciling.c:200: FAIL: Expected 1 Was 2 (normal mode, unavailable host: serial job B must pend)`, GREEN after (both drivers, both status bits).
- Suites: `xce-build.sh all asan xce.build --incremental` on the merged branch, 2026-10-10: C suites Ok 157 / Fail 0; frontend Go tests ok (the build now also runs apiserver cmd, middleware, models and router)
- Live: n/a: unit/fixture-level verification; no live deployment was run
## References
- Related: none
- Fix commits: `2cd02cdc` (on `scheduler-framework`)
- Found as a follow-up of the 2026-10-10 P0 fixes (bug-1936..1957)