Repository navigation
feat(server): update a stored event in place by its replace key, and send is_sticky to the web UI - #406
Open
roxblnfk wants to merge 1 commit into
Open
feat(server): update a stored event in place by its replace key, and send is_sticky to the web UI#406roxblnfk wants to merge 1 commit into
is_sticky to the web UI#406roxblnfk wants to merge 1 commit into
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #406 +/- ##
==========================================
- Coverage 82.51% 82.40% -0.11%
==========================================
Files 490 491 +1
Lines 20853 20941 +88
==========================================
+ Hits 17206 17256 +50
- Misses 3647 3685 +38 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
roxblnfk
force-pushed
the
feat/replace-key
branch
4 times, most recently
from
December 1, 2026 20:43
f821459 to
50ad822
Compare
…send `is_sticky` to the web UI An application that reports the same state over and over fills the list with stale copies. As in Buggregator Server 2.17 (buggregator/frontend#416, #415), an event with a replace key takes the UUID of the stored event of the same project, type and key; its own UUID becomes an alias of that event, since mappers put it into payload links (attachments, Xdebug trace files) and Ray clients send their next requests with it. Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
roxblnfk
force-pushed
the
feat/replace-key
branch
from
December 1, 2026 21:03
50ad822 to
2dccab7
Compare
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
event.receivedwith the same UUID andreplace_keyon the event, which frontend 1.45 shows as «live».X-Buggregator-Replace-Keyheader of any HTTP request or email;replace_keyat the top of a Ray request (the header wins);context/extra/top-levelreplace_keyof Monolog; thereplace_keySentry tag (wins over the header). Trimmed, cut to 200 bytes."is_sticky": trueat the top of a Monolog record, Ray request or Sentry event goes to the UI asis_sticky(Sticky events: keep chosen events on top of the list while scrolling frontend#415); a Ray event takes it from its first request.How it works
EventCollectormerges them, the event's own winning.EventStoremapsproject/type/keyto the stored UUID. The replacing event's own UUID becomes an alias: mappers embed it in payload links, and a Ray client sends its next requests with it, which then add to the same event.StoreListener::updated()now gets the previous record:TraceStoragemoves the new trace file to the event's UUID and deletes the old one.Review notes
file), hence the alias instead of re-mapping.Checklist
composer psalm(no new errors),composer structarmedlocally. Locally failing and unrelated: threeProtobufCasterTest(local environment, also on master).Documentation
docs/web-ui.md(Events updated in place),skills/trap/references/integrations.md.