Skip to content

Conversation

@barreiro
Copy link
Collaborator

@barreiro barreiro commented Nov 7, 2025

Fixes Issue

Improves how the change detection is performed.

This PR incorporates #2559

Changes proposed

A new event and queue is used to decouple change detection from datapoint creation.
Change detection now is done in one go, instead of the previous algorithm.

Check List (Check all the applicable boxes)

  • [ x] My code follows the code style of this project.
  • My change requires changes to the documentation.
  • I have updated the documentation accordingly.
  • [x ] All new and existing tests passed.

@barreiro barreiro requested review from lampajr and stalep November 7, 2025 09:59
@stalep
Copy link
Member

stalep commented Nov 24, 2025

Is this ready to be reviewed @barreiro ?

stalep and others added 4 commits November 25, 2025 13:04
@barreiro barreiro force-pushed the deadlock_investigation branch from a6111c6 to 18a8e18 Compare November 25, 2025 13:36
@barreiro barreiro marked this pull request as ready for review November 27, 2025 14:56
@barreiro
Copy link
Collaborator Author

rebased and fixed the failing test... it's ready now!

Copy link
Member

@lampajr lampajr left a comment

Choose a reason for hiding this comment

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

I just started reviewing it and I found this:

  • When you click "save" on "Change detection" tab, you can recalculate all datapoints but since now the computation is more synchronous the progress bar does not reflect the real status it goes from 0 to 100 as soon as completed
image

I believe this should be properly adapted to the new logic.

I will keep reviewing it..

@lampajr
Copy link
Member

lampajr commented Nov 27, 2025

I did some other tests trying to recalculate datapoints/changes and the first results look, so I believe that once the issue I shared is sorted out we could try to merge it and you can see in staging (with ~prod like data)

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