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-1962"
|
||||
status: "open"
|
||||
status: "fixed"
|
||||
status_updated: "2026-10-10"
|
||||
status_note: "newly logged"
|
||||
status_note: ""
|
||||
component: "apiserver"
|
||||
severity: "security"
|
||||
timestamp: "2026-10-10T10:16:07Z"
|
||||
|
|
@ -11,6 +11,7 @@ occurrences: 1
|
|||
files: ["src/frontend/apiserver/middleware/validatehandler.go"]
|
||||
tags: ["apiserver", "security", "jwt"]
|
||||
related: []
|
||||
fix_commits: ["387a421c"]
|
||||
gitea_issue: 393
|
||||
gitea_synced_status: "open"
|
||||
gitea_synced_hash: "8d6ac245ba9a"
|
||||
|
|
@ -38,15 +39,16 @@ gitea_synced_hash: "8d6ac245ba9a"
|
|||
- 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
|
||||
`isExcludedPath` (`middleware/validatehandler.go`) cut the last character of every excluded entry and matched by prefix. Pre-existing.
|
||||
|
||||
## Fix
|
||||
TODO: required for fixed/partial
|
||||
The (hardcoded) excluded list moved to `jwtExcludedPaths`; entries match exactly; an entry ending in a gin catch-all segment (`/swagger/*any`) matches anything under `/swagger/`; ping, logon, logout and swagger still excluded.
|
||||
|
||||
## 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: `TestIsExcludedPath`, `TestValidateHandler_PrefixLookAlikeNeedsToken` (`middleware/validatehandler_test.go`): RED `isExcludedPath("/pinX") = true, want false`, `isExcludedPath("/swagger/index.html") = false, want true`, `/pinX without a token reached the handler (status 200)`; 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: `387a421c` (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