52 lines
2 KiB
Markdown
52 lines
2 KiB
Markdown
---
|
|
id: "bug-1965"
|
|
status: "open"
|
|
status_updated: "2026-10-10"
|
|
status_note: "newly logged"
|
|
component: "build"
|
|
severity: "noise"
|
|
timestamp: "2026-10-10T10:16:14Z"
|
|
last_seen: "2026-10-10T10:16:14Z"
|
|
occurrences: 1
|
|
files: ["src/tools/xce-build.sh"]
|
|
tags: ["build", "tests", "apiserver"]
|
|
related: []
|
|
gitea_issue: 396
|
|
gitea_synced_status: "open"
|
|
gitea_synced_hash: "eed0237b5ae0"
|
|
---
|
|
|
|
# bug-1965: xce-build.sh apiserver skips the middleware, router and cmd Go test packages
|
|
|
|
## Description
|
|
**Observed:** (source reading; follow-up of the 2026-10-10 P0 fixes (bug-1936..1957))
|
|
`xce-build.sh` runs `go test ./store/... ./utils/... ./controllers/... ./backend/...` for the apiserver; `./middleware/...`, `./router/...`, `./cmd/...` (which hold several security tests since bug-1945..1952) are never run by the build.
|
|
|
|
**Expected:** The build runs every apiserver test package.
|
|
**Impact:** Regressions in middleware/router/cmd tests go unnoticed by `/xce-build`.
|
|
**Found by:** follow-up of the 2026-10-10 P0 fixes (bug-1936..1957)
|
|
## Environment
|
|
- OS: no /etc/os-release; Docker container; NixOS kernel; kernel Linux 6.18.33 x86_64
|
|
- libc: glibc 2.42-47 (interpreter /nix/store/wb6rhpznjfczwlwx23zmdrrw74bayxw4-glibc-2.42-47/lib/ld-linux-x86-64.so.2)
|
|
- Toolchain: gcc (GCC) 15.2.0, meson 1.9.1
|
|
- Build: asan (xce.build)
|
|
- Code: scheduler-framework @ 19be145d-dirty
|
|
- Deployment: any (found by source reading; confirmed by the RED test of the fix)
|
|
|
|
## Reproduction
|
|
1. Read `src/tools/xce-build.sh` (apiserver go test line); break a middleware test and run `/xce-build apiserver`: it passes.
|
|
- 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
|
|
|
|
## Fix
|
|
TODO: required for fixed/partial
|
|
|
|
## 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
|
|
|
|
## References
|
|
- Related: none
|