Skip to content

Conversation

@Shatur
Copy link
Contributor

@Shatur Shatur commented Oct 30, 2025

Requires #601.

After #553, we now store a RepliconTick per entity. This allows us to simplify acknowledgment by comparing against it instead of comparing by Tick.

@Shatur Shatur requested a review from UkoeHB October 30, 2025 00:20
@codecov
Copy link

codecov bot commented Oct 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.92%. Comparing base (e251376) to head (66761ce).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #602      +/-   ##
==========================================
- Coverage   91.93%   91.92%   -0.01%     
==========================================
  Files          58       58              
  Lines        3321     3320       -1     
==========================================
- Hits         3053     3052       -1     
  Misses        268      268              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

// if we detect any insertion on the entity in `collect_changes`.
if !system_tick.is_newer_than(mutate_info.system_tick, this_run) {
if *server_tick < mutate_info.server_tick {
*system_tick = mutate_info.system_tick;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is system_tick still needed?

Copy link
Contributor Author

@Shatur Shatur Oct 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we use it for change detection. But since after #553 we now store RepliconTick for prioritization for each entity, we can just use it to check if the entity was already acked.

Base automatically changed from rework-lookups to master October 30, 2025 16:28
After #553, we now store a `RepliconTick` per entity. This allows us to
simplify acknowledgment by comparing against it instead of comparing by
`Tick`.
@Shatur
Copy link
Contributor Author

Shatur commented Oct 30, 2025

Rebased after #601 merge, no code changes.

@Shatur Shatur enabled auto-merge (squash) October 30, 2025 16:35
@Shatur Shatur requested a review from UkoeHB October 30, 2025 16:44
@Shatur Shatur merged commit 67c3272 into master Nov 1, 2025
9 checks passed
@Shatur Shatur deleted the simplify-acks branch November 1, 2025 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants