Repository navigation
Conversation
Contributor
|
| Project | Bencher |
| Branch | u/ep/changepoint/alert-fix |
| Testbed | intel-v1 |
Click to view all benchmark results
| Benchmark | Latency | Benchmark Result microseconds (µs) (Result Δ%) | Upper Boundary microseconds (µs) (Limit %) |
|---|---|---|---|
| Adapter::Json | 📈 view plot 🚷 view threshold | 5.39 µs(+3.66%)Baseline: 5.20 µs | 5.47 µs (98.45%) |
| Adapter::Magic (JSON) | 📈 view plot 🚷 view threshold | 5.21 µs(+3.61%)Baseline: 5.03 µs | 5.29 µs (98.58%) |
| Adapter::Magic (Rust) | 📈 view plot 🚷 view threshold | 26.66 µs(-0.70%)Baseline: 26.85 µs | 28.64 µs (93.07%) |
| Adapter::Rust | 📈 view plot 🚷 view threshold | 4.58 µs(+2.50%)Baseline: 4.47 µs | 4.67 µs (98.08%) |
| Adapter::RustBench | 📈 view plot 🚷 view threshold | 4.53 µs(+1.57%)Baseline: 4.46 µs | 4.67 µs (97.02%) |
This branch has not been 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.
When a branch head is replaced (a reset or a new start point), the old head's alerts are silenced. Until now that rewrote every alert on the head: a dismissed alert became
silencedand lost itsmodified, so the record of what a user dismissed, and when, was gone.QueryAlert::silence_allnow silences onlyactivealerts. Adismissedor alreadysilencedalert keeps its status and itsmodified. The update reaches the head throughalert.report_idandreport.head_id, served by the existingindex_alert_reportandindex_report_head, instead of joining through boundary, metric, and report benchmark.Tests
silence_all_silences_only_active_alerts_for_headreplaces the test that pinned the old behavior: one active, one dismissed, and one silenced alert on a head, and only the active one changes.for_branch_silences_only_active_old_head_alertsruns the real head replacement (insert_for_branch) instead of a copy of the old query.alerts_a_head_reset_silences_only_active_alertsresets a branch through the API. No existing API test had alerts on a replaced head, so it is a new test beside the other alert tests.silence_all_ignores_other_headsandsilence_all_empty_returns_zeronow call the real function.Each new test failed on the old code before the fix.
Changelog
A dismissed Alert stays dismissed when its Branch head is replaced.