Repository navigation
Conversation
The removed-path banner only ever showed 'unmatched'. Unmatched hits now key on an allowlisted first path segment (/api/containers/*) plus a coarse client class from the User-Agent, the first hit per resource and client each hour is logged with method, path, user agent and remote address, and the banner shows resource, client and last-seen time. Refs #1370
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| const path = sanitizeForLog(rawPath, MAX_LOGGED_PATH_LENGTH); | ||
| const ua = userAgent === '' ? 'none' : sanitizeForLog(userAgent, MAX_LOGGED_USER_AGENT_LENGTH); | ||
| log.info( | ||
| `Removed unversioned API path hit (${resourceKey}): ${req.method} ${path} from client=${client} user-agent="${ua}" remote=${req.ip ?? 'unknown'}. Migrate the caller to /api/v1/*; this line is logged at most once per hour per resource and client.`, |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
scttbnsn
added a commit
that referenced
this pull request
Oct 20, 2026
scttbnsn
added a commit
that referenced
this pull request
Oct 20, 2026
* refactor(app): share error, sleep and status helpers (#1423) * refactor(component): share one secret-mask helper (#1414) * feat(api): name the caller behind removed-API hits (#1402) * refactor(ui): share the search-from-query logic (#1418) * refactor(ui): seed the operations store from the container list (#1428) * build(docker): use Alpine's patched zlib and drop the custom build (#1417) * chore(license): relicense from AGPL-3.0 to MIT (#1410) * docs(changelog): one heading per section in Unreleased
Contributor
Author
|
Landed in #1434 as part of folding the reviewed 1.8 work into 1.8.0. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The removed-API-path banner only showed
unmatched, so there was no way to tell which client was calling. Unmatched hits now key on the allowlisted first path segment (/api/containers/*, never an id) plus a coarse client class from the User-Agent (via homepage). The first hit per resource and client each hour is logged with method, path, user agent and remote address, and the banner shows resource, client and last-seen time with a pointer to the server log.Held for 1.8.1, do not merge before the v1.8 GA.
Refs #1370