Skip to content

Conversation

@ZiyueXu77
Copy link
Collaborator

@ZiyueXu77 ZiyueXu77 commented Aug 25, 2025

Fixes QA 5477637 and 5477445.

Description

QA's question on waiting for sufficient device, I think it makes sense to add status printout to inform users and a timeout to limit the waiting time.

Also regarding max_model_history, update to warning for reports that are "too stale", removed redundant check

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • Quick tests passed locally by running ./runtest.sh.
  • In-line docstrings updated.
  • Documentation updated.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@ZiyueXu77 ZiyueXu77 changed the title Add wait for device info and timeout Add wait_for_device info and timeout Aug 25, 2025
Copy link
Collaborator

@YuanTingHsieh YuanTingHsieh left a comment

Choose a reason for hiding this comment

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

suggest changing to use a thread to monitor timeout

@ZiyueXu77
Copy link
Collaborator Author

suggest changing to use a thread to monitor timeout

good point! will add an independent thread to trace the countdown

@ZiyueXu77
Copy link
Collaborator Author

/build

@ZiyueXu77 ZiyueXu77 enabled auto-merge (squash) September 4, 2025 22:00
@ZiyueXu77
Copy link
Collaborator Author

/build

@ZiyueXu77 ZiyueXu77 merged commit a625249 into NVIDIA:main Sep 10, 2025
20 checks passed
@YuanTingHsieh
Copy link
Collaborator

/build

chesterxgchen pushed a commit to chesterxgchen/NVFlare that referenced this pull request Sep 30, 2025
Fixes QA 5477637 and 5477445.

### Description

QA's question on waiting for sufficient device, I think it makes sense
to add status printout to inform users and a timeout to limit the
waiting time.

Also regarding max_model_history, update to warning for reports that are
"too stale", removed redundant check

### Types of changes
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] Non-breaking change (fix or new feature that would not break
existing functionality).
- [ ] Breaking change (fix or new feature that would cause existing
functionality to change).
- [ ] New tests added to cover the changes.
- [ ] Quick tests passed locally by running `./runtest.sh`.
- [ ] In-line docstrings updated.
- [ ] Documentation updated.
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.

2 participants