Repository navigation
Conversation
The UI 1.40-1.42 asks the event list for `type`, `trace`, `q`, `offset` and the feed filters (`host=web-1`, `not.level=debug`, `tag=name:value`), and calls `/api/events/facets` and `/api/events/histogram`: the Logs page, the filter bar of the feeds and the request view of a trace use them. Trap ignored the parameters, so the request view of a trace listed every event and the Logs page failed. Monolog, Sentry, HTTP dump and mail events now carry the values buggregator/server indexes, and the UI gets them in `facets` of an event. Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
…eir tags The build links its styles with `crossorigin`: a preload without it is not used, and the browser warns about it on every page load. Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
The new Logs page opens at `/logs`, and the login page brings `.webp` pictures. The features of the UI that need buggregator/server 2.13 and 2.14 and that Trap has not (Broadcast, CSP reports, Sentry Crons, Queues and Feedback, the email relay, the versions and invite card of an email, sign-in) stay hidden or empty: Trap answers 404 to their endpoints, which the UI takes for a server without them. Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #379 +/- ##
==========================================
+ Coverage 80.48% 80.55% +0.06%
==========================================
Files 426 432 +6
Lines 17049 17488 +439
==========================================
+ Hits 13722 14087 +365
- Misses 3327 3401 +74 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…le tags As in buggregator/server: a Ray event takes the hosts of its payloads' `origin`, a profile its `hostname` and tags, a dump the host of the request it was made in. Without them a `host=web-1` filter hid every Ray event and profile of web-1. The trap skill now states the Logs page, the filter values and how an event joins the request view of a trace, as the docs do. Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
… 100 years fix(ui): fold the case of any letter in the search of the Logs page test(ui): cover the trace facet of a mail, the facets of a Sentry store event, counts under an exclusion and a histogram 400 over HTTP A window as `99999999999999999999d` overflowed the bucket arithmetic into a float; buggregator/server caps it the same way. The UI folds the case of a live line with `toLowerCase()`, so an `Ошибка` line it showed was gone after a reload: `mb_strtolower` folds it on the server when mbstring is there. Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
…age of its error
As buggregator/server does, `feedback` and legacy `user_report` envelope items make no feed event: Trap keeps them in the telemetry store, the last 1 000, by the project of the envelope. `GET /api/sentry/feedback` lists them newest first by project, period and `event_id`, `/api/sentry/counts` counts them so the UI shows the Feedback tab, and clearing the Sentry section deletes them, but the feedback on a pinned error when the pinned events stay. `/api/event/{id}` finds a Sentry error by its Sentry event ID too, which the Feedback tab links by. AI agents read the feedback with the new `list_feedback` tool, and the console prints who wrote it, the page, the error and the message. `trap test` sends a feedback on its error and one on its own.
Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
… structure A malformed payload with `hostname` as an array warned "Array to string conversion" when the UI got the profile. Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
`window=0d` asked for the events since now and got none; buggregator/server reads it as no window. Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
An error page opened from the Feedback tab has the Sentry `event_id` in its route and deletes and pins the error by it: the deletes found nothing and answered success, so the error stayed in the feed. Every route that takes an event ID now resolves it as the event page does. An ID of only dashes finds no event, not one with an empty `event_id`. Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
…list_feedback` filter A feedback item with a field of another type, as `contexts.feedback` a string or `message` a list, made an empty entry; buggregator/server drops it, and so does Trap now, the console saying so. `list_feedback` filtered on the first item of a list given for `project` or `event_id`; it now fails the call, as its schema takes a string. Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
… takes as non-empty Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
…k` for Sentry user feedback test(server): check that `trap test` fills the Feedback tab and links its feedback to an error An envelope of only feedback makes no event, so a wait for it never returns. The docs and the trap skill say so, give user feedback a section of its own in the skill, and say that the feedback limit drops the feedback on a pinned error too: the store of the feedback does not know the pins. Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
… a pinned error Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
What was changed
/logsopens as a UI page, and the.webppictures of the build are stored as binary.type,trace,q,offsetand the feed filters (host=web-1,not.level=debug,tag=name:value);/api/events/facetsand/api/events/histogramanswer as in buggregator/server. Monolog, Sentry, Ray, profile, dump, HTTP dump and mail events carry their filter values infacets; the window and histogram bucket are capped at 100 years, and the search folds the case of any letter.feedbackanduser_reportitems) goes to a store of its own, as in buggregator/server:/api/sentry/feedback, afeedbackcount, clearing with the Sentry section, thelist_feedbackMCP tool and a console rendering.crossorigin, as the build links them: no more preload warning on every page.Why?
Against 1.42 the Logs page, shown in the menu whenever Monolog is on, failed with "The server answered 404", the filter picker could not load its values, and the Request view of a trace (now the default view) listed every event of Trap as part of the request, because Trap ignored
trace=.broadcastevent type/api/cronsis 404list_feedbackMCP tool; feedback makes no feed event, as in the servercspevent typetrace_id, HTTP dump and mail trace headers/api/sentry/queues/*is 404parts/calendarChecklist
bin/trap --uion its own port and on a shared TCP port, filled withbin/trap test, every page walked in headless Chromium; only the expected 404s of missing server features remainDocumentation
docs/web-ui.md: version,/logs, what stays hidden, the Logs page and the feed filter values;docs/monolog.md,docs/sentry.mdandskills/trap/references/server.mdfollow.