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:
parent
f389845701
commit
f51adebe8e
11 changed files with 251 additions and 117 deletions
|
|
@ -1,8 +1,8 @@
|
|||
---
|
||||
id: "bug-1961"
|
||||
status: "open"
|
||||
status: "fixed"
|
||||
status_updated: "2026-10-10"
|
||||
status_note: "newly logged"
|
||||
status_note: ""
|
||||
component: "apiserver"
|
||||
severity: "wrong-result"
|
||||
timestamp: "2026-10-10T10:16:04Z"
|
||||
|
|
@ -11,6 +11,7 @@ occurrences: 1
|
|||
files: ["src/frontend/apiserver/controllers/hosts.go"]
|
||||
tags: ["apiserver", "hosts"]
|
||||
related: []
|
||||
fix_commits: ["d720132c"]
|
||||
gitea_issue: 392
|
||||
gitea_synced_status: "open"
|
||||
gitea_synced_hash: "7371293540aa"
|
||||
|
|
@ -38,15 +39,16 @@ Reported by the bug-1949 fix: `validateHost` (`controllers/hosts.go`) writes a 4
|
|||
- 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
|
||||
`validateHost` (`controllers/hosts.go`) wrote a 403 via `ReturnError` without aborting, so `ControlHost`'s `IsAborted()` check never fired and it wrote a second (202) response. Pre-existing.
|
||||
|
||||
## Fix
|
||||
TODO: required for fixed/partial
|
||||
`validateHost` no longer writes a response: it checks `host:control` once, before the host loop (it used to check per host and not at all for an empty list), and returns an error; `ControlHost` writes a single 403 and returns; for `all` the host list is resolved first.
|
||||
|
||||
## 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: `TestControlHost_RejectedWritesSingleResponse` (`controllers/hosts_handler_test.go`, route without its guard): RED `hosts_handler_test.go:61: handler wrote 2 responses, want 1`, GREEN after.
|
||||
- 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: `d720132c` (on `scheduler-framework`)
|
||||
- Found as a follow-up of the 2026-10-10 P0 fixes (bug-1936..1957)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue