mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-12-02 17:13:33 +01:00
fix(admin): group errors by code and service, list the routes that failed
- An issue is now one error code (or exception type) per service: one cause,
such as a rate-limit burst, hits many routes. Rows show the most frequent
route and "+N routes"; the issue page lists them with a count and a bar.
- The request header shows the viewer as a role ("Viewer: owner", "Viewer not
signed in") beside the owner chip, with a user link only for another user.
- List meta parts no longer leave a lone separator when they wrap.
- The issue page shows the 10 latest occurrences and a "Show all" button
instead of clipping the list.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c91e662034
commit
d3860f29ad
11 files changed
+136
-65
No files matched your search
@@ -45,7 +45,7 @@ function errorFixture({ repos, users, owners = {}, release = "4b2c1e9a7d", previ
|
||||
// the GitHub owner, so no repository ID is kept: the "not recorded" state.
|
||||
for (let i = 0; i < 34; i++) {
|
||||
add({ timestamp: at(380 + i * 0.6), service: "api", module: "route", event: "application_log", severity: "warn", errorCode: "github_rate_limit_exceeded",
|
||||
status: 429, method: "GET", route: "/api/repo/:owner/:repo", requestId: uuid(n++), ms: i % 11 === 0 ? 180 : 5 + (i % 9), release: previous });
|
||||
status: 429, method: "GET", route: pick(["/api/repo/:owner/:repo", "/api/user/all_repositories", "/api/repo/:owner/:repo", "/api/repo/:owner/:repo/readme", "/api/gist/source/:id"], i), requestId: uuid(n++), ms: i % 11 === 0 ? 180 : 5 + (i % 9), release: previous });
|
||||
}
|
||||
|
||||
// 3. An internal TypeError with a stack, first seen in the newest release.
|
||||
|
||||
Reference in new issue
Block a user