mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-12-02 17:13:33 +01:00
The admin Errors page now shows one list of issues: records grouped by error code (or exception type), service and route, each with a plain-language title, a likely cause, its impact (failures, repositories, users), a trend and when it was last seen. Expected 4xx answers sit in a collapsed group; slow and interrupted requests are left out and counted, with a link to Performance. - GET /api/admin/errors/issues groups server-side (admin-error-issues.ts). It reads central logs when they answer and the Redis history otherwise, accepts validated repoId/userId/service/window filters and resolves repository owners and user names when the database is connected. - The cause is derived from external_request records of the same requests (#990 field names), fast 429s, storage and network codes, and the first application stack frame; otherwise it says nothing is known. - Issue page (?issue=) with cause, affected repositories and owners, who hit it, failures over time and occurrences. Request view (&occurrence=) with a waterfall from the existing correlation lookup and Request, Exception and All fields tabs; missing data shows as "not recorded". - Repositories (search = one repoId) and user admin pages list their issues, with a "failing now" banner. - The source switch, export, clear history, telemetry and 24-hour counters move to a collapsed "Settings and diagnostics" section. - Synthetic fixtures shared by dev-mock and preview-errors; old errors-page CSS removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
69 lines
3.6 KiB
JavaScript
69 lines
3.6 KiB
JavaScript
import { render as adminEmailsTemplate } from "../partials/admin/emails.htm";
|
|
import { render as reviewConsentTemplate } from "../partials/reviewConsent.htm";
|
|
import { render as connectionsTemplate } from "../partials/connections.htm";
|
|
import { render as signinTemplate } from "../partials/signin.htm";
|
|
import { render as template0 } from "../partials/404.htm";
|
|
import { render as template1 } from "../partials/admin/conferences.htm";
|
|
import { render as template2 } from "../partials/admin/errors.htm";
|
|
import { render as adminEntityErrorsTemplate } from "../partials/admin/entityErrors.htm";
|
|
import { render as template3 } from "../partials/admin/overview.htm";
|
|
import { render as template4 } from "../partials/admin/queues.htm";
|
|
import { render as template5 } from "../partials/admin/repositories.htm";
|
|
import { render as template6 } from "../partials/admin/user.htm";
|
|
import { render as template7 } from "../partials/admin/users.htm";
|
|
import { render as template8 } from "../partials/anonymize.htm";
|
|
import { render as template9 } from "../partials/anonymizePullRequest.htm";
|
|
import { render as template10 } from "../partials/claim.htm";
|
|
import { render as template11 } from "../partials/conference.htm";
|
|
import { render as template12 } from "../partials/conferences.htm";
|
|
import { render as template13 } from "../partials/dashboard.htm";
|
|
import { render as template14 } from "../partials/explorer.htm";
|
|
import { render as template15 } from "../partials/faq.htm";
|
|
import { render as template16 } from "../partials/gist.htm";
|
|
import { render as template17 } from "../partials/header.htm";
|
|
import { render as template18 } from "../partials/home.htm";
|
|
import { render as template19 } from "../partials/loading.htm";
|
|
import { render as template20 } from "../partials/newConference.htm";
|
|
import { render as template21 } from "../partials/pageView.htm";
|
|
import { render as template22 } from "../partials/pr-dashboard.htm";
|
|
import { render as template23 } from "../partials/profile.htm";
|
|
import { render as template24 } from "../partials/pullRequest.htm";
|
|
import { render as template25 } from "../partials/status.htm";
|
|
import { render as adminBillingTemplate } from "../partials/admin/billing.htm";
|
|
import { render as footerTemplate } from "../partials/footer.htm";
|
|
export const templates = {
|
|
"partials/reviewConsent.htm": reviewConsentTemplate,
|
|
"partials/connections.htm": connectionsTemplate,
|
|
"partials/signin.htm": signinTemplate,
|
|
"partials/404.htm": template0,
|
|
"partials/admin/billing.htm": adminBillingTemplate,
|
|
"partials/admin/emails.htm": adminEmailsTemplate,
|
|
"partials/admin/conferences.htm": template1,
|
|
"partials/admin/errors.htm": template2,
|
|
"partials/admin/entityErrors.htm": adminEntityErrorsTemplate,
|
|
"partials/admin/overview.htm": template3,
|
|
"partials/admin/queues.htm": template4,
|
|
"partials/admin/repositories.htm": template5,
|
|
"partials/admin/user.htm": template6,
|
|
"partials/admin/users.htm": template7,
|
|
"partials/anonymize.htm": template8,
|
|
"partials/anonymizePullRequest.htm": template9,
|
|
"partials/claim.htm": template10,
|
|
"partials/conference.htm": template11,
|
|
"partials/conferences.htm": template12,
|
|
"partials/dashboard.htm": template13,
|
|
"partials/explorer.htm": template14,
|
|
"partials/faq.htm": template15,
|
|
"partials/gist.htm": template16,
|
|
"partials/header.htm": template17,
|
|
"partials/home.htm": template18,
|
|
"partials/loading.htm": template19,
|
|
"partials/newConference.htm": template20,
|
|
"partials/pageView.htm": template21,
|
|
"partials/pr-dashboard.htm": template22,
|
|
"partials/profile.htm": template23,
|
|
"partials/pullRequest.htm": template24,
|
|
"partials/status.htm": template25,
|
|
"partials/footer.htm": footerTemplate
|
|
};
|