chore: misc fixes, add pb snapshot test#4561
Conversation
|
🚅 Deployed to the rivet-pr-4561 environment in rivet-frontend
|
a14fd3f to
511a7af
Compare
9f06a14 to
e815bd1
Compare
511a7af to
de70131
Compare
PR Review: chore: misc fixes, add pb snapshot testSummaryThis PR combines formatting/style cleanups across PositivesParallel Eviction Metric name prefixes ( Snapshot test scenario Issues / Observations1. Metric renames are a breaking change for monitoring Any Grafana dashboards, alerting rules, or recording rules referencing the old metric names will silently break. If these metrics are wired into production dashboards, note them in the PR description or handle the migration (e.g. temporarily keep old names with a deprecation label). 2. Potential flakiness in the snapshot scenario ( tokio::time::sleep(Duration::from_secs(5)).await;A fixed 5-second sleep assumes the actor reliably reaches sleep state in time. Under CI load or on slower machines this could be flaky. Polling for the actor workflow state would be more robust. That said, if this generator is run once manually rather than in CI, it is acceptable as-is. 3. Eviction priority not explicit in lifecycle match ( The match handles (Ok(res), Ok(LifecycleResult::Aborted), _) => Ok(res),
(Ok(LifecycleResult::Aborted), Ok(res), _) => Ok(res),
// Unlikely case
(res, _, _) => res,Consider 4. Removal of The 5. Minor: comment style ( Per CLAUDE.md conventions, comments should be complete sentences. VerdictThe logic changes are correct and the refactoring is well-motivated. The main thing to address before merge is awareness of the metric rename impact on dashboards/alerting. The eviction match ordering edge case is worth a comment even if it cannot occur in practice. Generated with Claude Code |
e815bd1 to
b15930f
Compare
de70131 to
4639183
Compare
4639183 to
fdd0c18
Compare
b15930f to
63cf726
Compare
63cf726 to
e4e0a33
Compare
fdd0c18 to
17a60a7
Compare
17a60a7 to
85acf51
Compare
e4e0a33 to
29df347
Compare
Merge activity
|
85acf51 to
62a61d6
Compare

Description
Please include a summary of the changes and the related issue. Please also include relevant motivation and context.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Checklist: