Skip to content

[ui] Graph: In minimal refresh, do not poll files for chunks run locally#2672

Merged
yann-lty merged 1 commit into
developfrom
fix/externalMinFileWatcher
Feb 17, 2025
Merged

[ui] Graph: In minimal refresh, do not poll files for chunks run locally#2672
yann-lty merged 1 commit into
developfrom
fix/externalMinFileWatcher

Conversation

@cbentejac

Copy link
Copy Markdown
Contributor

Description

When the minimal refresh mode is on, only chunks that are running, submitted or in error while their execution mode is external should be polled.

Chunks that have the same status but with a local execution mode will be correctly updated as their status changes will be notified.

The behaviour for the automatic refresh mode remains the same: all the chunks are polled, independently from their status and their execution mode.

@cbentejac cbentejac added this to the Meshroom 2025.1.0 milestone Feb 14, 2025
@cbentejac cbentejac self-assigned this Feb 14, 2025
@codecov

codecov Bot commented Feb 14, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.67%. Comparing base (6ee3b01) to head (bae85d6).
Report is 2 commits behind head on develop.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2672   +/-   ##
========================================
  Coverage    72.67%   72.67%           
========================================
  Files          128      128           
  Lines         7692     7692           
========================================
  Hits          5590     5590           
  Misses        2102     2102           

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

Comment thread meshroom/ui/graph.py Outdated
When the minimal refresh mode is on, only chunks that are running,
submitted or in error while their execution mode is external should be
polled.

Chunks that have the same status but with a local execution mode will be
correctly updated as their status changes will be notified.

The behaviour for the automatic refresh mode remains the same: all the
chunks are polled, independently from their status and their execution
mode.
@cbentejac cbentejac force-pushed the fix/externalMinFileWatcher branch from e4f34b6 to bae85d6 Compare February 17, 2025 10:34
@yann-lty yann-lty merged commit 317bb65 into develop Feb 17, 2025
@yann-lty yann-lty deleted the fix/externalMinFileWatcher branch February 17, 2025 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants